VirtualBox

Changeset 15852 in vbox for trunk/include/VBox


Ignore:
Timestamp:
Jan 8, 2009 10:56:11 AM (16 years ago)
Author:
vboxsync
Message:

Another experiment with limiting the time spent in ring 0.

Location:
trunk/include/VBox
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/VBox/err.h

    r15503 r15852  
    12661266/** Unexpected interruption exit code. */
    12671267#define VERR_VMX_UNEXPECTED_INTERRUPTION_EXIT_CODE  (-4017)
     1268/** Running for too long, return to ring 3. */
     1269#define VINF_VMX_PREEMPT_PENDING                    (4018)
    12681270/** @} */
    12691271
     
    12801282/** SVM CPU extension disabled (by BIOS). */
    12811283#define VERR_SVM_DISABLED                           (-4053)
     1284/** Running for too long, return to ring 3. */
     1285#define VINF_SVM_PREEMPT_PENDING                    VINF_VMX_PREEMPT_PENDING
    12821286/** @} */
    12831287
  • trunk/include/VBox/vmm.h

    r14899 r15852  
    108108    /** Signal a ring 0 assertion. */
    109109    VMMCALLHOST_VM_R0_ASSERTION,
     110    /** Ring switch to force preemption. */
     111    VMMCALLHOST_VM_R0_PREEMPT,
    110112    /** The usual 32-bit hack. */
    111113    VMMCALLHOST_32BIT_HACK = 0x7fffffff
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