VirtualBox

Changeset 1357 in vbox for trunk/include


Ignore:
Timestamp:
Mar 9, 2007 10:40:06 AM (18 years ago)
Author:
vboxsync
Message:

SELM function changes for v86 mode code.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/VBox/selm.h

    r99 r1357  
    142142 * @returns Flat address.
    143143 * @param   pVM     VM Handle.
     144 * @param   eflags  Current eflags
    144145 * @param   Sel     Selector part.
    145146 * @param   Addr    Address part.
    146147 */
    147 SELMDECL(RTGCPTR) SELMToFlat(PVM pVM, RTSEL Sel, CPUMSELREGHID *pHiddenSel, RTGCPTR Addr);
     148SELMDECL(RTGCPTR) SELMToFlat(PVM pVM, X86EFLAGS eflags, RTSEL Sel, CPUMSELREGHID *pHiddenSel, RTGCPTR Addr);
    148149
    149150/** Flags for SELMToFlatEx().
     
    174175 * @returns VBox status
    175176 * @param   pVM     VM Handle.
     177 * @param   eflags  Current eflags
    176178 * @param   Sel     Selector part.
    177179 * @param   Addr    Address part.
     
    182184 *                  the selector. NULL is allowed.
    183185 */
    184 SELMDECL(int) SELMToFlatEx(PVM pVM, RTSEL Sel, RTGCPTR Addr, unsigned fFlags, PRTGCPTR ppvGC, uint32_t *pcb);
     186SELMDECL(int) SELMToFlatEx(PVM pVM, X86EFLAGS eflags, RTSEL Sel, RTGCPTR Addr, unsigned fFlags, PRTGCPTR ppvGC, uint32_t *pcb);
    185187
    186188/**
     
    189191 * @returns Flat address.
    190192 * @param   pVM          VM Handle.
     193 * @param   eflags       Current eflags
    191194 * @param   SelCPL       Current privilege level. Get this from SS - CS might be conforming!
    192195 *                       A full selector can be passed, we'll only use the RPL part.
     
    196199 * @param   ppvFlat      Where to store the flat address.
    197200 */
    198 SELMDECL(int) SELMValidateAndConvertCSAddr(PVM pVM, RTSEL SelCPL, RTSEL SelCS, CPUMSELREGHID *pHiddenCSSel, RTGCPTR Addr, PRTGCPTR ppvFlat);
     201SELMDECL(int) SELMValidateAndConvertCSAddr(PVM pVM, X86EFLAGS eflags, RTSEL SelCPL, RTSEL SelCS, CPUMSELREGHID *pHiddenCSSel, RTGCPTR Addr, PRTGCPTR ppvFlat);
    199202
    200203/**
     
    204207 * @returns False if it is 16-bit.
    205208 * @param   pVM        VM Handle.
     209 * @param   eflags     Current eflags register
    206210 * @param   Sel        The selector.
    207211 * @param   pHiddenSel The hidden selector register.
    208212 */
    209 SELMDECL(bool) SELMIsSelector32Bit(PVM pVM, RTSEL Sel, CPUMSELREGHID *pHiddenSel);
     213SELMDECL(bool) SELMIsSelector32Bit(PVM pVM, X86EFLAGS eflags, RTSEL Sel, CPUMSELREGHID *pHiddenSel);
    210214
    211215/**
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