VirtualBox

source: vbox/trunk/src/recompiler_new/softmmu_defs.h@ 15034

最後變更 在這個檔案從15034是 15034,由 vboxsync 提交於 16 年 前

new_recompiler: force promoution on helpers invoked from generated code, removed old GCC junk

檔案大小: 2.1 KB
 
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
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#endif
41
42#endif
注意: 瀏覽 TracBrowser 來幫助您使用儲存庫瀏覽器

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