Changeset 47293 in vbox for trunk/src/VBox/VMM/VMMAll
- Timestamp:
- Jul 22, 2013 2:10:03 AM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMAll/IEMAllCImpl.cpp.h
r47291 r47293 3032 3032 * Implements lgdt. 3033 3033 * 3034 * @param iEffSeg The segment of the new ldtr contents3035 * @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. 3036 3036 * @param enmEffOpSize The effective operand size. 3037 3037 */ … … 3090 3090 * Implements lidt. 3091 3091 * 3092 * @param iEffSeg The segment of the new ldtr contents3093 * @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. 3094 3094 * @param enmEffOpSize The effective operand size. 3095 3095 */ … … 3184 3184 pCtx->ldtr.ValidSel = uNewLdt; 3185 3185 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. */ 3189 3188 { 3190 3189 pCtx->ldtr.u64Base = 0;
Note:
See TracChangeset
for help on using the changeset viewer.