diff options
author | Gabe Black <gblack@eecs.umich.edu> | 2007-08-27 18:26:36 -0700 |
---|---|---|
committer | Gabe Black <gblack@eecs.umich.edu> | 2007-08-27 18:26:36 -0700 |
commit | 25ad253643a4348f72e98094f75163a7a2325e72 (patch) | |
tree | 4bec9bee3a2e8248c54da1ab59dfff6eaeb17e9b /src/arch | |
parent | 7227ab5f223eb5f4d3ce80ea16bff5f87c3300b6 (diff) | |
download | gem5-25ad253643a4348f72e98094f75163a7a2325e72.tar.xz |
SPARC: Fixes to get SPARC to compile again.
--HG--
extra : convert_revision : dab20c49fec9c2d385ca59b9ab627c2d3dddfe76
Diffstat (limited to 'src/arch')
-rw-r--r-- | src/arch/sparc/pagetable.hh | 5 | ||||
-rw-r--r-- | src/arch/sparc/types.hh | 3 |
2 files changed, 5 insertions, 3 deletions
diff --git a/src/arch/sparc/pagetable.hh b/src/arch/sparc/pagetable.hh index 980225052..961870579 100644 --- a/src/arch/sparc/pagetable.hh +++ b/src/arch/sparc/pagetable.hh @@ -190,6 +190,11 @@ struct TlbRange { struct TlbEntry { + Addr pageStart; + TlbEntry() + {} + TlbEntry(Addr addr) : pageStart(addr) + {} TlbRange range; PageTableEntry pte; bool used; diff --git a/src/arch/sparc/types.hh b/src/arch/sparc/types.hh index 5c4c1afc2..8bd50b7e8 100644 --- a/src/arch/sparc/types.hh +++ b/src/arch/sparc/types.hh @@ -33,7 +33,6 @@ #include <inttypes.h> #include "base/bigint.hh" -#include "mem/page_table.hh" namespace SparcISA { @@ -61,8 +60,6 @@ namespace SparcISA typedef int RegContextVal; typedef uint16_t RegIndex; - - typedef ::PageTable<> PageTable; } #endif |