blob: e38bb752f1508032a4fed205e35a8eeda0ba813d [file] [log] [blame]
blueswir179383c92008-08-30 09:51:20 +00001#ifndef SOFTMMU_DEFS_H
2#define SOFTMMU_DEFS_H
3
4uint8_t REGPARM __ldb_mmu(target_ulong addr, int mmu_idx);
5void REGPARM __stb_mmu(target_ulong addr, uint8_t val, int mmu_idx);
6uint16_t REGPARM __ldw_mmu(target_ulong addr, int mmu_idx);
7void REGPARM __stw_mmu(target_ulong addr, uint16_t val, int mmu_idx);
8uint32_t REGPARM __ldl_mmu(target_ulong addr, int mmu_idx);
9void REGPARM __stl_mmu(target_ulong addr, uint32_t val, int mmu_idx);
10uint64_t REGPARM __ldq_mmu(target_ulong addr, int mmu_idx);
11void REGPARM __stq_mmu(target_ulong addr, uint64_t val, int mmu_idx);
12
13uint8_t REGPARM __ldb_cmmu(target_ulong addr, int mmu_idx);
14void REGPARM __stb_cmmu(target_ulong addr, uint8_t val, int mmu_idx);
15uint16_t REGPARM __ldw_cmmu(target_ulong addr, int mmu_idx);
16void REGPARM __stw_cmmu(target_ulong addr, uint16_t val, int mmu_idx);
17uint32_t REGPARM __ldl_cmmu(target_ulong addr, int mmu_idx);
18void REGPARM __stl_cmmu(target_ulong addr, uint32_t val, int mmu_idx);
19uint64_t REGPARM __ldq_cmmu(target_ulong addr, int mmu_idx);
20void REGPARM __stq_cmmu(target_ulong addr, uint64_t val, int mmu_idx);
21
22#endif