VirtualBox

Changeset 2183 in vbox for trunk/src/VBox/VMM


Ignore:
Timestamp:
Apr 18, 2007 2:39:39 PM (18 years ago)
Author:
vboxsync
Message:

Argh

File:
1 edited

Legend:

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

    r2181 r2183  
    139139                &&  CPUMAreHiddenSelRegsValid(pVM))
    140140            {
    141                 *ppvGC = (RTGCPTR)pHiddenSel->u32Base;
     141                *ppvGC = (RTGCPTR)(pHiddenSel->u32Base + Addr);
    142142            }
    143143            else
     
    422422                uFlat = ((RTGCUINTPTR)Addr & 0xffff) + ((RTGCUINTPTR)SelCS << 4);
    423423            else
    424                 uFlat = pHiddenCSSel->u32Base;
     424                uFlat = pHiddenCSSel->u32Base + Addr;
    425425
    426426            *ppvFlat = (RTGCPTR)uFlat;
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