VirtualBox

Changeset 9678 in vbox for trunk/include


Ignore:
Timestamp:
Jun 13, 2008 11:42:02 AM (17 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
32016
Message:

Rewrote SELMToFlatEx for long mode.

File:
1 edited

Legend:

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

    r9675 r9678  
    200200 * @returns VBox status
    201201 * @param   pVM         VM Handle.
     202 * @param   SelReg      Selector register
     203 * @param   pCtxCore    CPU context
     204 * @param   Addr        Address part.
     205 * @param   fFlags      SELMTOFLAT_FLAGS_*
     206 *                      GDT entires are valid.
     207 * @param   ppvGC       Where to store the GC flat address.
     208 */
     209SELMDECL(int) SELMToFlatEx(PVM pVM, DIS_SELREG SelReg, PCPUMCTXCORE pCtxCore, RTGCPTR Addr, unsigned fFlags, PRTGCPTR ppvGC);
     210
     211/**
     212 * Converts a GC selector based address to a flat address.
     213 *
     214 * Some basic checking is done, but not all kinds yet.
     215 *
     216 * Note: Obsolete: DO NOT USE
     217 *
     218 * @returns VBox status
     219 * @param   pVM         VM Handle.
    202220 * @param   eflags      Current eflags
    203221 * @param   Sel         Selector part.
     
    210228 *                      the selector. NULL is allowed.
    211229 */
    212 SELMDECL(int) SELMToFlatEx(PVM pVM, X86EFLAGS eflags, RTSEL Sel, RTGCPTR Addr, PCPUMSELREGHID pHiddenSel, unsigned fFlags, PRTGCPTR ppvGC, uint32_t *pcb);
     230SELMDECL(int) SELMToFlatBySelEx(PVM pVM, X86EFLAGS eflags, RTSEL Sel, RTGCPTR Addr, CPUMSELREGHID *pHiddenSel, unsigned fFlags, PRTGCPTR ppvGC, uint32_t *pcb);
    213231
    214232/**
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette