VirtualBox

Changeset 7687 in vbox


Ignore:
Timestamp:
Apr 1, 2008 3:32:52 PM (17 years ago)
Author:
vboxsync
Message:

The limit in the hidden selector register is the final one; no need to check the granularity bit

File:
1 edited

Legend:

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

    r5999 r7687  
    458458            {
    459459                /*
    460                  * Limit check.
     460                 * Limit check. Note that the limit in the hidden register is the
     461                 * final value. The granularity bit was included in its calculation.
    461462                 */
    462463                uint32_t    u32Limit = pHidCS->u32Limit;
    463                 /** @todo correct with hidden limit value?? */
    464                 if (pHidCS->Attr.n.u1Granularity)
    465                     u32Limit = (u32Limit << PAGE_SHIFT) | PAGE_OFFSET_MASK;
    466464                if ((RTGCUINTPTR)Addr <= u32Limit)
    467465                {
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