From 1d6e34fd37ce6b67f3d776328ee05d8848ba81c4 Mon Sep 17 00:00:00 2001 From: bellard Date: Sat, 19 Feb 2005 17:26:37 +0000 Subject: [PATCH] sparc Linux works better with NWINDOWS = 8 git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1301 c046a42c-6fe2-441c-8c8c-71466251a162 --- target-sparc/cpu.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 */