VirtualBox

Ignore:
Timestamp:
Aug 15, 2019 3:38:39 PM (6 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
132751
Message:

VMM(CPUM),DevPcBios: Added CPUM methods for getting the guest (and host) microarchitecture so DevPcBios doesn't need to include vm.h. bugref:9217

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/PC/DevPcBios.cpp

    r80038 r80293  
    2626#include <VBox/vmm/pgm.h>
    2727#include <VBox/vmm/cpum.h>
    28 #include <VBox/vmm/vm.h>
    2928
    3029#include <VBox/log.h>
     
    14711470     */
    14721471    PVM pVM = PDMDevHlpGetVM(pDevIns);
    1473     CPUMMICROARCH const enmMicroarch = pVM ? pVM->cpum.ro.GuestFeatures.enmMicroarch : kCpumMicroarch_Intel_P6;
     1472    CPUMMICROARCH const enmMicroarch = pVM ? CPUMGetGuestMicroarch(pVM) : kCpumMicroarch_Intel_P6;
    14741473
    14751474    if (pThis->pszPcBiosFile)
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