Changeset 61715 in vbox
- Timestamp:
- Jun 15, 2016 1:18:40 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/PC/DevAPIC.cpp
r60813 r61715 2067 2067 uint64_t u64; 2068 2068 2069 pHlp->pfnPrintf(pHlp, " Local APIC at %08llx:\n", pApic->apicbase);2069 pHlp->pfnPrintf(pHlp, "CPU%u: Local APIC at %08llx:\n", pApic->phys_id, pApic->apicbase); 2070 2070 u64 = apicR3InfoReadReg(pDev, pApic, 0x2); 2071 2071 pHlp->pfnPrintf(pHlp, " LAPIC ID : %08llx\n", u64); … … 2167 2167 { 2168 2168 APICDeviceInfo *pDev = PDMINS_2_DATA(pDevIns, APICDeviceInfo *); 2169 APICState *pApic = apicGetStateByCurEmt(pDev); 2169 PVM pVM = PDMDevHlpGetVM(pDevIns); 2170 VMCPUID idCpu = VMMGetCpuId(pVM); 2171 if (idCpu == NIL_VMCPUID) /* Don't crash if we're not on EMT, just assume EMT0 for now. */ 2172 idCpu = 0; 2173 APICState *pApic = apicGetStateById(pDev, idCpu); 2170 2174 2171 2175 if (pszArgs == NULL || !*pszArgs || !strcmp(pszArgs, "basic"))
Note:
See TracChangeset
for help on using the changeset viewer.