PPC: Enable doorbell excp handlers
[qemu.git] / softmmu_defs.h
1 /*
2 * Software MMU support
3 *
4 * Declare helpers used by TCG for qemu_ld/st ops.
5 *
6 * Used by softmmu_exec.h, TCG targets and exec-all.h.
7 *
8 */
9 #ifndef SOFTMMU_DEFS_H
10 #define SOFTMMU_DEFS_H
11
12 uint8_t REGPARM __ldb_mmu(target_ulong addr, int mmu_idx);
13 void REGPARM __stb_mmu(target_ulong addr, uint8_t val, int mmu_idx);
14 uint16_t REGPARM __ldw_mmu(target_ulong addr, int mmu_idx);
15 void REGPARM __stw_mmu(target_ulong addr, uint16_t val, int mmu_idx);
16 uint32_t REGPARM __ldl_mmu(target_ulong addr, int mmu_idx);
17 void REGPARM __stl_mmu(target_ulong addr, uint32_t val, int mmu_idx);
18 uint64_t REGPARM __ldq_mmu(target_ulong addr, int mmu_idx);
19 void REGPARM __stq_mmu(target_ulong addr, uint64_t val, int mmu_idx);
20
21 uint8_t REGPARM __ldb_cmmu(target_ulong addr, int mmu_idx);
22 void REGPARM __stb_cmmu(target_ulong addr, uint8_t val, int mmu_idx);
23 uint16_t REGPARM __ldw_cmmu(target_ulong addr, int mmu_idx);
24 void REGPARM __stw_cmmu(target_ulong addr, uint16_t val, int mmu_idx);
25 uint32_t REGPARM __ldl_cmmu(target_ulong addr, int mmu_idx);
26 void REGPARM __stl_cmmu(target_ulong addr, uint32_t val, int mmu_idx);
27 uint64_t REGPARM __ldq_cmmu(target_ulong addr, int mmu_idx);
28 void REGPARM __stq_cmmu(target_ulong addr, uint64_t val, int mmu_idx);
29
30 #endif