Commit 1d6e34fd37ce6b67f3d776328ee05d8848ba81c4
1 parent
2623cbaf
sparc Linux works better with NWINDOWS = 8
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1301 c046a42c-6fe2-441c-8c8c-71466251a162
Showing
1 changed file
with
2 additions
and
1 deletions
target-sparc/cpu.h
... | ... | @@ -104,7 +104,8 @@ |
104 | 104 | #define PG_MODIFIED_MASK (1 << PG_MODIFIED_BIT) |
105 | 105 | #define PG_CACHE_MASK (1 << PG_CACHE_BIT) |
106 | 106 | |
107 | -#define NWINDOWS 32 | |
107 | +/* 2 <= NWINDOWS <= 32. In QEMU it must also be a power of two. */ | |
108 | +#define NWINDOWS 8 | |
108 | 109 | |
109 | 110 | typedef struct CPUSPARCState { |
110 | 111 | target_ulong gregs[8]; /* general registers */ | ... | ... |