Changeset 22149 in vbox
- Timestamp:
- Aug 11, 2009 9:40:48 AM (15 years ago)
- Location:
- trunk/src/VBox/Additions/x11/vboxvideo
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/x11/vboxvideo/vboxvideo.h
r22054 r22149 49 49 * Conectiva Linux. 50 50 * 51 * Authors: Paulo C �ar Pereira de Andrade <[email protected]>51 * Authors: Paulo César Pereira de Andrade <[email protected]> 52 52 * 53 53 * $XFree86: xc/programs/Xserver/hw/xfree86/drivers/vesa/vesa.h,v 1.9 2001/05/04 19:05:49 dawes Exp $ … … 98 98 #include "xf86.h" 99 99 #include "xf86_OSproc.h" 100 #include "xf86Resources.h" 100 #if GET_ABI_MAJOR(ABI_VIDEODRV_VERSION) < 6 101 # include "xf86Resources.h" 102 #endif 101 103 102 104 #ifndef NO_ANSIC … … 141 143 #include "dgaproc.h" 142 144 143 #include "xf86RAC.h" 145 #if GET_ABI_MAJOR(ABI_VIDEODRV_VERSION) < 6 146 # include "xf86RAC.h" 147 #endif 144 148 145 149 #include "fb.h" -
trunk/src/VBox/Additions/x11/vboxvideo/vboxvideo_13.c
r22093 r22149 470 470 }; 471 471 472 /*473 * List of symbols from other modules that this module references. This474 * list is used to tell the loader that it is OK for symbols here to be475 * unresolved providing that it hasn't been told that they are essential476 * via a call to xf86LoaderReqSymbols() or xf86LoaderReqSymLists(). The477 * purpose is this is to avoid warnings about unresolved symbols that are478 * not required.479 */480 static const char *fbSymbols[] = {481 "fbPictureInit",482 "fbScreenInit",483 NULL484 };485 486 static const char *shadowfbSymbols[] = {487 "ShadowFBInit2",488 NULL489 };490 491 static const char *vbeSymbols[] = {492 "VBEExtendedInit",493 "VBEFindSupportedDepths",494 "VBEGetModeInfo",495 "VBEGetVBEInfo",496 "VBEGetVBEMode",497 "VBEPrintModes",498 "VBESaveRestore",499 "VBESetDisplayStart",500 "VBESetGetDACPaletteFormat",501 "VBESetGetLogicalScanlineLength",502 "VBESetGetPaletteData",503 "VBESetModeNames",504 "VBESetModeParameters",505 "VBESetVBEMode",506 "VBEValidateModes",507 "vbeDoEDID",508 "vbeFree",509 NULL510 };511 512 static const char *ramdacSymbols[] = {513 "xf86InitCursor",514 "xf86CreateCursorInfoRec",515 NULL516 };517 518 static const char *vgahwSymbols[] = {519 "vgaHWGetHWRec",520 "vgaHWHandleColormaps",521 "vgaHWFreeHWRec",522 "vgaHWMapMem",523 "vgaHWUnmapMem",524 "vgaHWSaveFonts",525 "vgaHWRestoreFonts",526 NULL527 };528 529 #ifdef VBOX_DRI530 static const char *drmSymbols[] = {531 "drmFreeVersion",532 "drmGetVersion",533 NULL534 };535 536 static const char *driSymbols[] = {537 "DRICloseScreen",538 "DRICreateInfoRec",539 "DRIDestroyInfoRec",540 "DRIFinishScreenInit",541 "DRIGetSAREAPrivate",542 "DRILock",543 "DRIMoveBuffersHelper",544 "DRIQueryVersion",545 "DRIScreenInit",546 "DRIUnlock",547 "GlxSetVisualConfigs",548 "DRICreatePCIBusID",549 NULL550 };551 #endif552 553 472 #ifdef XFree86LOADER 554 473 /* Module loader interface */ … … 592 511 xf86Msg(X_CONFIG, "Load address of symbol \"VBOXVIDEO\" is %p\n", 593 512 (void *)&VBOXVIDEO); 594 LoaderRefSymLists(fbSymbols,595 shadowfbSymbols,596 vbeSymbols,597 ramdacSymbols,598 #ifdef VBOX_DRI599 drmSymbols, driSymbols,600 #endif601 NULL);602 513 return (pointer)TRUE; 603 514 } … … 775 686 if (!xf86LoadSubModule(pScrn, "vbe")) 776 687 return (FALSE); 777 xf86LoaderReqSymLists(vbeSymbols, NULL);778 688 779 689 if ((pVBox->pVbe = VBEExtendedInit(NULL, pVBox->pEnt->index, … … 795 705 if (!xf86LoadSubModule(pScrn, "ramdac")) 796 706 return FALSE; 797 xf86LoaderReqSymLists(ramdacSymbols, NULL);798 707 799 708 /* The framebuffer module. */ 800 709 if (xf86LoadSubModule(pScrn, "fb") == NULL) 801 710 return (FALSE); 802 xf86LoaderReqSymLists(fbSymbols, NULL);803 711 804 712 if (!xf86LoadSubModule(pScrn, "shadowfb")) 805 713 return FALSE; 806 xf86LoaderReqSymLists(shadowfbSymbols, NULL);807 714 808 715 if (!xf86LoadSubModule(pScrn, "vgahw")) 809 716 return FALSE; 810 xf86LoaderReqSymLists(vgahwSymbols, NULL);811 717 812 718 /* Set up our ScrnInfoRec structure to describe our virtual … … 902 808 #ifdef VBOX_DRI 903 809 /* Load the dri module. */ 904 if (xf86LoadSubModule(pScrn, "dri")) { 905 xf86LoaderReqSymLists(driSymbols, drmSymbols, NULL); 906 } 810 if (!xf86LoadSubModule(pScrn, "dri")) 811 return FALSE; 907 812 #endif 908 813 return (TRUE);
Note:
See TracChangeset
for help on using the changeset viewer.