VirtualBox

Changeset 9710 in vbox


Ignore:
Timestamp:
Jun 16, 2008 11:29:18 AM (17 years ago)
Author:
vboxsync
Message:

doxygen.

File:
1 edited

Legend:

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

    r9679 r9710  
    4949 * @param   Sel     Selector part.
    5050 * @param   Addr    Address part.
     51 * @remarks Don't use when in long mode.
    5152 */
    5253SELMDECL(RTGCPTR) SELMToFlatBySel(PVM pVM, RTSEL Sel, RTGCPTR Addr)
    5354{
    54     Assert(!CPUMIsGuestInLongMode(pVM));    /** DON'T USE! */
     55    Assert(!CPUMIsGuestInLongMode(pVM));    /* DON'T USE! */
    5556
    5657    /** @todo check the limit. */
     
    6162    {
    6263        /** @todo handle LDT pages not present! */
    63         #ifdef IN_GC
     64#ifdef IN_GC
    6465        PVBOXDESC    paLDT = (PVBOXDESC)((char *)pVM->selm.s.GCPtrLdt + pVM->selm.s.offLdtHyper);
    65         #else
     66#else
    6667        PVBOXDESC    paLDT = (PVBOXDESC)((char *)pVM->selm.s.HCPtrLdt + pVM->selm.s.offLdtHyper);
    67         #endif
     68#endif
    6869        Desc = paLDT[Sel >> X86_SEL_SHIFT];
    6970    }
     
    449450 * @param   pcb         Where to store the bytes from *ppvGC which can be accessed according to
    450451 *                      the selector. NULL is allowed.
     452 * @remarks Don't use when in long mode.
    451453 */
    452454SELMDECL(int) SELMToFlatBySelEx(PVM pVM, X86EFLAGS eflags, RTSEL Sel, RTGCPTR Addr, CPUMSELREGHID *pHiddenSel, unsigned fFlags, PRTGCPTR ppvGC, uint32_t *pcb)
    453455{
    454     Assert(!CPUMIsGuestInLongMode(pVM));    /** DON'T USE! */
     456    Assert(!CPUMIsGuestInLongMode(pVM));    /* DON'T USE! */
    455457
    456458    /*
     
    782784
    783785                /*
    784                  * Limit check. Note that the limit in the hidden register is the 
     786                 * Limit check. Note that the limit in the hidden register is the
    785787                 * final value. The granularity bit was included in its calculation.
    786788                 */
     
    909911    /* Else compatibility or 32 bits mode. */
    910912    return (pHiddenSel->Attr.n.u1DefBig) ? CPUMODE_32BIT : CPUMODE_16BIT;
    911    
     913
    912914}
    913915
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