summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGabe Black <gblack@eecs.umich.edu>2006-11-29 17:59:42 -0500
committerGabe Black <gblack@eecs.umich.edu>2006-11-29 17:59:42 -0500
commit36c03001bb325a6a180bbd014036966171f354a4 (patch)
treea7fdfef1b18148ed100640563a935b82d3d60753 /src
parent5bdf4400b223056d296ae27f4a7ee2f707a4d1bd (diff)
downloadgem5-36c03001bb325a6a180bbd014036966171f354a4.tar.xz
Fixes to get compilation.
--HG-- extra : convert_revision : cd6b496c4e4b32ce2a639eb9a2b6fbd62dfff2d1
Diffstat (limited to 'src')
-rw-r--r--src/arch/sparc/isa_traits.hh3
-rw-r--r--src/arch/sparc/miscregfile.hh2
-rw-r--r--src/arch/sparc/pagetable.hh3
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