summaryrefslogtreecommitdiff
path: root/arch/sparc/regfile.hh
diff options
context:
space:
mode:
authorGabe Black <gblack@eecs.umich.edu>2006-04-18 09:44:45 -0400
committerGabe Black <gblack@eecs.umich.edu>2006-04-18 09:44:45 -0400
commitcae6b571d63b38c3177f5b47891021ba69386453 (patch)
tree6039a7ce3381b6c5448fc127bdb7b063ae52115e /arch/sparc/regfile.hh
parent0534e355b77497a1272f6078edae1692d87a15cf (diff)
parent609c4ecea618c6406e50432e38882925db7b7ede (diff)
downloadgem5-cae6b571d63b38c3177f5b47891021ba69386453.tar.xz
Merge m5.eecs.umich.edu:/bk/newmem
into ewok.(none):/home/gblack/m5/newmem --HG-- extra : convert_revision : 3eb97976caf57e43119a998c31128ca6f163c05b
Diffstat (limited to 'arch/sparc/regfile.hh')
-rw-r--r--arch/sparc/regfile.hh6
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/sparc/regfile.hh b/arch/sparc/regfile.hh
index 566cd1d1f..744d51771 100644
--- a/arch/sparc/regfile.hh
+++ b/arch/sparc/regfile.hh
@@ -45,7 +45,7 @@ namespace SparcISA
const int MaxTL = 4;
// NWINDOWS - number of register windows, can be 3 to 32
- const int NWindows = 6;
+ const int NWindows = 32;
class IntRegFile
{
@@ -581,7 +581,7 @@ namespace SparcISA
tickFields.npt = 1; //The TICK register is unreadable by
//non-priveleged software
#else
- //This sets up the initial state of the processor for usermode processes
+/* //This sets up the initial state of the processor for usermode processes
pstateFields.priv = 0; //Process runs in user mode
pstateFields.ie = 1; //Interrupts are enabled
fsrFields.rd = 0; //Round to nearest
@@ -595,7 +595,7 @@ namespace SparcISA
otherwin = 0; //No windows contain info from other programs
canrestore = 0; //There are no windows to pop
cansave = MaxTL - 2; //All windows are available to save into
- cleanwin = MaxTL;
+ cleanwin = MaxTL;*/
#endif
}