VirtualBox

Changeset 61812 in vbox for trunk/src/VBox/Devices/PC


Ignore:
Timestamp:
Jun 22, 2016 12:10:14 PM (9 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
108215
Message:

APIC, IOAPIC: HMIsEnabled is what we actually need.

File:
1 edited

Legend:

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

    r61811 r61812  
    12411241     * Statistics.
    12421242     */
    1243     bool fHasRC = HMIsRawModeCtxNeeded(PDMDevHlpGetVM(pDevIns));
     1243    bool fHasRC = !HMIsEnabled(PDMDevHlpGetVM(pDevIns));
    12441244    PDMDevHlpSTAMRegister(pDevIns, &pThis->StatMmioReadR0,  STAMTYPE_COUNTER, "/Devices/IOAPIC/R0/MmioReadR0",  STAMUNIT_OCCURENCES, "Number of IOAPIC MMIO reads in R0.");
    12451245    PDMDevHlpSTAMRegister(pDevIns, &pThis->StatMmioWriteR0, STAMTYPE_COUNTER, "/Devices/IOAPIC/R0/MmioWriteR0", STAMUNIT_OCCURENCES, "Number of IOAPIC MMIO writes in R0.");
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