Changeset 107227 in vbox for trunk/src/VBox/VMM/VMMR3/DBGFCoreWrite.cpp
- Timestamp:
- Dec 4, 2024 3:20:14 PM (6 weeks ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMR3/DBGFCoreWrite.cpp
r107113 r107227 329 329 static void dbgfR3GetCoreCpu(PVMCPU pVCpu, PDBGFCORECPU pDbgfCpu) 330 330 { 331 #define DBGFCOPYSEL(a_dbgfsel, a_cpumselreg) \ 331 PCCPUMCTX const pCtx = CPUMQueryGuestCtxPtr(pVCpu); 332 333 #ifdef VBOX_VMM_TARGET_X86 334 # define DBGFCOPYSEL(a_dbgfsel, a_cpumselreg) \ 332 335 do { \ 333 336 (a_dbgfsel).uBase = (a_cpumselreg).u64Base; \ … … 337 340 } while (0) 338 341 339 #if defined(VBOX_VMM_TARGET_ARMV8)340 AssertReleaseFailed();341 RT_NOREF(pVCpu, pDbgfCpu);342 #else343 PVM pVM = pVCpu->CTX_SUFF(pVM);344 PCCPUMCTX pCtx = CPUMQueryGuestCtxPtr(pVCpu);345 342 pDbgfCpu->rax = pCtx->rax; 346 343 pDbgfCpu->rbx = pCtx->rbx; … … 395 392 pDbgfCpu->aXcr[1] = pCtx->aXcr[1]; 396 393 AssertCompile(sizeof(pDbgfCpu->ext) == sizeof(pCtx->XState)); 394 395 PVM const pVM = pVCpu->CTX_SUFF(pVM); 397 396 pDbgfCpu->cbExt = pVM->cpum.ro.GuestFeatures.cbMaxExtendedState; 398 397 if (RT_LIKELY(pDbgfCpu->cbExt)) 399 398 memcpy(&pDbgfCpu->ext, &pCtx->XState, pDbgfCpu->cbExt); 399 400 # undef DBGFCOPYSEL 401 402 #elif defined(VBOX_VMM_TARGET_ARMV8) 403 RT_NOREF(pCtx, pDbgfCpu); 404 AssertReleaseFailed(); 405 406 #else 407 # error "port me" 400 408 #endif 401 402 #undef DBGFCOPYSEL403 409 } 404 410
Note:
See TracChangeset
for help on using the changeset viewer.