Changeset 31384 in vbox
- Timestamp:
- Aug 5, 2010 9:18:11 AM (15 years ago)
- svn:sync-xref-src-repo-rev:
- 64441
- Location:
- trunk/src/VBox/Additions
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/common/VBoxGuestLib/VBoxGuestR3LibGuestProp.cpp ¶
r30320 r31384 48 48 # undef memchr 49 49 # define memchr xf86memchr 50 51 # undef RTSTrEnd 52 # define RTStrEnd xf86RTStrEnd 53 54 DECLINLINE(char const *) RTStrEnd(char const *pszString, size_t cchMax) 55 { 56 /* Avoid potential issues with memchr seen in glibc. */ 57 if (cchMax > RTSTR_MEMCHR_MAX) 58 { 59 char const *pszRet = (char const *)memchr(pszString, '\0', RTSTR_MEMCHR_MAX); 60 if (RT_LIKELY(pszRet)) 61 return pszRet; 62 pszString += RTSTR_MEMCHR_MAX; 63 cchMax -= RTSTR_MEMCHR_MAX; 64 } 65 return (char const *)memchr(pszString, '\0', cchMax); 66 } 67 68 DECLINLINE(char *) RTStrEnd(char *pszString, size_t cchMax) 69 { 70 /* Avoid potential issues with memchr seen in glibc. */ 71 if (cchMax > RTSTR_MEMCHR_MAX) 72 { 73 char *pszRet = (char *)memchr(pszString, '\0', RTSTR_MEMCHR_MAX); 74 if (RT_LIKELY(pszRet)) 75 return pszRet; 76 pszString += RTSTR_MEMCHR_MAX; 77 cchMax -= RTSTR_MEMCHR_MAX; 78 } 79 return (char *)memchr(pszString, '\0', cchMax); 80 } 81 50 82 #endif /* VBOX_VBGLR3_XFREE86 */ 51 83 -
trunk/src/VBox/Additions/common/VBoxGuestLib/VBoxGuestR3LibSeamless.cpp ¶
r28800 r31384 37 37 #include "VBGLR3Internal.h" 38 38 39 #ifdef VBOX_VBGLR3_XFREE86 40 /* Rather than try to resolve all the header file conflicts, I will just 41 prototype what we need here. */ 42 extern "C" void* xf86memcpy(void*,const void*,xf86size_t); 43 # undef memcpy 44 # define memcpy xf86memcpy 45 #endif /* VBOX_VBGLR3_XFREE86 */ 39 46 40 47 /** -
trunk/src/VBox/Additions/common/VBoxGuestLib/VBoxGuestR3LibVideo.cpp ¶
r28800 r31384 36 36 37 37 #include "VBGLR3Internal.h" 38 39 #ifdef VBOX_VBGLR3_XFREE86 40 /* Rather than try to resolve all the header file conflicts, I will just 41 prototype what we need here. */ 42 extern "C" void* xf86memcpy(void*,const void*,xf86size_t); 43 # undef memcpy 44 # define memcpy xf86memcpy 45 #endif /* VBOX_VBGLR3_XFREE86 */ 38 46 39 47 #define VIDEO_PROP_PREFIX "/VirtualBox/GuestAdd/Vbgl/Video/" -
trunk/src/VBox/Additions/x11/vboxvideo/Makefile.kmk ¶
r28800 r31384 276 276 $$(PATH_vboxvideo_drv)/tstvboxvideo68.run: $$(INSTARGET_vboxvideo_drv) 277 277 $(QUIET)/bin/sh $(PATH_ROOT)/src/bldprogs/checkUndefined.sh $(KBUILD_TARGET) \ 278 $(INSTARGET_vboxvideo_drv) $(OUR_PATH_VBOXVIDEO)/undefined_ 70--static278 $(INSTARGET_vboxvideo_drv) $(OUR_PATH_VBOXVIDEO)/undefined_68 --static 279 279 $(QUIET)$(APPEND) -t "$@" "done" 280 280 endif -
trunk/src/VBox/Additions/x11/vboxvideo/undefined_68 ¶
r31295 r31384 1 1 DGAInit 2 ErrorF 2 3 LoaderRefSymLists 3 4 PixmapWidthPaddingInfo 4 5 SetTimeSinceLastInputEvent 5 6 ShadowFBInit2 7 VBEExtendedInit 6 8 VBEGetVBEMode 7 9 VBEInit … … 10 12 VBESetGetPaletteData 11 13 VBESetVBEMode 14 VErrorF 12 15 XNFalloc 13 16 XNFcalloc 14 17 XNFrealloc 18 XNFstrdup 15 19 Xalloc 16 20 Xcalloc … … 34 38 sigdelset 35 39 sigfillset 40 vgaHWDPMSSet 41 vgaHWFreeHWRec 42 vgaHWGetHWRec 43 vgaHWGetIndex 44 vgaHWHandleColormaps 45 vgaHWMapMem 46 vgaHWRestoreFonts 47 vgaHWSaveFonts 48 vgaHWSaveScreen 49 vgaHWUnmapMem 36 50 xf86AddDriver 37 51 xf86CollectOptions … … 39 53 xf86CreateCursorInfoRec 40 54 xf86DPMSInit 55 xf86DestroyCursorInfoRec 41 56 xf86DrvMsg 42 57 xf86GetEntityInfo … … 53 68 xf86MatchDevice 54 69 xf86MatchPciInstances 70 xf86Msg 55 71 xf86PrintChipsets 56 72 xf86PrintDepthBpp … … 73 89 xf86errno 74 90 xf86ioctl 91 xf86isspace 92 xf86memchr 75 93 xf86memcpy 76 94 xf86memset 77 95 xf86open 96 xf86sprintf 78 97 xf86sscanf 98 xf86strcmp 99 xf86strcpy 79 100 xf86strdup 80 101 xf86strerror 102 xf86strlen 103 xf86strtoul 104 xf86vsnprintf
Note:
See TracChangeset
for help on using the changeset viewer.