Changeset 98972 in vbox for trunk/include
- Timestamp:
- Mar 15, 2023 9:39:29 AM (21 months ago)
- Location:
- trunk/include/VBox
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/VBox/types.h
r98103 r98972 1190 1190 /** The usual invalid zero entry. */ 1191 1191 CPUMMODE_INVALID = 0, 1192 /** Real mode . */1192 /** Real mode - x86/amd64. */ 1193 1193 CPUMMODE_REAL, 1194 /** Protected mode (32-bit) . */1194 /** Protected mode (32-bit) - x86/amd64. */ 1195 1195 CPUMMODE_PROTECTED, 1196 /** Long mode (64-bit). */ 1197 CPUMMODE_LONG 1196 /** Long mode (64-bit) - x86/amd64. */ 1197 CPUMMODE_LONG, 1198 /** ARMv8 - AARCH64 mode. */ 1199 CPUMMODE_ARMV8_AARCH64, 1200 /** ARMv8 - AARCH32 mode. */ 1201 CPUMMODE_ARMV8_AARCH32, 1202 /** hack forcing the size of the enum to 32-bits. */ 1203 CPUMMODE_32BIT_HACK = 0x7fffffff 1198 1204 } CPUMMODE; 1199 1205 -
trunk/include/VBox/vmm/cpum-x86-amd64.h
r98970 r98972 2989 2989 /** @} */ 2990 2990 2991 VMMDECL(PCPUMCTX) CPUMQueryGuestCtxPtr(PVMCPU pVCpu);2992 2991 #ifdef VBOX_INCLUDED_vmm_cpumctx_h 2993 2992 VMM_INT_DECL(PCPUMCTXMSRS) CPUMQueryGuestCtxMsrsPtr(PVMCPU pVCpu); … … 3040 3039 VMMDECL(bool) CPUMIsHyperDebugStateActive(PVMCPU pVCpu); 3041 3040 VMMDECL(uint32_t) CPUMGetGuestCPL(PVMCPU pVCpu); 3042 VMMDECL(CPUMMODE) CPUMGetGuestMode(PVMCPU pVCpu);3043 3041 VMMDECL(uint32_t) CPUMGetGuestCodeBits(PVMCPU pVCpu); 3044 3042 VMMDECL(DISCPUMODE) CPUMGetGuestDisMode(PVMCPU pVCpu); -
trunk/include/VBox/vmm/cpum.h
r98970 r98972 61 61 #ifndef VBOX_FOR_DTRACE_LIB 62 62 63 VMMDECL(PCPUMCTX) CPUMQueryGuestCtxPtr(PVMCPU pVCpu); 64 VMMDECL(CPUMMODE) CPUMGetGuestMode(PVMCPU pVCpu); 65 63 66 /** @name Guest Register Getters. 64 67 * @{ */ -
trunk/include/VBox/vmm/cpumctx-armv8.h
r98970 r98972 186 186 /** The SP register values are kept externally. */ 187 187 #define CPUMCTX_EXTRN_SP UINT64_C(0x0000000000000020) 188 /** The PSTATE value is kept externally. */ 189 #define CPUMCTX_EXTRN_PSTATE UINT64_C(0x0000000000000040) 190 /** @todo RSVD. */ 191 #define CPUMCTX_EXTRN_RSVD UINT64_C(0x0000000000000080) 188 192 189 193 /** The X0 register value is kept externally. */ 190 #define CPUMCTX_EXTRN_X0 UINT64_C(0x0000000000000 040)191 /** The X 0register value is kept externally. */192 #define CPUMCTX_EXTRN_X1 UINT64_C(0x0000000000000 080)193 /** The X 0register value is kept externally. */194 #define CPUMCTX_EXTRN_X2 UINT64_C(0x0000000000000 100)195 /** The X 0register value is kept externally. */196 #define CPUMCTX_EXTRN_X3 UINT64_C(0x0000000000000 200)194 #define CPUMCTX_EXTRN_X0 UINT64_C(0x0000000000000100) 195 /** The X1 register value is kept externally. */ 196 #define CPUMCTX_EXTRN_X1 UINT64_C(0x0000000000000200) 197 /** The X2 register value is kept externally. */ 198 #define CPUMCTX_EXTRN_X2 UINT64_C(0x0000000000000400) 199 /** The X3 register value is kept externally. */ 200 #define CPUMCTX_EXTRN_X3 UINT64_C(0x0000000000000800) 197 201 /** The LR (X30) register value is kept externally. */ 198 #define CPUMCTX_EXTRN_LR UINT64_C(0x000000000000 0400)202 #define CPUMCTX_EXTRN_LR UINT64_C(0x0000000000001000) 199 203 /** The FP (X29) register value is kept externally. */ 200 #define CPUMCTX_EXTRN_FP UINT64_C(0x000000000000 0800)204 #define CPUMCTX_EXTRN_FP UINT64_C(0x0000000000002000) 201 205 /** The X4 through X28 register values are kept externally. */ 202 #define CPUMCTX_EXTRN_X4_X28 UINT64_C(0x000000000000 1000)206 #define CPUMCTX_EXTRN_X4_X28 UINT64_C(0x0000000000004000) 203 207 /** General purpose registers mask. */ 204 #define CPUMCTX_EXTRN_GPRS_MASK UINT64_C(0x000000000000 1fc0)208 #define CPUMCTX_EXTRN_GPRS_MASK UINT64_C(0x0000000000007f00) 205 209 206 210 /** The NEON SIMD & FP registers V0 through V31 are kept externally. */
Note:
See TracChangeset
for help on using the changeset viewer.