Fix Sparse warning
[qemu-kvm/fedora.git] / softmmu_defs.h
blobe38bb752f1508032a4fed205e35a8eeda0ba813d
1 #ifndef SOFTMMU_DEFS_H
2 #define SOFTMMU_DEFS_H
4 uint8_t REGPARM __ldb_mmu(target_ulong addr, int mmu_idx);
5 void REGPARM __stb_mmu(target_ulong addr, uint8_t val, int mmu_idx);
6 uint16_t REGPARM __ldw_mmu(target_ulong addr, int mmu_idx);
7 void REGPARM __stw_mmu(target_ulong addr, uint16_t val, int mmu_idx);
8 uint32_t REGPARM __ldl_mmu(target_ulong addr, int mmu_idx);
9 void REGPARM __stl_mmu(target_ulong addr, uint32_t val, int mmu_idx);
10 uint64_t REGPARM __ldq_mmu(target_ulong addr, int mmu_idx);
11 void REGPARM __stq_mmu(target_ulong addr, uint64_t val, int mmu_idx);
13 uint8_t REGPARM __ldb_cmmu(target_ulong addr, int mmu_idx);
14 void REGPARM __stb_cmmu(target_ulong addr, uint8_t val, int mmu_idx);
15 uint16_t REGPARM __ldw_cmmu(target_ulong addr, int mmu_idx);
16 void REGPARM __stw_cmmu(target_ulong addr, uint16_t val, int mmu_idx);
17 uint32_t REGPARM __ldl_cmmu(target_ulong addr, int mmu_idx);
18 void REGPARM __stl_cmmu(target_ulong addr, uint32_t val, int mmu_idx);
19 uint64_t REGPARM __ldq_cmmu(target_ulong addr, int mmu_idx);
20 void REGPARM __stq_cmmu(target_ulong addr, uint64_t val, int mmu_idx);
22 #endif