aboutsummaryrefslogtreecommitdiff
path: root/cpu-all.h
diff options
context:
space:
mode:
authorbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>2003-10-28 00:09:28 +0000
committerbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>2003-10-28 00:09:28 +0000
commit9f05cc34df6ea0cdd9183e8405792aa09ddac7d3 (patch)
treef3a9ad9c93d71da4d8ff336af2477a87b816dd04 /cpu-all.h
parent285dc330bd28aa0e097106875bb184e2707bbed5 (diff)
fixed big endian ops
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@418 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'cpu-all.h')
-rw-r--r--cpu-all.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/cpu-all.h b/cpu-all.h
index c91813fbad..c7491a00cf 100644
--- a/cpu-all.h
+++ b/cpu-all.h
@@ -212,8 +212,8 @@ static inline int ldl_raw(void *ptr)
static inline uint64_t ldq_raw(void *ptr)
{
uint32_t a,b;
- a = ldl (ptr);
- b = ldl (ptr+4);
+ a = ldl_raw(ptr);
+ b = ldl_raw(ptr+4);
return (((uint64_t)a<<32)|b);
}
@@ -235,8 +235,8 @@ static inline void stl_raw(void *ptr, int v)
static inline void stq_raw(void *ptr, uint64_t v)
{
- stl (ptr, v);
- stl (ptr+4, v >> 32);
+ stl_raw(ptr, v);
+ stl_raw(ptr+4, v >> 32);
}
#else