- Timestamp:
- Mar 19, 2009 10:32:58 AM (16 years ago)
- Location:
- trunk/src/VBox/Additions/solaris
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/solaris/DRM/vboxvideo_drm.c
r18057 r18085 24 24 * Header Files * 25 25 *******************************************************************************/ 26 #include <sys/conf.h> 27 #include <sys/modctl.h> 28 #include <sys/mutex.h> 29 #include <sys/pci.h> 30 #include <sys/stat.h> 31 #include <sys/ddi.h> 32 #include <sys/ddi_intr.h> 33 #include <sys/sunddi.h> 34 #include <sys/open.h> 26 #undef offsetof /* This gets redefined in drmP.h */ 27 #include "include/drmP.h" 28 #include "include/drm.h" 29 30 #undef u /* /usr/include/sys/user.h:249:1 is where this is defined to (curproc->p_user). very cool. */ 35 31 36 32 #include <VBox/log.h> 37 33 #include <VBox/version.h> 38 39 #include "include/drmP.h"40 #include "include/drm.h"41 42 #undef u /* /usr/include/sys/user.h:249:1 is where this is defined to (curproc->p_user). very cool. */43 34 44 35 … … 367 358 368 359 369 static int vboxVideoSolarisLoad(drm_d river_t *pDriver, unsigned long fFlag)360 static int vboxVideoSolarisLoad(drm_device_t *pDevice, unsigned long fFlag) 370 361 { 371 362 return 0; 372 363 } 373 364 374 static int vboxVideoSolarisUnload(drm_d river_t *pDriver)365 static int vboxVideoSolarisUnload(drm_device_t *pDevice) 375 366 { 376 367 return 0; 377 368 } 378 369 379 static int vboxVideoSolarisPreClose(drm_driver_t *pDriver, drm_file_t *pFile) 380 { 381 return 0; 370 static void vboxVideoSolarisLastClose(drm_device_t *pDevice) 371 { 372 } 373 374 static void vboxVideoSolarisPreClose(drm_device_t *pDevice, drm_file_t *pFile) 375 { 382 376 } 383 377 … … 392 386 pDriver->unload = vboxVideoSolarisUnload; 393 387 pDriver->preclose = vboxVideoSolarisPreClose; 394 pDriver->lastclose = vboxVideoSolaris Unload;388 pDriver->lastclose = vboxVideoSolarisLastClose; 395 389 pDriver->device_is_agp = drm_device_is_agp; 396 390 #if 0 -
trunk/src/VBox/Additions/solaris/Makefile.kmk
r17698 r18085 29 29 ifeq ($(KBUILD_HOST),solaris) 30 30 include $(PATH_SUB_CURRENT)/SharedFolders/Makefile.kmk 31 include $(PATH_SUB_CURRENT)/DRM/Makefile.kmk 31 32 endif 32 33
Note:
See TracChangeset
for help on using the changeset viewer.