VirtualBox

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


Ignore:
Timestamp:
Sep 26, 2023 12:20:33 PM (16 months ago)
Author:
vboxsync
Message:

VMM/CPUMR3CpuId-armv8: Dump the auxiliary feature registers 0 and 1 for fun and profit, bugref:10525

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/VMMR3/CPUMR3CpuId-armv8.cpp

    r101216 r101267  
    11991199
    12001200
     1201/** ID_AA64AFR0_EL1 field descriptions.   */
     1202static DBGFREGSUBFIELD const g_aIdAa64AfR0Fields[] =
     1203{
     1204    DBGFREGSUBFIELD_RO("ImpDef\0"     "Implementation defined",                                     0, 32, 0),
     1205    DBGFREGSUBFIELD_TERMINATOR()
     1206};
     1207
     1208
     1209/** ID_AA64AFR1_EL1 field descriptions.   */
     1210static DBGFREGSUBFIELD const g_aIdAa64AfR1Fields[] =
     1211{
     1212    DBGFREGSUBFIELD_RO("ImpDef\0"     "Implementation defined",                                     0, 32, 0),
     1213    DBGFREGSUBFIELD_TERMINATOR()
     1214};
     1215
     1216
    12011217static void cpumR3CpuIdInfoMnemonicListU64(PCDBGFINFOHLP pHlp, uint64_t uVal, PCDBGFREGSUBFIELD pDesc,
    12021218                                           const char *pszLeadIn, uint32_t cchWidth)
     
    13761392                                pVM->cpum.s.GuestIdRegs.u64RegIdAa64Dfr1El1,
    13771393                                g_aIdAa64DfR1Fields, iVerbosity > 1);
     1394
     1395    cpumR3CpuIdInfoIdRegDetails(pHlp, "ID_AA64AFR0_EL1",
     1396                                pVM->cpum.s.HostIdRegs.u64RegIdAa64Afr0El1,
     1397                                pVM->cpum.s.GuestIdRegs.u64RegIdAa64Afr0El1,
     1398                                g_aIdAa64AfR0Fields, iVerbosity > 1);
     1399
     1400    cpumR3CpuIdInfoIdRegDetails(pHlp, "ID_AA64AFR1_EL1",
     1401                                pVM->cpum.s.HostIdRegs.u64RegIdAa64Afr1El1,
     1402                                pVM->cpum.s.GuestIdRegs.u64RegIdAa64Afr1El1,
     1403                                g_aIdAa64AfR1Fields, iVerbosity > 1);
    13781404}
    13791405
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