Changeset 105843 in vbox for trunk/src/VBox/VMM/VMMR3
- Timestamp:
- Aug 23, 2024 9:01:50 AM (5 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMR3/NEMR3Native-darwin-armv8.cpp
r105695 r105843 830 830 "vbar_el1=%016VR{vbar_el1}\n" 831 831 ); 832 char szInstr[256]; RT_ZERO(szInstr);833 #if 0834 DBGFR3DisasInstrEx(pVM->pUVM, pVCpu->idCpu, 0, 0,835 DBGF_DISAS_FLAGS_CURRENT_GUEST | DBGF_DISAS_FLAGS_DEFAULT_MODE,836 szInstr, sizeof(szInstr), NULL);837 #endif838 Log3(("%s%s\n", szRegs, szInstr));839 840 832 if (pVM->nem.s.fEl2Enabled) 841 833 { 834 Log3(("%s\n", szRegs)); 842 835 DBGFR3RegPrintf(pVM->pUVM, pVCpu->idCpu, &szRegs[0], sizeof(szRegs), 843 836 "sp_el2=%016VR{sp_el2} elr_el2=%016VR{elr_el2}\n" … … 850 843 ); 851 844 } 852 Log3(("%s%s\n", szRegs)); 845 char szInstr[256]; RT_ZERO(szInstr); 846 DBGFR3DisasInstrEx(pVM->pUVM, pVCpu->idCpu, 0, 0, 847 DBGF_DISAS_FLAGS_CURRENT_GUEST | DBGF_DISAS_FLAGS_DEFAULT_MODE, 848 szInstr, sizeof(szInstr), NULL); 849 Log3(("%s%s\n", szRegs, szInstr)); 853 850 } 854 851 } … … 1174 1171 //PCFGMNODE pGicDev = CFGMR3GetChild(CFGMR3GetRoot(pVM), "Devices/gic/0"); 1175 1172 PCFGMNODE pGicCfg = CFGMR3GetChild(CFGMR3GetRoot(pVM), "Devices/gic-nem/0/Config"); 1173 AssertPtrReturn(pGicCfg, VERR_NEM_IPE_5); 1176 1174 1177 1175 hv_gic_config_t hGicCfg = hv_gic_config_create(); … … 1416 1414 AssertReturn(pVM->bMainExecutionEngine == VM_EXEC_ENGINE_NATIVE_API, VERR_WRONG_ORDER); 1417 1415 1418 /* Need to create the GIC here before any vCPU is created according to the Apple docs. */ 1419 if (hv_gic_create) 1416 /* 1417 * Need to create the GIC here if the NEM variant is configured 1418 * before any vCPU is created according to the Apple docs. 1419 */ 1420 if ( hv_gic_create 1421 && CFGMR3GetChild(CFGMR3GetRoot(pVM), "Devices/gic-nem/0")) 1420 1422 { 1421 1423 int rc = nemR3DarwinGicCreate(pVM);
Note:
See TracChangeset
for help on using the changeset viewer.