diff options
author | Blue Swirl <blauwirbel@gmail.com> | 2012-04-29 19:11:01 +0000 |
---|---|---|
committer | Blue Swirl <blauwirbel@gmail.com> | 2012-08-14 19:01:25 +0000 |
commit | 329e607d8efc77553b1bbf5059045301e50c32c8 (patch) | |
tree | 47313449a127fb13db51f395cef54c77fc4be9b4 /target-i386/mem_helper.c | |
parent | 608badfc660b1c4d20e67a64b639c7bcd2d5ba16 (diff) |
x86: use wrappers for memory access helpers
Switch to wrapped versions of memory access functions.
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Diffstat (limited to 'target-i386/mem_helper.c')
-rw-r--r-- | target-i386/mem_helper.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/target-i386/mem_helper.c b/target-i386/mem_helper.c index 30c3bd0ef2..3dd4406afd 100644 --- a/target-i386/mem_helper.c +++ b/target-i386/mem_helper.c @@ -190,6 +190,11 @@ WRAP_LD(uint32_t, ldub_data) WRAP_LD(uint32_t, lduw_data) WRAP_LD(uint32_t, ldl_data) WRAP_LD(uint64_t, ldq_data) + +WRAP_LD(uint32_t, ldub_kernel) +WRAP_LD(uint32_t, lduw_kernel) +WRAP_LD(uint32_t, ldl_kernel) +WRAP_LD(uint64_t, ldq_kernel) #undef WRAP_LD #define WRAP_ST(datatype, fn) \ @@ -207,4 +212,9 @@ WRAP_ST(uint32_t, stb_data) WRAP_ST(uint32_t, stw_data) WRAP_ST(uint32_t, stl_data) WRAP_ST(uint64_t, stq_data) + +WRAP_ST(uint32_t, stb_kernel) +WRAP_ST(uint32_t, stw_kernel) +WRAP_ST(uint32_t, stl_kernel) +WRAP_ST(uint64_t, stq_kernel) #undef WRAP_ST |