VirtualBox

Changeset 58912 in vbox for trunk/src/VBox/VMM/include


Ignore:
Timestamp:
Nov 29, 2015 8:08:14 PM (9 years ago)
Author:
vboxsync
Message:

HMGLOBALCPUINFO: Cache the RTR0MemObjGetPagePhysAddr and RTR0MemObjAddress results as they aren't necessiarly all that fast.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/include/HMInternal.h

    r58546 r58912  
    266266    /** The VM_HSAVE_AREA (AMD-V) / VMXON region (Intel) memory backing. */
    267267    RTR0MEMOBJ          hMemObj;
     268    /** The physical address of the first page in hMemObj (it's a
     269     *  physcially contigous allocation if it spans multiple pages). */
     270    RTHCPHYS            HCPhysMemObj;
     271    /** The address of the memory (for pfnEnable). */
     272    void               *pvMemObj;
    268273    /** Current ASID (AMD-V) / VPID (Intel). */
    269274    uint32_t            uCurrentAsid;
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