VirtualBox

Changeset 45105 in vbox


Ignore:
Timestamp:
Mar 20, 2013 2:11:42 PM (12 years ago)
Author:
vboxsync
Message:

VMM/VMMR0: HM bits, fix WinXP booting with unrestricted.

Location:
trunk
Files:
4 edited

Legend:

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

    r45091 r45105  
    18911891/** Unexpected interruption exit code. */
    18921892#define VERR_VMX_UNEXPECTED_INTERRUPTION_EXIT_CODE  (-4017)
    1893 /** CPU is not in VMX root mode; unexpected when leaving VMX root mode */
     1893/** CPU is not in VMX root mode; unexpected when leaving VMX root mode. */
    18941894#define VERR_VMX_NOT_IN_VMX_ROOT_MODE               (-4018)
     1895/** Undefined VM exit code. */
     1896#define VERR_VMX_UNDEFINED_EXIT_CODE                (-4019)
    18951897/** @} */
    18961898
  • trunk/include/VBox/vmm/hm_vmx.h

    r45092 r45105  
    537537/** 7 Interrupt window exiting. */
    538538#define VMX_EXIT_INT_WINDOW         7
     539/** 8 NMI window exiting. */
     540#define VMX_EXIT_NMI_WINDOW         8
    539541/** 9 Task switch. */
    540542#define VMX_EXIT_TASK_SWITCH        9
    541543/** 10 Guest software attempted to execute CPUID. */
    542544#define VMX_EXIT_CPUID              10
     545/** 10 Guest software attempted to execute GETSEC. */
     546#define VMX_EXIT_GETSEC             11
    543547/** 12 Guest software attempted to execute HLT. */
    544548#define VMX_EXIT_HLT                12
  • trunk/src/VBox/VMM/VMMR3/HM.cpp

    r45091 r45105  
    16051605
    16061606    /* Clear all patch information. */
    1607     pVM->hm.s.pGuestPatchMem         = 0;
    1608     pVM->hm.s.pFreeGuestPatchMem     = 0;
    1609     pVM->hm.s.cbGuestPatchMem        = 0;
     1607    pVM->hm.s.pGuestPatchMem     = 0;
     1608    pVM->hm.s.pFreeGuestPatchMem = 0;
     1609    pVM->hm.s.cbGuestPatchMem    = 0;
    16101610    pVM->hm.s.cPatches           = 0;
    16111611    pVM->hm.s.PatchTree          = 0;
     
    17481748    pVM->hm.s.pFreeGuestPatchMem  = 0;
    17491749    pVM->hm.s.cbGuestPatchMem     = 0;
    1750     pVM->hm.s.fTPRPatchingActive = false;
     1750    pVM->hm.s.fTPRPatchingActive  = false;
    17511751    return VINF_SUCCESS;
    17521752}
  • trunk/src/VBox/VMM/VMMRZ/VMMRZ.cpp

    r45097 r45105  
    189189VMMRZDECL(int) VMMRZCallRing3SetNotification(PVMCPU pVCpu, R0PTRTYPE(PFNVMMR0CALLRING3NOTIFICATION) pfnCallback, RTR0PTR pvUser)
    190190{
    191     AssertReturn(pVCpu, VERR_INVALID_POINTER);
    192     AssertReturn(pfnCallback, VERR_INVALID_POINTER);
     191    AssertPtrReturn(pVCpu, VERR_INVALID_POINTER);
     192    AssertPtrReturn(pfnCallback, VERR_INVALID_POINTER);
    193193
    194194    if (pVCpu->vmm.s.pfnCallRing3CallbackR0)
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