Commit 8948b5d6136eb0d338a71f94f5d607dd353c421d
1 parent
50863472
fixed ldq() macros
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@427 c046a42c-6fe2-441c-8c8c-71466251a162
Showing
1 changed file
with
1 additions
and
1 deletions
softmmu_header.h
@@ -74,7 +74,7 @@ DATA_TYPE REGPARM(1) glue(glue(__ld, SUFFIX), MMUSUFFIX)(unsigned long addr, | @@ -74,7 +74,7 @@ DATA_TYPE REGPARM(1) glue(glue(__ld, SUFFIX), MMUSUFFIX)(unsigned long addr, | ||
74 | int is_user); | 74 | int is_user); |
75 | void REGPARM(2) glue(glue(__st, SUFFIX), MMUSUFFIX)(unsigned long addr, DATA_TYPE v, int is_user); | 75 | void REGPARM(2) glue(glue(__st, SUFFIX), MMUSUFFIX)(unsigned long addr, DATA_TYPE v, int is_user); |
76 | 76 | ||
77 | -static inline int glue(glue(ld, USUFFIX), MEMSUFFIX)(void *ptr) | 77 | +static inline RES_TYPE glue(glue(ld, USUFFIX), MEMSUFFIX)(void *ptr) |
78 | { | 78 | { |
79 | int index; | 79 | int index; |
80 | RES_TYPE res; | 80 | RES_TYPE res; |