VirtualBox

Changeset 32475 in vbox


Ignore:
Timestamp:
Sep 14, 2010 11:47:38 AM (14 years ago)
Author:
vboxsync
Message:

VBoxGuest/win: Not needed.

Location:
trunk/src/VBox/Additions/common/VBoxGuest
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/common/VBoxGuest/VBoxGuest-win.cpp

    r32474 r32475  
    488488
    489489#ifdef VBOX_WITH_HGCM
    490     /* Initialize the HGCM event notification semaphore. */
    491     KeInitializeEvent(&pDevExt->win.s.hgcm.s.keventNotification, NotificationEvent, FALSE);
    492 
    493     /* Preallocated constant timeout 250ms for HGCM async waiter. */
    494     pDevExt->win.s.hgcm.s.WaitTimeout.QuadPart  = 250;
    495     pDevExt->win.s.hgcm.s.WaitTimeout.QuadPart *= -10000; /* Relative in 100ns units. */
    496 
    497490    Log(("VBoxGuest::vboxguestwinInit: Allocating kernel session data ...\n"));
    498491    int vrc = VBoxGuestCreateKernelSession(pDevExt, &pDevExt->win.s.pKernelSession);
  • trunk/src/VBox/Additions/common/VBoxGuest/VBoxGuest-win.h

    r32322 r32475  
    6969
    7070
    71 /** Windows-specific HGCM device extension bits. */
    72 typedef struct VBOXGUESTDEVEXTWINHGCM
    73 {
    74     /** The callback wait timeout. */
    75     LARGE_INTEGER WaitTimeout;
    76     /** Notification semaphore. */
    77     KEVENT keventNotification;
    78 } VBOXGUESTDEVEXTWINHGCM, *PVBOXGUESTDEVEXTWINHGCM;
    79 
    80 
    8171/** Windows-specific device extension bits. */
    8272typedef struct VBOXGUESTDEVEXTWIN
     
    125115      * for handling kernel IOCtls. */
    126116    PVBOXGUESTSESSION pKernelSession;
    127 
    128     /** Align the next bit on a 64-byte boundary and make sure it starts at the same
    129      *  offset in both 64-bit and 32-bit builds.
    130      *
    131      * @remarks The aligments of the members that are larger than 48 bytes should be
    132      *          64-byte for cache line reasons. structs containing small amounts of
    133      *          data could be lumped together at the end with a < 64 byte padding
    134      *          following it (to grow into and align the struct size).
    135      */
    136     uint8_t abAlignment1[HC_ARCH_BITS == 32 ? 24 : 4];
    137 
    138     /** HGCM stuff. */
    139     union
    140     {
    141 #ifdef VBOX_WITH_HGCM
    142         VBOXGUESTDEVEXTWINHGCM          s;
    143 #endif
    144         uint8_t                         padding[256];      /* Multiple of 64; fix me! */
    145     } hgcm;
    146117} VBOXGUESTDEVEXTWIN, *PVBOXGUESTDEVEXTWIN;
    147118
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