/vbox/src/VBox/VMM/VMMR0/ |
H A D | CPUMR0UnusedA.asm | 50 ; @param pCtx x86:[esp+4] gcc:rdi msc:rcx CPUMCTX pointer 73 fxrstor [xDX + CPUMCTX.fpu] 82 fxrstor [rdx + CPUMCTX.fpu] 94 ; @param pCtx x86:[esp+4] gcc:rdi msc:rcx CPUMCTX pointer 116 fxsave [xDX + CPUMCTX.fpu] 125 fxsave [rdx + CPUMCTX.fpu] 137 ; @param pCtx x86:[esp+4] gcc:rdi msc:rcx CPUMCTX pointer 160 movdqa xmm0, [xDX + CPUMCTX.fpu + X86FXSTATE.aXMM + 16*0] 161 movdqa xmm1, [xDX + CPUMCTX.fpu + X86FXSTATE.aXMM + 16*1] 162 movdqa xmm2, [xDX + CPUMCTX [all...] |
H A D | HMR0A.asm | 1189 mov r10, [r10 + CPUMCTX.pXStateR0] 1219 mov r10, [r10 + CPUMCTX.pXStateR0] 1317 mov r10, [r10 + CPUMCTX.pXStateR0] 1347 mov r10, [r10 + CPUMCTX.pXStateR0]
|
/vbox/src/VBox/VMM/VMMR3/ |
H A D | CPUM.cpp | 113 /** Saved state field descriptors for CPUMCTX. */ 155 /** Saved state field descriptors for CPUMCTX. */ 158 SSMFIELD_ENTRY( CPUMCTX, rdi), 159 SSMFIELD_ENTRY( CPUMCTX, rsi), 160 SSMFIELD_ENTRY( CPUMCTX, rbp), 161 SSMFIELD_ENTRY( CPUMCTX, rax), 162 SSMFIELD_ENTRY( CPUMCTX, rbx), 163 SSMFIELD_ENTRY( CPUMCTX, rdx), 164 SSMFIELD_ENTRY( CPUMCTX, rcx), 165 SSMFIELD_ENTRY( CPUMCTX, rs [all...] |
H A D | PATMSSM.cpp | 1129 && uFixup < patmInfo.pCPUMCtxGC + sizeof(CPUMCTX)) 1131 LogFlow(("Changing absolute CPUMCTX at %RRv from %RRv to %RRv\n", patmInfo.pPatchMemGC + offset, uFixup, (uFixup - patmInfo.pCPUMCtxGC) + pVM->patm.s.pCPUMCtxGC)); 1133 /* The CPUMCTX structure has completely changed, so correct the offsets too. */ 1143 LogFlow(("Changing dr[0] offset from %x to %x\n", offCpumCtx, RT_OFFSETOF(CPUMCTX, dr[0]))); 1144 *pFixup = pVM->patm.s.pCPUMCtxGC + RT_OFFSETOF(CPUMCTX, dr[0]); 1148 LogFlow(("Changing dr[1] offset from %x to %x\n", offCpumCtx, RT_OFFSETOF(CPUMCTX, dr[1]))); 1149 *pFixup = pVM->patm.s.pCPUMCtxGC + RT_OFFSETOF(CPUMCTX, dr[1]); 1153 LogFlow(("Changing dr[2] offset from %x to %x\n", offCpumCtx, RT_OFFSETOF(CPUMCTX, dr[2]))); 1154 *pFixup = pVM->patm.s.pCPUMCtxGC + RT_OFFSETOF(CPUMCTX, dr[2]); 1158 LogFlow(("Changing dr[3] offset from %x to %x\n", offCpumCtx, RT_OFFSETOF(CPUMCTX, d [all...] |
H A D | PATMPatch.cpp | 1230 offset = RT_OFFSETOF(CPUMCTX, dr[dbgreg]); 1282 offset = RT_OFFSETOF(CPUMCTX, cr0); 1285 offset = RT_OFFSETOF(CPUMCTX, cr2); 1288 offset = RT_OFFSETOF(CPUMCTX, cr3); 1291 offset = RT_OFFSETOF(CPUMCTX, cr4); 1374 // 8B 15 [32 bits addr] mov edx, CPUMCTX.tr/ldtr 1379 pPB[offset++] = 0x8B; // mov destreg, CPUMCTX.tr/ldtr 1384 *(RTRCPTR *)&pPB[offset] = pVM->patm.s.pCPUMCtxGC + RT_OFFSETOF(CPUMCTX, tr); 1388 *(RTRCPTR *)&pPB[offset] = pVM->patm.s.pCPUMCtxGC + RT_OFFSETOF(CPUMCTX, ldtr); 1399 //66 A1 48 7C 42 00 mov ax, CPUMCTX [all...] |
H A D | DBGFCoreWrite.cpp | 347 uint64_t const cbCpuDumps = pVM->cCpus * Elf64NoteSectionSize(s_pcszCoreVBoxCpu, sizeof(CPUMCTX)); 431 * dumping CPUMCTX and bump the core file version number. */ 436 rc = Elf64WriteNoteHdr(hFile, NT_VBOXCPU, s_pcszCoreVBoxCpu, pCpuCtx, sizeof(CPUMCTX));
|
/vbox/src/VBox/VMM/ |
H A D | VBoxVMM.d | 26 probe em__raw__run__pre(struct VMCPU *a_pVCpu, struct CPUMCTX *a_pCtx); 29 probe em__raw__run__ret(struct VMCPU *a_pVCpu, struct CPUMCTX *a_pCtx, int a_rc); 54 probe r0__hmsvm__vmexit(struct VMCPU *a_pVCpu, struct CPUMCTX *a_pCtx, uint64_t a_ExitCode, struct SVMVMCB *a_pVmcb); 55 probe r0__hmvmx__vmexit(struct VMCPU *a_pVCpu, struct CPUMCTX *a_pCtx, uint64_t a_ExitReason, uint64_t a_ExitQualification); 56 probe r0__hmvmx__vmexit__noctx(struct VMCPU *a_pVCpu, struct CPUMCTX *a_pIncompleteCtx, uint64_t a_ExitReason); 58 probe r0__vmm__return__to__ring3__rc(struct VMCPU *a_pVCpu, struct CPUMCTX *p_Ctx, int a_rc); 59 probe r0__vmm__return__to__ring3__hm(struct VMCPU *a_pVCpu, struct CPUMCTX *p_Ctx, int a_rc);
|
/vbox/src/VBox/VMM/testcase/ |
H A D | tstVMStruct.h | 132 GEN_CHECK_SIZE(CPUMCTX); variable 133 GEN_CHECK_OFF(CPUMCTX, pXStateR0); 134 GEN_CHECK_OFF(CPUMCTX, pXStateR3); 135 GEN_CHECK_OFF(CPUMCTX, pXStateRC); 136 GEN_CHECK_OFF(CPUMCTX, rdi); 137 GEN_CHECK_OFF(CPUMCTX, rsi); 138 GEN_CHECK_OFF(CPUMCTX, rbp); 139 GEN_CHECK_OFF(CPUMCTX, rax); 140 GEN_CHECK_OFF(CPUMCTX, rbx); 141 GEN_CHECK_OFF(CPUMCTX, rd [all...] |
H A D | tstVMStructSize.cpp | 106 unsigned off1 = RT_OFFSETOF(CPUMCTX, member) - RT_OFFSETOF(CPUMCTX, rax); \ 110 printf("error! CPUMCTX/CORE:: %s! (%#x vs %#x (ctx))\n", #member, off1, off2); \ 300 CHECK_MEMBER_ALIGNMENT(CPUMCTX, rax, 32); 301 CHECK_MEMBER_ALIGNMENT(CPUMCTX, idtr.pIdt, 8); 302 CHECK_MEMBER_ALIGNMENT(CPUMCTX, gdtr.pGdt, 8); 303 CHECK_MEMBER_ALIGNMENT(CPUMCTX, SysEnter, 8); 337 CHECK_SIZE_ALIGNMENT(CPUMCTX, 64);
|
/vbox/include/VBox/vmm/ |
H A D | cpumctx.h | 247 typedef struct CPUMCTX struct 418 } CPUMCTX; typedef in typeref:struct:CPUMCTX 422 AssertCompileSizeAlignment(CPUMCTX, 64); 425 * Gets the CPUMCTXCORE part of a CPUMCTX. 430 * Gets the CPUMCTX part from a CPUMCTXCORE. 432 # define CPUMCTX_FROM_CORE(a_pCtxCore) RT_FROM_MEMBER(a_pCtxCore, CPUMCTX, rax) 435 * Gets the first selector register of a CPUMCTX.
|
/vbox/src/VBox/VMM/include/ |
H A D | CPUMInternal.h | 453 CPUMCTX Guest; 506 CPUMCTX Hyper;
|
/vbox/include/VBox/ |
H A D | types.h | 378 /** Pointer to a CPUMCTX. */ 379 typedef struct CPUMCTX *PCPUMCTX; 380 /** Pointer to a const CPUMCTX. */ 381 typedef const struct CPUMCTX *PCCPUMCTX;
|
/vbox/src/VBox/VMM/VMMAll/ |
H A D | EMAll.cpp | 100 static CPUMCTX g_IncomingCtx; 104 static CPUMCTX g_EmCtx; 109 static CPUMCTX g_IemCtx;
|
H A D | IEMAllCImpl.cpp.h | 5439 CPUMCTX CtxTmp = *pCtx;
|
H A D | IEMAll.cpp | 9661 static CPUMCTX s_DebugCtx; /* Ugly! */
|
/vbox/src/recompiler/ |
H A D | VBoxRecompiler.c | 1395 CPUMCTX Ctx; 2091 register const CPUMCTX *pCtx; 2543 * This is done in the order they are declared in the CPUMCTX structure. 2815 * This is done in the order they are declared in the CPUMCTX structure.
|