VirtualBox

Changeset 46844 in vbox for trunk


Ignore:
Timestamp:
Jun 27, 2013 1:52:08 PM (12 years ago)
Author:
vboxsync
Message:

VMM/HMSVMR0: AMD-V Bits.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/VMMR0/HMSVMR0.cpp

    r46843 r46844  
    43844384    if (rc == VINF_EM_RAW_GUEST_TRAP)
    43854385    {
    4386         /* X86_DR7_GD will be cleared if DRx accesses should be trapped inside the guest. */
    4387         pCtx->dr[7] &= ~X86_DR7_GD;
    4388 
    4389         /* Paranoia. */
    4390         pCtx->dr[7] &= 0xffffffff;                                              /* Upper 32 bits MBZ. */
    4391         pCtx->dr[7] &= ~(RT_BIT(11) | RT_BIT(12) | RT_BIT(14) | RT_BIT(15));    /* MBZ. */
    4392         pCtx->dr[7] |= 0x400;                                                   /* MB1. */
    4393 
    4394         pVCpu->hm.s.fContextUseFlags |= HM_CHANGED_GUEST_DEBUG;
    4395 
    43964386        /* Reflect the exception back to the guest. */
    43974387        SVMEVENT Event;
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