VirtualBox

Changeset 96898 in vbox for trunk/src/VBox/VMM/VMMR3


Ignore:
Timestamp:
Sep 27, 2022 1:27:15 PM (2 years ago)
Author:
vboxsync
Message:

VMM/APIC: Decode the MSR in the 'info apic' output. bugref:10092

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/VMMR3/APIC.cpp

    r96407 r96898  
    353353
    354354    pHlp->pfnPrintf(pHlp, "APIC%u:\n", pVCpu->idCpu);
    355     pHlp->pfnPrintf(pHlp, "  APIC Base MSR                 = %#RX64 (Addr=%#RX64)\n", uBaseMsr,
    356                     MSR_IA32_APICBASE_GET_ADDR(uBaseMsr));
     355    pHlp->pfnPrintf(pHlp, "  APIC Base MSR                 = %#RX64 (Addr=%#RX64%s%s%s)\n", uBaseMsr,
     356                    MSR_IA32_APICBASE_GET_ADDR(uBaseMsr), uBaseMsr & MSR_IA32_APICBASE_EN ? " en" : "",
     357                    uBaseMsr & MSR_IA32_APICBASE_BSP ? " bsp" : "", uBaseMsr & MSR_IA32_APICBASE_EXTD ? " extd" : "");
    357358    pHlp->pfnPrintf(pHlp, "  Mode                          = %u (%s)\n", enmMode, apicGetModeName(enmMode));
    358359    if (fX2ApicMode)
    359     {
    360360        pHlp->pfnPrintf(pHlp, "  APIC ID                       = %u (%#x)\n", pX2ApicPage->id.u32ApicId,
    361361                                                                              pX2ApicPage->id.u32ApicId);
    362     }
    363362    else
    364363        pHlp->pfnPrintf(pHlp, "  APIC ID                       = %u (%#x)\n", pXApicPage->id.u8ApicId, pXApicPage->id.u8ApicId);
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette