Changeset 60678 in vbox for trunk/src/VBox/ValidationKit/bootsectors/bs3kit/bs3-cmn-RegCtxSetGrpSegFromFlat.c
- Timestamp:
- Apr 24, 2016 2:57:13 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/ValidationKit/bootsectors/bs3kit/bs3-cmn-RegCtxSetGrpSegFromFlat.c
r60676 r60678 55 55 /* Adjust CS to the right ring, if not ring-0 or V86 context. */ 56 56 if ( pRegCtx->bCpl != 0 57 && !BS3_MODE_IS_RM_OR_V86(pRegCtx->bMode) 58 && BS3_SEL_IS_IN_R0_RANGE(*pSel)) 57 && !BS3_MODE_IS_RM_OR_V86(pRegCtx->bMode)) 59 58 { 60 *pSel += (uint16_t)pRegCtx->bCpl << BS3_SEL_RING_SHIFT; 59 if (BS3_SEL_IS_IN_R0_RANGE(*pSel)) 60 *pSel += (uint16_t)pRegCtx->bCpl << BS3_SEL_RING_SHIFT; 61 61 *pSel |= pRegCtx->bCpl; 62 62 }
Note:
See TracChangeset
for help on using the changeset viewer.