diff options
author | bellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162> | 2005-02-19 17:26:37 +0000 |
---|---|---|
committer | bellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162> | 2005-02-19 17:26:37 +0000 |
commit | 1d6e34fd37ce6b67f3d776328ee05d8848ba81c4 (patch) | |
tree | 4072b5e7540e3a0bc0c0745c0afea916742ce5c3 /target-sparc | |
parent | 2623cbaf1ac9101934c06f9afece04b4b62550d8 (diff) | |
download | hqemu-1d6e34fd37ce6b67f3d776328ee05d8848ba81c4.zip hqemu-1d6e34fd37ce6b67f3d776328ee05d8848ba81c4.tar.gz |
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.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/target-sparc/cpu.h b/target-sparc/cpu.h index f07464d..4170b57 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 */ |