VirtualBox

Changeset 47293 in vbox for trunk/src/VBox/VMM/VMMAll


Ignore:
Timestamp:
Jul 22, 2013 2:10:03 AM (12 years ago)
Author:
vboxsync
Message:

IEM: lldr 0

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/VMMAll/IEMAllCImpl.cpp.h

    r47291 r47293  
    30323032 * Implements lgdt.
    30333033 *
    3034  * @param   iEffSeg         The segment of the new ldtr contents
    3035  * @param   GCPtrEffSrc     The address of the new ldtr contents.
     3034 * @param   iEffSeg         The segment of the new gdtr contents
     3035 * @param   GCPtrEffSrc     The address of the new gdtr contents.
    30363036 * @param   enmEffOpSize    The effective operand size.
    30373037 */
     
    30903090 * Implements lidt.
    30913091 *
    3092  * @param   iEffSeg         The segment of the new ldtr contents
    3093  * @param   GCPtrEffSrc     The address of the new ldtr contents.
     3092 * @param   iEffSeg         The segment of the new idtr contents
     3093 * @param   GCPtrEffSrc     The address of the new idtr contents.
    30943094 * @param   enmEffOpSize    The effective operand size.
    30953095 */
     
    31843184        pCtx->ldtr.ValidSel = uNewLdt;
    31853185        pCtx->ldtr.fFlags   = CPUMSELREG_FLAGS_VALID;
    3186         if (IEM_IS_GUEST_CPU_AMD(pIemCpu) && !IEM_VERIFICATION_ENABLED(pIemCpu))
    3187             pCtx->ldtr.Attr.u   = 0;
    3188         else
     3186        pCtx->ldtr.Attr.u   = X86DESCATTR_UNUSABLE;
     3187        if (!IEM_IS_GUEST_CPU_AMD(pIemCpu) || !IEM_VERIFICATION_ENABLED(pIemCpu)) /* See bs-cpu-hidden-regs-1 on AMD. */
    31893188        {
    31903189            pCtx->ldtr.u64Base  = 0;
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