VirtualBox

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


Ignore:
Timestamp:
Sep 13, 2023 11:42:14 AM (20 months ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
159072
Message:

VMM: Started implemented the CPU ID parsing and overriding bits as well as logging host and guest CPU features, bugref:10525

Location:
trunk/src/VBox/VMM/VMMR3
Files:
1 added
1 edited

Legend:

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

    r100755 r101103  
    128128*   Global Variables                                                                                                             *
    129129*********************************************************************************************************************************/
     130#if defined(RT_ARCH_ARM64)
     131/** Host CPU features. */
     132DECL_HIDDEN_DATA(CPUHOSTFEATURES) g_CpumHostFeatures;
     133#endif
     134
    130135/**
    131136 * System register ranges.
     
    375380    DBGFR3InfoRegisterInternalEx(pVM, "cpumguest",        "Displays the guest cpu state.",
    376381                                 &cpumR3InfoGuest, DBGFINFO_FLAGS_ALL_EMTS);
     382    DBGFR3InfoRegisterInternalEx(pVM, "cpumguestinstr",   "Displays the current guest instruction.",
     383                                 &cpumR3InfoGuestInstr, DBGFINFO_FLAGS_ALL_EMTS);
     384    DBGFR3InfoRegisterInternal(  pVM, "cpuid",            "Displays the guest cpuid information.",
     385                                 &cpumR3CpuIdInfo);
    377386
    378387    rc = cpumR3DbgInit(pVM);
     
    949958    if (cCores)
    950959        LogRel(("CPUM: Physical host cores: %u\n", (unsigned)cCores));
    951     RT_NOREF(pVM);
    952 #if 0 /** @todo Someting similar. */
    953960    LogRel(("************************* CPUID dump ************************\n"));
    954961    DBGFR3Info(pVM->pUVM, "cpuid", "verbose", DBGFR3InfoLogRelHlp());
     
    956963    DBGFR3_INFO_LOG_SAFE(pVM, "cpuid", "verbose"); /* macro */
    957964    LogRel(("******************** End of CPUID dump **********************\n"));
    958 #endif
    959965
    960966    /*
Note: See TracChangeset for help on using the changeset viewer.

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