VirtualBox

Changeset 11960 in vbox for trunk/src/VBox/VMM


Ignore:
Timestamp:
Sep 2, 2008 7:53:22 AM (16 years ago)
Author:
vboxsync
Message:

No need to clear EFER on reset. Set the TR attribute field to X86_SEL_TYPE_SYS_386_TSS_BUSY.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/CPUM.cpp

    r11947 r11960  
    705705    pCtx->trHid.u32Limit            = 0xffff;
    706706    pCtx->trHid.Attr.n.u1Present    = 1;
    707     pCtx->trHid.Attr.n.u4Type       = X86_SEL_TYPE_SYS_286_TSS_BUSY;
     707    pCtx->trHid.Attr.n.u4Type       = X86_SEL_TYPE_SYS_386_TSS_BUSY;
    708708
    709709    pCtx->dr6                       = UINT32_C(0xFFFF0FF0);
     
    715715    /* Init PAT MSR */
    716716    pCtx->msrPAT                    = UINT64_C(0x0007040600070406); /** @todo correct? */
    717 
    718     pCtx->msrEFER                   = 0;
    719717}
    720718
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