VirtualBox

Changeset 45276 in vbox for trunk/include/VBox/vmm/em.h


Ignore:
Timestamp:
Apr 2, 2013 8:17:11 AM (12 years ago)
Author:
vboxsync
Message:

Ring-1 compression patches, courtesy of trivirt AG:

  • main: diff to remove the hwvirt requirement for QNX
  • rem: diff for dealing with raw ring 0/1 selectors and general changes to allowed guest execution states
  • vmm: changes for using the guest's TSS selector index as our hypervisor TSS selector (makes str safe) (VBOX_WITH_SAFE_STR )
  • vmm: changes for dealing with guest ring 1 code (VBOX_WITH_RAW_RING1)
  • vmm: change to emulate smsw in RC/R0 (QNX uses this old style instruction a lot so going to qemu for emulation is very expensive)
  • vmm: change (hack) to kick out patm virtual handlers in case they conflict with guest GDT/TSS write monitors; we should allow multiple handlers per page, but that change would be rather invasive
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/VBox/vmm/em.h

    r44528 r45276  
    133133#define EMIsRawRing0Enabled(pVM) (!(pVM)->fRecompileSupervisor)
    134134
     135#ifdef VBOX_WITH_RAW_RING1
     136/**
     137 * Checks if raw ring-1 execute mode is enabled.
     138 *
     139 * @returns true if enabled.
     140 * @returns false if disabled.
     141 * @param   pVM         The VM to operate on.
     142 */
     143#define EMIsRawRing1Enabled(pVM) ((pVM)->fRawRing1Enabled)
     144#else
     145#define EMIsRawRing1Enabled(pVM) false
     146#endif
     147
    135148/**
    136149 * Checks if execution with hardware assisted virtualization is enabled.
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