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/cpu.h | |
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/cpu.h')
-rw-r--r-- | target-i386/cpu.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/target-i386/cpu.h b/target-i386/cpu.h index b6d5e8390f..f33be16ad1 100644 --- a/target-i386/cpu.h +++ b/target-i386/cpu.h @@ -1149,4 +1149,14 @@ void cpu_stw_data(CPUX86State *env, target_ulong ptr, uint32_t data); void cpu_stl_data(CPUX86State *env, target_ulong ptr, uint32_t data); void cpu_stq_data(CPUX86State *env, target_ulong ptr, uint64_t data); +uint32_t cpu_ldub_kernel(CPUX86State *env, target_ulong ptr); +uint32_t cpu_lduw_kernel(CPUX86State *env, target_ulong ptr); +uint32_t cpu_ldl_kernel(CPUX86State *env, target_ulong ptr); +uint64_t cpu_ldq_kernel(CPUX86State *env, target_ulong ptr); + +void cpu_stb_kernel(CPUX86State *env, target_ulong ptr, uint32_t data); +void cpu_stw_kernel(CPUX86State *env, target_ulong ptr, uint32_t data); +void cpu_stl_kernel(CPUX86State *env, target_ulong ptr, uint32_t data); +void cpu_stq_kernel(CPUX86State *env, target_ulong ptr, uint64_t data); + #endif /* CPU_I386_H */ |