VirtualBox

Changeset 11794 in vbox for trunk/include


Ignore:
Timestamp:
Aug 29, 2008 9:13:37 AM (16 years ago)
Author:
vboxsync
Message:

SUP: SUPInit(ppSession=NULL, cbReserved=0) -> SUPR3Init(ppSession)

Location:
trunk/include
Files:
2 edited

Legend:

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

    r11725 r11794  
    341341/**
    342342 * Initializes the support library.
    343  * Each succesful call to SUPInit() must be countered by a
     343 * Each succesful call to SUPR3Init() must be countered by a
    344344 * call to SUPTerm(false).
    345345 *
    346346 * @returns VBox status code.
    347347 * @param   ppSession       Where to store the session handle. Defaults to NULL.
    348  * @param   cbReserve       The number of bytes of contiguous memory that should be reserved by
    349  *                          the runtime / support library.
    350  *                          Set this to 0 if no reservation is required. (default)
    351  *                          Set this to ~0 if the maximum amount supported by the VM is to be
    352  *                          attempted reserved, or the maximum available.
    353  */
    354 #ifdef __cplusplus
    355 SUPR3DECL(int) SUPInit(PSUPDRVSESSION *ppSession = NULL, size_t cbReserve = 0);
    356 #else
    357 SUPR3DECL(int) SUPInit(PSUPDRVSESSION *ppSession, size_t cbReserve);
    358 #endif
     348 */
     349SUPR3DECL(int) SUPR3Init(PSUPDRVSESSION *ppSession);
    359350
    360351/**
  • trunk/include/iprt/initterm.h

    r8245 r11794  
    5050 * @returns iprt status code.
    5151 *
    52  * @param   fInitSUPLib     Set if SUPInit() shall be called during init (default).
     52 * @param   fInitSUPLib     Set if SUPR3Init() shall be called during init (default).
    5353 *                          Clear if not to call it.
    54  * @param   cbReserve       The number of bytes of contiguous memory that should be reserved by
    55  *                          the runtime / support library.
    56  *                          Set this to 0 if no reservation is required. (default)
    57  *                          Set this to ~(size_t)0 if the maximum amount supported by the VM is to be
    58  *                          attempted reserved, or the maximum available.
    59  *                          This argument only applies if fInitSUPLib is true and we're in ring-3 HC.
     54 * @param   cbReserve       Ignored.
    6055 */
    6156RTR3DECL(int) RTR3Init(
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