Fixes to get compilation.

--HG--
extra : convert_revision : cd6b496c4e4b32ce2a639eb9a2b6fbd62dfff2d1
This commit is contained in:
Gabe Black 2006-11-29 17:59:42 -05:00
parent 5bdf4400b2
commit 36c03001bb
3 changed files with 7 additions and 1 deletions

View file

@ -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;

View file

@ -125,7 +125,7 @@ namespace SparcISA
MISCREG_SCRATCHPAD_R4,
MISCREG_SCRATCHPAD_R5,
MISCREG_SCRATCHPAD_R6,
MISCREG_SCRATCHPAD_R7
MISCREG_SCRATCHPAD_R7,
MISCREG_NUMMISCREGS
};

View file

@ -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