Changeset 99355 in vbox
- Timestamp:
- Apr 8, 2023 12:40:56 AM (20 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/include/IEMMc.h
r99354 r99355 152 152 #define IEM_MC_MAYBE_RAISE_FSGSBASE_XCPT() \ 153 153 do { \ 154 if (RT_LIKELY( pVCpu->iem.s.enmCpuMode == IEMMODE_64BIT\155 && (pVCpu->cpum.GstCtx.cr4 & X86_CR4_FSGSBASE))) \154 if (RT_LIKELY( ((pVCpu->cpum.GstCtx.cr4 & X86_CR4_FSGSBASE) | pVCpu->iem.s.enmCpuMode) \ 155 == (X86_CR4_FSGSBASE | IEMMODE_64BIT))) \ 156 156 { /* probable */ } \ 157 157 else return iemRaiseUndefinedOpcode(pVCpu); \ 158 158 } while (0) 159 AssertCompile(X86_CR4_FSGSBASE > UINT8_MAX); 159 160 #define IEM_MC_MAYBE_RAISE_NON_CANONICAL_ADDR_GP0(a_u64Addr) \ 160 161 do { \
Note:
See TracChangeset
for help on using the changeset viewer.