aboutsummaryrefslogtreecommitdiff
path: root/target-sparc
diff options
context:
space:
mode:
authorIgor V. Kovalenko <igor.v.kovalenko@gmail.com>2010-05-16 04:11:29 +0400
committerBlue Swirl <blauwirbel@gmail.com>2010-05-16 07:54:48 +0000
commit88c8e03f5ddca8c8448dbb99d9de07d87b03ddd6 (patch)
tree05180a61175ff205f1eb4ae4f5a23565fea5c649 /target-sparc
parent170f4c550f472d4854bb0155605d4459a31ce3f4 (diff)
downloadqemu-88c8e03f5ddca8c8448dbb99d9de07d87b03ddd6.zip
qemu-88c8e03f5ddca8c8448dbb99d9de07d87b03ddd6.tar.gz
qemu-88c8e03f5ddca8c8448dbb99d9de07d87b03ddd6.tar.bz2
sparc64: fix TT_WOTHER value
- fix off by one error in spill trap number bit for other window (must be bit 5) - fixes invalid instruction issue with HelenOS Signed-off-by: Igor V. Kovalenko <igor.v.kovalenko@gmail.com> Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Diffstat (limited to 'target-sparc')
-rw-r--r--target-sparc/cpu.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/target-sparc/cpu.h b/target-sparc/cpu.h
index 22f3ad0..27b020b 100644
--- a/target-sparc/cpu.h
+++ b/target-sparc/cpu.h
@@ -79,7 +79,7 @@
#define TT_DPROT 0x6c
#define TT_SPILL 0x80
#define TT_FILL 0xc0
-#define TT_WOTHER 0x10
+#define TT_WOTHER (1 << 5)
#define TT_TRAP 0x100
#endif