OSDN Git Service
(root)
/
qmiga
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
74154d7
)
include/exec: fix softmmu version of TARGET_ABI_FMT_lx
author
Alex Bennée
<alex.bennee@linaro.org>
Tue, 8 Feb 2022 12:43:33 +0000
(12:43 +0000)
committer
Alex Bennée
<alex.bennee@linaro.org>
Wed, 9 Feb 2022 13:29:38 +0000
(13:29 +0000)
TARGET_ABI_FMT_lx isn't available for softmmu which causes confusion
when trying to print. As abi_ptr == target_ulong use its format string
instead.
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
include/exec/cpu_ldst.h
patch
|
blob
|
history
diff --git
a/include/exec/cpu_ldst.h
b/include/exec/cpu_ldst.h
index
a878fd0
..
da987fe
100644
(file)
--- a/
include/exec/cpu_ldst.h
+++ b/
include/exec/cpu_ldst.h
@@
-121,7
+121,7
@@
static inline bool guest_range_valid_untagged(abi_ulong start, abi_ulong len)
})
#else
typedef target_ulong abi_ptr;
-#define TARGET_ABI_FMT_ptr TARGET_
ABI_
FMT_lx
+#define TARGET_ABI_FMT_ptr TARGET_FMT_lx
#endif
uint32_t cpu_ldub_data(CPUArchState *env, abi_ptr ptr);