aboutsummaryrefslogtreecommitdiff
path: root/target-sparc
diff options
context:
space:
mode:
authorbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>2005-02-19 17:26:37 +0000
committerbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>2005-02-19 17:26:37 +0000
commit1d6e34fd37ce6b67f3d776328ee05d8848ba81c4 (patch)
tree4072b5e7540e3a0bc0c0745c0afea916742ce5c3 /target-sparc
parent2623cbaf1ac9101934c06f9afece04b4b62550d8 (diff)
sparc Linux works better with NWINDOWS = 8
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1301 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'target-sparc')
-rw-r--r--target-sparc/cpu.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/target-sparc/cpu.h b/target-sparc/cpu.h
index f07464deb9..4170b5733d 100644
--- a/target-sparc/cpu.h
+++ b/target-sparc/cpu.h
@@ -104,7 +104,8 @@
#define PG_MODIFIED_MASK (1 << PG_MODIFIED_BIT)
#define PG_CACHE_MASK (1 << PG_CACHE_BIT)
-#define NWINDOWS 32
+/* 2 <= NWINDOWS <= 32. In QEMU it must also be a power of two. */
+#define NWINDOWS 8
typedef struct CPUSPARCState {
target_ulong gregs[8]; /* general registers */