diff options
author | bellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162> | 2003-10-28 00:09:28 +0000 |
---|---|---|
committer | bellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162> | 2003-10-28 00:09:28 +0000 |
commit | 9f05cc34df6ea0cdd9183e8405792aa09ddac7d3 (patch) | |
tree | f3a9ad9c93d71da4d8ff336af2477a87b816dd04 /cpu-all.h | |
parent | 285dc330bd28aa0e097106875bb184e2707bbed5 (diff) | |
download | hqemu-9f05cc34df6ea0cdd9183e8405792aa09ddac7d3.zip hqemu-9f05cc34df6ea0cdd9183e8405792aa09ddac7d3.tar.gz |
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.h | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -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 |