VirtualBox

source: vbox/trunk/src/recompiler/softmmu_defs.h@ 43138

Last change on this file since 43138 was 36125, checked in by vboxsync, 14 years ago

recompiler: Removing traces of attempts at making the recompiler compile with the microsoft compiler. (untested)

  • Property svn:eol-style set to native
File size: 2.8 KB
Line 
1#ifndef SOFTMMU_DEFS_H
2#define SOFTMMU_DEFS_H
3
4#ifndef VBOX
5uint8_t REGPARM __ldb_mmu(target_ulong addr, int mmu_idx);
6void REGPARM __stb_mmu(target_ulong addr, uint8_t val, int mmu_idx);
7uint16_t REGPARM __ldw_mmu(target_ulong addr, int mmu_idx);
8void REGPARM __stw_mmu(target_ulong addr, uint16_t val, int mmu_idx);
9uint32_t REGPARM __ldl_mmu(target_ulong addr, int mmu_idx);
10void REGPARM __stl_mmu(target_ulong addr, uint32_t val, int mmu_idx);
11uint64_t REGPARM __ldq_mmu(target_ulong addr, int mmu_idx);
12void REGPARM __stq_mmu(target_ulong addr, uint64_t val, int mmu_idx);
13
14uint8_t REGPARM __ldb_cmmu(target_ulong addr, int mmu_idx);
15void REGPARM __stb_cmmu(target_ulong addr, uint8_t val, int mmu_idx);
16uint16_t REGPARM __ldw_cmmu(target_ulong addr, int mmu_idx);
17void REGPARM __stw_cmmu(target_ulong addr, uint16_t val, int mmu_idx);
18uint32_t REGPARM __ldl_cmmu(target_ulong addr, int mmu_idx);
19void REGPARM __stl_cmmu(target_ulong addr, uint32_t val, int mmu_idx);
20uint64_t REGPARM __ldq_cmmu(target_ulong addr, int mmu_idx);
21void REGPARM __stq_cmmu(target_ulong addr, uint64_t val, int mmu_idx);
22#else /* VBOX */
23RTCCUINTREG REGPARM __ldb_mmu(target_ulong addr, int mmu_idx);
24void REGPARM __stb_mmu(target_ulong addr, uint8_t val, int mmu_idx);
25RTCCUINTREG REGPARM __ldw_mmu(target_ulong addr, int mmu_idx);
26void REGPARM __stw_mmu(target_ulong addr, uint16_t val, int mmu_idx);
27RTCCUINTREG REGPARM __ldl_mmu(target_ulong addr, int mmu_idx);
28void REGPARM __stl_mmu(target_ulong addr, uint32_t val, int mmu_idx);
29uint64_t REGPARM __ldq_mmu(target_ulong addr, int mmu_idx);
30void REGPARM __stq_mmu(target_ulong addr, uint64_t val, int mmu_idx);
31
32RTCCUINTREG REGPARM __ldb_cmmu(target_ulong addr, int mmu_idx);
33void REGPARM __stb_cmmu(target_ulong addr, uint8_t val, int mmu_idx);
34RTCCUINTREG REGPARM __ldw_cmmu(target_ulong addr, int mmu_idx);
35void REGPARM __stw_cmmu(target_ulong addr, uint16_t val, int mmu_idx);
36RTCCUINTREG REGPARM __ldl_cmmu(target_ulong addr, int mmu_idx);
37void REGPARM __stl_cmmu(target_ulong addr, uint32_t val, int mmu_idx);
38uint64_t REGPARM __ldq_cmmu(target_ulong addr, int mmu_idx);
39void REGPARM __stq_cmmu(target_ulong addr, uint64_t val, int mmu_idx);
40
41# ifdef REM_PHYS_ADDR_IN_TLB
42RTCCUINTREG REGPARM __ldb_vbox_phys(RTCCUINTREG addr);
43RTCCUINTREG REGPARM __ldub_vbox_phys(RTCCUINTREG addr);
44void REGPARM __stb_vbox_phys(RTCCUINTREG addr, RTCCUINTREG val);
45RTCCUINTREG REGPARM __ldw_vbox_phys(RTCCUINTREG addr);
46RTCCUINTREG REGPARM __lduw_vbox_phys(RTCCUINTREG addr);
47void REGPARM __stw_vbox_phys(RTCCUINTREG addr, RTCCUINTREG val);
48RTCCUINTREG REGPARM __ldl_vbox_phys(RTCCUINTREG addr);
49RTCCUINTREG REGPARM __ldul_vbox_phys(RTCCUINTREG addr);
50void REGPARM __stl_vbox_phys(RTCCUINTREG addr, RTCCUINTREG val);
51uint64_t REGPARM __ldq_vbox_phys(RTCCUINTREG addr);
52void REGPARM __stq_vbox_phys(RTCCUINTREG addr, uint64_t val);
53# endif
54
55#endif /* VBOX */
56
57#endif
Note: See TracBrowser for help on using the repository browser.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette