diff options
Diffstat (limited to 'src/arch/sparc')
-rw-r--r-- | src/arch/sparc/isa_traits.hh | 3 | ||||
-rw-r--r-- | src/arch/sparc/miscregfile.hh | 2 | ||||
-rw-r--r-- | src/arch/sparc/pagetable.hh | 3 |
3 files changed, 7 insertions, 1 deletions
diff --git a/src/arch/sparc/isa_traits.hh b/src/arch/sparc/isa_traits.hh index 2bd7ccf3b..3f0b9cad5 100644 --- a/src/arch/sparc/isa_traits.hh +++ b/src/arch/sparc/isa_traits.hh @@ -35,6 +35,7 @@ #include "arch/sparc/types.hh" #include "arch/sparc/sparc_traits.hh" #include "config/full_system.hh" +#include "sim/host.hh" class StaticInstPtr; @@ -44,6 +45,8 @@ namespace SparcISA { class RegFile; + const int MachineBytes = 8; + //This makes sure the big endian versions of certain functions are used. using namespace BigEndianGuest; diff --git a/src/arch/sparc/miscregfile.hh b/src/arch/sparc/miscregfile.hh index 90d7229e0..e7779d333 100644 --- a/src/arch/sparc/miscregfile.hh +++ b/src/arch/sparc/miscregfile.hh @@ -125,7 +125,7 @@ namespace SparcISA MISCREG_SCRATCHPAD_R4, MISCREG_SCRATCHPAD_R5, MISCREG_SCRATCHPAD_R6, - MISCREG_SCRATCHPAD_R7 + MISCREG_SCRATCHPAD_R7, MISCREG_NUMMISCREGS }; diff --git a/src/arch/sparc/pagetable.hh b/src/arch/sparc/pagetable.hh index 21dbad0a3..2e27258a4 100644 --- a/src/arch/sparc/pagetable.hh +++ b/src/arch/sparc/pagetable.hh @@ -32,8 +32,11 @@ #define __ARCH_SPARC_PAGETABLE_HH__ #include "arch/sparc/isa_traits.hh" +#include "base/misc.hh" #include "config/full_system.hh" +class Checkpoint; + namespace SparcISA { struct VAddr |