VirtualBox

Changeset 16446 in vbox for trunk/src


Ignore:
Timestamp:
Feb 1, 2009 9:19:17 PM (16 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
42314
Message:

spaces, doxy

Location:
trunk/src/VBox/HostDrivers/Support
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/HostDrivers/Support/SUPDrv.c

    r16347 r16446  
    20732073 * @param   pvR3        Start of the memory range to lock.
    20742074 *                      This must be page aligned.
    2075  * @param   cb          Size of the memory range to lock.
    2076  *                      This must be page aligned.
     2075 * @param   cPages      Number of pages to lock.
     2076 * @param   paPages     Where to put the physical addresses of allocated memory.
    20772077 */
    20782078SUPR0DECL(int) SUPR0LockMem(PSUPDRVSESSION pSession, RTR3PTR pvR3, uint32_t cPages, PRTHCPHYS paPages)
     
    21682168 * @returns IPRT status code.
    21692169 * @param   pSession    Session data.
    2170  * @param   cb          Number of bytes to allocate.
     2170 * @param   cPages      Number of pages to allocate.
    21712171 * @param   ppvR0       Where to put the address of Ring-0 mapping the allocated memory.
    21722172 * @param   ppvR3       Where to put the address of Ring-3 mapping the allocated memory.
  • trunk/src/VBox/HostDrivers/Support/linux/SUPLib-linux.cpp

    r13865 r16446  
    143143#ifndef IN_SUP_HARDENED_R3
    144144
    145 int     suplibOsTerm(PSUPLIBDATA pThis)
     145int suplibOsTerm(PSUPLIBDATA pThis)
    146146{
    147147    /*
     
    211211
    212212
    213 int     suplibOsPageAlloc(PSUPLIBDATA pThis, size_t cPages, void **ppvPages)
     213int suplibOsPageAlloc(PSUPLIBDATA pThis, size_t cPages, void **ppvPages)
    214214{
    215215    size_t cbMmap = (pThis->fSysMadviseWorks ? cPages : cPages + 2) << PAGE_SHIFT;
     
    246246
    247247
    248 int     suplibOsPageFree(PSUPLIBDATA pThis, void *pvPages, size_t cPages)
     248int suplibOsPageFree(PSUPLIBDATA pThis, void *pvPages, size_t cPages)
    249249{
    250250    munmap(pvPages, cPages << PAGE_SHIFT);
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