Changeset 9658 in vbox for trunk/src/VBox/VMM/VMMR0
- Timestamp:
- Jun 12, 2008 12:33:17 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMR0/HWSVMR0.cpp
r9457 r9658 1876 1876 static int SVMR0InterpretInvpg(PVM pVM, PCPUMCTXCORE pRegFrame, uint32_t uASID) 1877 1877 { 1878 Assert(!CPUMIsGuestInLongMode(pVM)); /** @todo */ 1878 1879 /* 1879 1880 * Only allow 32-bit code. 1880 1881 */ 1881 if (SELM IsSelector32Bit(pVM, pRegFrame->eflags, pRegFrame->cs, &pRegFrame->csHid))1882 if (SELMGetSelectorType(pVM, pRegFrame->eflags, pRegFrame->cs, &pRegFrame->csHid) == CPUMODE_16BIT) 1882 1883 { 1883 1884 RTGCPTR pbCode; … … 1952 1953 Assert(pVM->hwaccm.s.fNestedPaging); 1953 1954 1955 Assert(!CPUMIsGuestInLongMode(pVM)); /** @todo */ 1956 1954 1957 /* Skip it if a TLB flush is already pending. */ 1955 1958 if (!fFlushPending) … … 1972 1975 * Only allow 32-bit code. 1973 1976 */ 1974 if (SELM IsSelector32Bit(pVM, pCtx->eflags, pCtx->cs, &pCtx->csHid))1977 if (SELMGetSelectorType(pVM, pCtx->eflags, pCtx->cs, &pCtx->csHid)) 1975 1978 { 1976 1979 RTGCPTR pbCode;
Note:
See TracChangeset
for help on using the changeset viewer.