Searched refs:CPUMCTX (Results 1 - 16 of 16) sorted by relevance

/vbox/src/VBox/VMM/VMMR0/
H A DCPUMR0UnusedA.asm50 ; @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 DHMR0A.asm1189 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 DCPUM.cpp113 /** 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 DPATMSSM.cpp1129 && 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 DPATMPatch.cpp1230 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 DDBGFCoreWrite.cpp347 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 DVBoxVMM.d26 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 DtstVMStruct.h132 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 DtstVMStructSize.cpp106 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 Dcpumctx.h247 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 DCPUMInternal.h453 CPUMCTX Guest;
506 CPUMCTX Hyper;
/vbox/include/VBox/
H A Dtypes.h378 /** 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 DEMAll.cpp100 static CPUMCTX g_IncomingCtx;
104 static CPUMCTX g_EmCtx;
109 static CPUMCTX g_IemCtx;
H A DIEMAllCImpl.cpp.h5439 CPUMCTX CtxTmp = *pCtx;
H A DIEMAll.cpp9661 static CPUMCTX s_DebugCtx; /* Ugly! */
/vbox/src/recompiler/
H A DVBoxRecompiler.c1395 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.

Completed in 1242 milliseconds