From: Gabe Black Date: Tue, 28 Aug 2007 01:26:36 +0000 (-0700) Subject: SPARC: Fixes to get SPARC to compile again. X-Git-Tag: m5_2.0_beta4~162 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=25ad253643a4348f72e98094f75163a7a2325e72;p=gem5.git SPARC: Fixes to get SPARC to compile again. --HG-- extra : convert_revision : dab20c49fec9c2d385ca59b9ab627c2d3dddfe76 --- 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 #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