From: Gabe Black Date: Wed, 29 Nov 2006 22:59:42 +0000 (-0500) Subject: Fixes to get compilation. X-Git-Tag: m5_2.0_beta3~299 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=36c03001bb325a6a180bbd014036966171f354a4;p=gem5.git Fixes to get compilation. --HG-- extra : convert_revision : cd6b496c4e4b32ce2a639eb9a2b6fbd62dfff2d1 --- 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