From: Gabe Black Date: Mon, 29 May 2006 03:50:23 +0000 (-0400) Subject: Moved the Bit64 constant out of the regfile.hh into isa_traits.cc, which is the only... X-Git-Tag: m5_2.0_beta1~66^2~5 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=5cc0306691e3d0dc65b55b9426f55e1a8a93a970;p=gem5.git Moved the Bit64 constant out of the regfile.hh into isa_traits.cc, which is the only place it was used. --HG-- extra : convert_revision : 0a9bb7134f7a7f981ea40294e0877ce46d7d693e --- diff --git a/src/arch/sparc/regfile.hh b/src/arch/sparc/regfile.hh index 4dfdc0cf3..e8397364e 100644 --- a/src/arch/sparc/regfile.hh +++ b/src/arch/sparc/regfile.hh @@ -51,15 +51,11 @@ namespace SparcISA // NWINDOWS - number of register windows, can be 3 to 32 const int NWindows = 32; - const int AsrStart = 0; const int PrStart = 32; const int HprStart = 64; const int MiscStart = 96; - - const uint64_t Bit64 = 0x8000000000000000; - class IntRegFile { protected: @@ -603,8 +599,6 @@ namespace SparcISA hpstateFields.red = 1; hpstateFields.hpriv = 1; hpstateFields.tlz = 0; // this is a guess - - #else /* //This sets up the initial state of the processor for usermode processes pstateFields.priv = 0; //Process runs in user mode