VirtualBox

Changeset 15704 in vbox for trunk/include


Ignore:
Timestamp:
Dec 19, 2008 4:44:54 PM (16 years ago)
Author:
vboxsync
Message:

Introduced VbglHCGMCall32 for supporting 32 bits clients on 64 bits guests.

Location:
trunk/include/VBox
Files:
2 edited

Legend:

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

    r15699 r15704  
    916916#pragma pack()
    917917
    918 #define VMMDEV_HGCM_CALL_PARMS(a) ((HGCMFunctionParameter *)((uint8_t *)a + sizeof (VMMDevHGCMCall)))
     918#define VMMDEV_HGCM_CALL_PARMS(a)   ((HGCMFunctionParameter *)((uint8_t *)a + sizeof (VMMDevHGCMCall)))
     919#define VMMDEV_HGCM_CALL_PARMS32(a) ((HGCMFunctionParameter32 *)((uint8_t *)a + sizeof (VMMDevHGCMCall)))
    919920
    920921#ifdef VBOX_WITH_64_BITS_GUESTS
     
    14041405
    14051406# define VBOXGUEST_HGCM_CALL_PARMS(a)       ((HGCMFunctionParameter *)((uint8_t *)(a) + sizeof (VBoxGuestHGCMCallInfo)))
     1407# define VBOXGUEST_HGCM_CALL_PARMS32(a)     ((HGCMFunctionParameter32 *)((uint8_t *)(a) + sizeof (VBoxGuestHGCMCallInfo)))
    14061408
    14071409#endif /* VBOX_WITH_HGCM */
  • trunk/include/VBox/VBoxGuestLib.h

    r14352 r15704  
    200200DECLVBGL(int) VbglHGCMCall (VBoxGuestHGCMCallInfo *pCallInfo,
    201201                            VBGLHGCMCALLBACK *pAsyncCallback, void *pvAsyncData, uint32_t u32AsyncData);
     202
     203/** Call a HGCM service. (32 bits packet structure in a 64 bits guest)
     204 *
     205 * @note This function can deal with cancelled requests.
     206 *
     207 * @param pCallInfo       The request data.
     208 * @param pAsyncCallback  Required pointer to function that is called when
     209 *                        host returns VINF_HGCM_ASYNC_EXECUTE. VBoxGuest
     210 *                        implements waiting for an IRQ in this function.
     211 * @param pvAsyncData     An arbitrary VBoxGuest pointer to be passed to callback.
     212 * @param u32AsyncData    An arbitrary VBoxGuest 32 bit value to be passed to callback.
     213 *
     214 * @return VBox status code.
     215 */
     216DECLVBGL(int) VbglHGCMCall32 (VBoxGuestHGCMCallInfo *pCallInfo,
     217                              VBGLHGCMCALLBACK *pAsyncCallback, void *pvAsyncData, uint32_t u32AsyncData);
    202218
    203219#else /* !VBGL_VBOXGUEST */
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