summaryrefslogtreecommitdiff
path: root/softmmu_header.h
diff options
context:
space:
mode:
authorIgor V. Kovalenko <igor.v.kovalenko@gmail.com>2010-06-02 00:12:32 +0400
committerBlue Swirl <blauwirbel@gmail.com>2010-06-02 20:04:52 +0000
commitc086b783eb7a578993d6d2ab62c4c2666800b63d (patch)
tree280b21bfffdc9c606b5b64cd7b7a8432909c9564 /softmmu_header.h
parent1295001c53fe816776bae810bed0a653ea0c6475 (diff)
downloadqemu-c086b783eb7a578993d6d2ab62c4c2666800b63d.tar.gz
qemu-c086b783eb7a578993d6d2ab62c4c2666800b63d.tar.bz2
qemu-c086b783eb7a578993d6d2ab62c4c2666800b63d.zip
sparc64: fix 32bit load sign extension
- change return type of ldl_* to uint32_t to prevent unwanted sign extension visible in sparc64 load alternate address space methods - note this change makes ldl_* softmmu implementations match ldl_phys one Signed-off-by: Igor V. Kovalenko <igor.v.kovalenko@gmail.com> Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Diffstat (limited to 'softmmu_header.h')
-rw-r--r--softmmu_header.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/softmmu_header.h b/softmmu_header.h
index 6a36e01dc1..2f95c33409 100644
--- a/softmmu_header.h
+++ b/softmmu_header.h
@@ -60,7 +60,7 @@
#if DATA_SIZE == 8
#define RES_TYPE uint64_t
#else
-#define RES_TYPE int
+#define RES_TYPE uint32_t
#endif
#if ACCESS_TYPE == (NB_MMU_MODES + 1)