aio: provide platform-independent API
[qemu/ar7.git] / softmmu_defs.h
blob1f25e33ce40eb94266ae641a7a8f9bf21cadf3d7
1 /*
2 * Software MMU support
4 * Declare helpers used by TCG for qemu_ld/st ops.
6 * Used by softmmu_exec.h, TCG targets and exec-all.h.
8 */
9 #ifndef SOFTMMU_DEFS_H
10 #define SOFTMMU_DEFS_H
12 uint8_t helper_ldb_mmu(CPUArchState *env, target_ulong addr, int mmu_idx);
13 void helper_stb_mmu(CPUArchState *env, target_ulong addr, uint8_t val,
14 int mmu_idx);
15 uint16_t helper_ldw_mmu(CPUArchState *env, target_ulong addr, int mmu_idx);
16 void helper_stw_mmu(CPUArchState *env, target_ulong addr, uint16_t val,
17 int mmu_idx);
18 uint32_t helper_ldl_mmu(CPUArchState *env, target_ulong addr, int mmu_idx);
19 void helper_stl_mmu(CPUArchState *env, target_ulong addr, uint32_t val,
20 int mmu_idx);
21 uint64_t helper_ldq_mmu(CPUArchState *env, target_ulong addr, int mmu_idx);
22 void helper_stq_mmu(CPUArchState *env, target_ulong addr, uint64_t val,
23 int mmu_idx);
25 uint8_t helper_ldb_cmmu(CPUArchState *env, target_ulong addr, int mmu_idx);
26 void helper_stb_cmmu(CPUArchState *env, target_ulong addr, uint8_t val,
27 int mmu_idx);
28 uint16_t helper_ldw_cmmu(CPUArchState *env, target_ulong addr, int mmu_idx);
29 void helper_stw_cmmu(CPUArchState *env, target_ulong addr, uint16_t val,
30 int mmu_idx);
31 uint32_t helper_ldl_cmmu(CPUArchState *env, target_ulong addr, int mmu_idx);
32 void helper_stl_cmmu(CPUArchState *env, target_ulong addr, uint32_t val,
33 int mmu_idx);
34 uint64_t helper_ldq_cmmu(CPUArchState *env, target_ulong addr, int mmu_idx);
35 void helper_stq_cmmu(CPUArchState *env, target_ulong addr, uint64_t val,
36 int mmu_idx);
37 #endif