1 | #ifndef SOFTMMU_DEFS_H
|
---|
2 | #define SOFTMMU_DEFS_H
|
---|
3 |
|
---|
4 | #ifndef VBOX
|
---|
5 | uint8_t REGPARM __ldb_mmu(target_ulong addr, int mmu_idx);
|
---|
6 | void REGPARM __stb_mmu(target_ulong addr, uint8_t val, int mmu_idx);
|
---|
7 | uint16_t REGPARM __ldw_mmu(target_ulong addr, int mmu_idx);
|
---|
8 | void REGPARM __stw_mmu(target_ulong addr, uint16_t val, int mmu_idx);
|
---|
9 | uint32_t REGPARM __ldl_mmu(target_ulong addr, int mmu_idx);
|
---|
10 | void REGPARM __stl_mmu(target_ulong addr, uint32_t val, int mmu_idx);
|
---|
11 | uint64_t REGPARM __ldq_mmu(target_ulong addr, int mmu_idx);
|
---|
12 | void REGPARM __stq_mmu(target_ulong addr, uint64_t val, int mmu_idx);
|
---|
13 |
|
---|
14 | uint8_t REGPARM __ldb_cmmu(target_ulong addr, int mmu_idx);
|
---|
15 | void REGPARM __stb_cmmu(target_ulong addr, uint8_t val, int mmu_idx);
|
---|
16 | uint16_t REGPARM __ldw_cmmu(target_ulong addr, int mmu_idx);
|
---|
17 | void REGPARM __stw_cmmu(target_ulong addr, uint16_t val, int mmu_idx);
|
---|
18 | uint32_t REGPARM __ldl_cmmu(target_ulong addr, int mmu_idx);
|
---|
19 | void REGPARM __stl_cmmu(target_ulong addr, uint32_t val, int mmu_idx);
|
---|
20 | uint64_t REGPARM __ldq_cmmu(target_ulong addr, int mmu_idx);
|
---|
21 | void REGPARM __stq_cmmu(target_ulong addr, uint64_t val, int mmu_idx);
|
---|
22 | #else
|
---|
23 | RTCCUINTREG REGPARM __ldb_mmu(target_ulong addr, int mmu_idx);
|
---|
24 | void REGPARM __stb_mmu(target_ulong addr, uint8_t val, int mmu_idx);
|
---|
25 | RTCCUINTREG REGPARM __ldw_mmu(target_ulong addr, int mmu_idx);
|
---|
26 | void REGPARM __stw_mmu(target_ulong addr, uint16_t val, int mmu_idx);
|
---|
27 | RTCCUINTREG REGPARM __ldl_mmu(target_ulong addr, int mmu_idx);
|
---|
28 | void REGPARM __stl_mmu(target_ulong addr, uint32_t val, int mmu_idx);
|
---|
29 | uint64_t REGPARM __ldq_mmu(target_ulong addr, int mmu_idx);
|
---|
30 | void REGPARM __stq_mmu(target_ulong addr, uint64_t val, int mmu_idx);
|
---|
31 |
|
---|
32 | RTCCUINTREG REGPARM __ldb_cmmu(target_ulong addr, int mmu_idx);
|
---|
33 | void REGPARM __stb_cmmu(target_ulong addr, uint8_t val, int mmu_idx);
|
---|
34 | RTCCUINTREG REGPARM __ldw_cmmu(target_ulong addr, int mmu_idx);
|
---|
35 | void REGPARM __stw_cmmu(target_ulong addr, uint16_t val, int mmu_idx);
|
---|
36 | RTCCUINTREG REGPARM __ldl_cmmu(target_ulong addr, int mmu_idx);
|
---|
37 | void REGPARM __stl_cmmu(target_ulong addr, uint32_t val, int mmu_idx);
|
---|
38 | uint64_t REGPARM __ldq_cmmu(target_ulong addr, int mmu_idx);
|
---|
39 | void REGPARM __stq_cmmu(target_ulong addr, uint64_t val, int mmu_idx);
|
---|
40 | #endif
|
---|
41 |
|
---|
42 | #endif
|
---|