Changeset 100940 in vbox
- Timestamp:
- Aug 22, 2023 2:29:29 PM (21 months ago)
- svn:sync-xref-src-repo-rev:
- 158878
- Location:
- trunk
- Files:
-
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/VBox/vmm/cpum-armv8.h
r100754 r100940 275 275 * @param pCtx Current CPU context. 276 276 */ 277 DECLINLINE(bool) CPUMIsGuestIn64BitCodeEx(PC PUMCTX pCtx)277 DECLINLINE(bool) CPUMIsGuestIn64BitCodeEx(PCCPUMCTX pCtx) 278 278 { 279 279 return !RT_BOOL(pCtx->fPState & ARMV8_SPSR_EL2_AARCH64_M4); -
trunk/include/VBox/vmm/cpum-x86-amd64.h
r100935 r100940 1503 1503 } 1504 1504 1505 VMM_INT_DECL(bool) CPUMIsGuestIn64BitCodeSlow(PC PUMCTX pCtx);1505 VMM_INT_DECL(bool) CPUMIsGuestIn64BitCodeSlow(PCCPUMCTX pCtx); 1506 1506 1507 1507 /** … … 1511 1511 * @param pCtx Current CPU context. 1512 1512 */ 1513 DECLINLINE(bool) CPUMIsGuestIn64BitCodeEx(PC PUMCTX pCtx)1513 DECLINLINE(bool) CPUMIsGuestIn64BitCodeEx(PCCPUMCTX pCtx) 1514 1514 { 1515 1515 if (!(pCtx->msrEFER & MSR_K6_EFER_LMA)) -
trunk/include/VBox/vmm/cpum.h
r100184 r100940 382 382 /** @name Misc Guest Predicate Functions. 383 383 * @{ */ 384 VMMDECL(bool) CPUMIsGuestIn64BitCode(P VMCPU pVCpu);384 VMMDECL(bool) CPUMIsGuestIn64BitCode(PCVMCPU pVCpu); 385 385 /** @} */ 386 386 -
trunk/src/VBox/Debugger/testcase/tstDBGCStubs.cpp
r98103 r100940 789 789 } 790 790 791 VMMDECL(bool) CPUMIsGuestIn64BitCode(P VMCPU pVCpu)791 VMMDECL(bool) CPUMIsGuestIn64BitCode(PCVMCPU pVCpu) 792 792 { 793 793 return false; -
trunk/src/VBox/VMM/VMMAll/CPUMAllRegs-armv8.cpp
r100184 r100940 237 237 * @param pVCpu The cross context virtual CPU structure of the calling EMT. 238 238 */ 239 VMMDECL(bool) CPUMIsGuestIn64BitCode(P VMCPU pVCpu)239 VMMDECL(bool) CPUMIsGuestIn64BitCode(PCVMCPU pVCpu) 240 240 { 241 241 CPUM_INT_ASSERT_NOT_EXTRN(pVCpu, CPUMCTX_EXTRN_PSTATE); … … 251 251 * @param pCtx Pointer to the current guest CPU context. 252 252 */ 253 VMM_INT_DECL(bool) CPUMIsGuestIn64BitCodeSlow(PC PUMCTX pCtx)253 VMM_INT_DECL(bool) CPUMIsGuestIn64BitCodeSlow(PCCPUMCTX pCtx) 254 254 { 255 255 return CPUMIsGuestIn64BitCode(CPUM_GUEST_CTX_TO_VMCPU(pCtx)); -
trunk/src/VBox/VMM/VMMAll/CPUMAllRegs.cpp
r100184 r100940 1596 1596 * @param pVCpu The cross context virtual CPU structure of the calling EMT. 1597 1597 */ 1598 VMMDECL(bool) CPUMIsGuestIn64BitCode(P VMCPU pVCpu)1598 VMMDECL(bool) CPUMIsGuestIn64BitCode(PCVMCPU pVCpu) 1599 1599 { 1600 1600 CPUM_INT_ASSERT_NOT_EXTRN(pVCpu, CPUMCTX_EXTRN_CS | CPUMCTX_EXTRN_EFER); … … 1613 1613 * @param pCtx Pointer to the current guest CPU context. 1614 1614 */ 1615 VMM_INT_DECL(bool) CPUMIsGuestIn64BitCodeSlow(PC PUMCTX pCtx)1615 VMM_INT_DECL(bool) CPUMIsGuestIn64BitCodeSlow(PCCPUMCTX pCtx) 1616 1616 { 1617 1617 return CPUMIsGuestIn64BitCode(CPUM_GUEST_CTX_TO_VMCPU(pCtx)); -
trunk/src/VBox/VMM/VMMR3/CPUM.cpp
r100935 r100940 3217 3217 * @param pszPrefix Register name prefix. 3218 3218 */ 3219 static void cpumR3InfoOne(PVM pVM, P VMCPU pVCpu, PCDBGFINFOHLP pHlp, CPUMDUMPTYPE enmType, const char *pszPrefix)3220 { 3221 PC PUMCTX pCtx = &pVCpu->cpum.s.Guest;3219 static void cpumR3InfoOne(PVM pVM, PCVMCPU pVCpu, PCDBGFINFOHLP pHlp, CPUMDUMPTYPE enmType, const char *pszPrefix) 3220 { 3221 PCCPUMCTX pCtx = &pVCpu->cpum.s.Guest; 3222 3222 3223 3223 /* … … 3364 3364 pszPrefix, UINT64_C(0) /** @todo XSS */, pCtx->fXStateMask); 3365 3365 { 3366 P X86FXSTATE pFpuCtx = &pCtx->XState.x87;3366 PCX86FXSTATE pFpuCtx = &pCtx->XState.x87; 3367 3367 pHlp->pfnPrintf(pHlp, 3368 3368 "%sFCW=%04x %sFSW=%04x %sFTW=%04x %sFOP=%04x %sMXCSR=%08x %sMXCSR_MASK=%08x\n" … … 3664 3664 cpumR3InfoParseArg(pszArgs, &enmType, &pszComment); 3665 3665 3666 P VMCPU pVCpu = VMMGetCpu(pVM);3666 PCVMCPU pVCpu = VMMGetCpu(pVM); 3667 3667 if (!pVCpu) 3668 3668 pVCpu = pVM->apCpusR3[0];
Note:
See TracChangeset
for help on using the changeset viewer.