VirtualBox

Changeset 58178 in vbox for trunk/include/VBox


Ignore:
Timestamp:
Oct 12, 2015 11:40:57 AM (9 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
103292
Message:

VbglInit -> VbglInitPrimary & VbglInitClient. VBoxGuestLib/Init.cpp cleanups and positive thinking.

File:
1 edited

Legend:

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

    r58154 r58178  
    9494# define DECLVBGL(type) DECLR0VBGL(type)
    9595
    96 typedef uint32_t VBGLIOPORT; /**< @todo r=bird: We have RTIOPORT (uint16_t) for this. */
    97 
    9896
    9997# ifdef VBGL_VBOXGUEST
     
    105103 * @return VBox status code.
    106104 */
    107 DECLVBGL(int) VbglInit (VBGLIOPORT portVMMDev, struct VMMDevMemory *pVMMDevMemory);
     105DECLVBGL(int) VbglInitPrimary(RTIOPORT portVMMDev, struct VMMDevMemory *pVMMDevMemory);
    108106
    109107# else
     
    115113 * @return VBox status code.
    116114 */
    117 DECLVBGL(int) VbglInit (void);
     115DECLVBGL(int) VbglInitClient(void);
    118116
    119117# endif
     
    122120 * The library termination function.
    123121 */
    124 DECLVBGL(void) VbglTerminate (void);
     122DECLVBGL(void) VbglTerminate(void);
    125123
    126124
     
    132130 * Allocate memory for generic request and initialize the request header.
    133131 *
    134  * @param ppReq    pointer to resulting memory address.
    135  * @param cbSize   size of memory block required for the request.
    136  * @param reqType  the generic request type.
    137  *
    138  * @return VBox status code.
    139  */
    140 DECLVBGL(int) VbglGRAlloc (VMMDevRequestHeader **ppReq, uint32_t cbSize, VMMDevRequestType reqType);
     132 * @returns VBox status code.
     133 * @param   ppReq       Where to return the pointer to the allocated memory.
     134 * @param   cbReq       Size of memory block required for the request.
     135 * @param   enmReqType  the generic request type.
     136 */
     137DECLVBGL(int) VbglGRAlloc(VMMDevRequestHeader **ppReq, uint32_t cbReq, VMMDevRequestType enmReqType);
    141138
    142139/**
     
    147144 * @return VBox status code.
    148145 */
    149 DECLVBGL(int) VbglGRPerform (VMMDevRequestHeader *pReq);
     146DECLVBGL(int) VbglGRPerform(VMMDevRequestHeader *pReq);
    150147
    151148/**
     
    156153 * @return VBox status code.
    157154 */
    158 DECLVBGL(void) VbglGRFree (VMMDevRequestHeader *pReq);
     155DECLVBGL(void) VbglGRFree(VMMDevRequestHeader *pReq);
    159156
    160157/**
     
    168165 * @return VBox status code.
    169166 */
    170 DECLVBGL(int) VbglGRVerify (const VMMDevRequestHeader *pReq, size_t cbReq);
     167DECLVBGL(int) VbglGRVerify(const VMMDevRequestHeader *pReq, size_t cbReq);
    171168/** @} */
    172169
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