Changeset 35393 in vbox for trunk/src/VBox/Additions
- Timestamp:
- Jan 3, 2011 8:14:27 PM (14 years ago)
- Location:
- trunk/src/VBox/Additions
- Files:
-
- 20 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/common/VBoxVideo/HGSMIBase.cpp
r35118 r35393 25 25 #include <iprt/asm.h> 26 26 #include <iprt/log.h> 27 28 #include <string.h> 27 #include <iprt/string.h> 29 28 30 29 /** Send completion notification to the host for the command located at offset -
trunk/src/VBox/Additions/common/VBoxVideo/VBVABase.cpp
r35292 r35393 22 22 #include <VBox/log.h> 23 23 #include <iprt/assert.h> 24 25 #include <string.h> 24 #include <iprt/string.h> 26 25 27 26 /* -
trunk/src/VBox/Additions/x11/vboxmouse/Makefile.kmk
r35380 r35393 38 38 XFree86LOADER XFree86Server XF86VIDMODE XvMCExtension SMART_SCHEDULE \ 39 39 BUILDDEBUG X_BYTE_ORDER=X_LITTLE_ENDIAN DNDEBUG FUNCPROTO=15 NARROWPROTO \ 40 IN_MODULE XFree86Module PNP_MOUSE 40 IN_MODULE XFree86Module PNP_MOUSE IN_XF86_MODULE 41 41 vboxmouse_drv_INCS := \ 42 42 $(VBOX_PATH_X11_XFREE_4_3)/include \ … … 63 63 vboxmouse_drv_70_TEMPLATE = VBOXGUESTR3XORGMOD 64 64 vboxmouse_drv_70_DEFS = \ 65 XFree86Server IN_MODULE XFree86Module XFree86LOADER XINPUT XORG_7X 65 XFree86Server IN_MODULE XFree86Module XFree86LOADER XINPUT XORG_7X IN_XF86_MODULE 66 66 ifeq ($(KBUILD_TARGET),solaris) # don't use .solaris or anything here. 67 67 vboxmouse_drv_70_DEFS += _XPG6 __EXTENSIONS__ -
trunk/src/VBox/Additions/x11/vboxmouse/VBoxUtils.c
r32831 r35393 24 24 #include "xf86.h" 25 25 #define NEED_XF86_TYPES 26 #ifdef NO_ANSIC 27 # include <errno.h> 28 # include <string.h> 29 #else 30 # include "xf86_ansic.h" 31 #endif 26 #include <iprt/string.h> 32 27 #include "compiler.h" 33 28 -
trunk/src/VBox/Additions/x11/vboxvideo/Makefile.kmk
r35380 r35393 38 38 XFree86LOADER XFree86Server XF86VIDMODE XvMCExtension SMART_SCHEDULE \ 39 39 BUILDDEBUG X_BYTE_ORDER=X_LITTLE_ENDIAN DNDEBUG FUNCPROTO=15 NARROWPROTO \ 40 IN_MODULE XFree86Module 40 IN_MODULE XFree86Module IN_XF86_MODULE 41 41 vboxvideo_drv_DEFS += memset=xf86memset memcpy=xf86memcpy 42 42 vboxvideo_drv_INCS = \ … … 75 75 vboxutils.c \ 76 76 $(PATH_ROOT)/src/VBox/Additions/common/VBoxVideo/HGSMIBase.cpp \ 77 $(PATH_ROOT)/src/VBox/Additions/common/VBoxVideo/Modesetting.cpp \ 78 $(PATH_ROOT)/src/VBox/Additions/common/VBoxVideo/VBVABase.cpp \ 77 79 $(PATH_ROOT)/src/VBox/GuestHost/HGSMI/HGSMICommon.cpp \ 78 80 $(PATH_ROOT)/src/VBox/Runtime/common/alloc/heapsimple.cpp \ 79 $(PATH_ROOT)/src/VBox/Runtime/common/alloc/heapoffset.cpp \ 80 $(PATH_ROOT)/src/VBox/Additions/common/VBoxVideo/VBVABase.cpp \ 81 $(PATH_ROOT)/src/VBox/Additions/common/VBoxVideo/Modesetting.cpp 81 $(PATH_ROOT)/src/VBox/Runtime/common/alloc/heapoffset.cpp 82 82 83 83 … … 97 97 endif 98 98 vboxvideo_drv_70_DEFS := \ 99 XFree86Server IN_MODULE XFree86Module XFree86LOADER XORG_7X RENDER=1 99 XFree86Server IN_MODULE XFree86Module XFree86LOADER XORG_7X RENDER=1 IN_XF86_MODULE 100 100 ifeq ($(KBUILD_TARGET),solaris) # don't use .solaris or anything here. 101 101 vboxvideo_drv_70_DEFS += __EXTENSIONS__ -
trunk/src/VBox/Additions/x11/vboxvideo/vboxutils.c
r35351 r35393 25 25 #include "xf86.h" 26 26 #define NEED_XF86_TYPES 27 #ifdef NO_ANSIC 28 # include <string.h> 29 #else 30 # include "xf86_ansic.h" 31 #endif 27 #include <iprt/string.h> 32 28 #include "compiler.h" 33 29 #include "cursorstr.h" -
trunk/src/VBox/Additions/x11/vboxvideo/vboxvideo.c
r35351 r35393 1160 1160 { 1161 1161 VBOXPtr pVBox = VBOXGetRec(pScrn); 1162 int64_t cbOldFB, cbNewFB;1162 uint64_t cbOldFB, cbNewFB; 1163 1163 1164 1164 cbOldFB = pVBox->cbLine * pScrn->virtualX; -
trunk/src/VBox/Additions/x11/vboxvideo/vboxvideo.h
r35268 r35393 107 107 #endif 108 108 109 #ifndef NO_ANSIC 110 /* All drivers need this */ 111 # include "xf86_ansic.h" 112 #endif 113 109 #include <iprt/string.h> 114 110 #include "compiler.h" 115 111 -
trunk/src/VBox/Additions/x11/x11include/1.3/xorg/xf86_ansic.h
r17236 r35393 265 265 extern void* xf86mmap(void*, xf86size_t, int, int, int, xf86size_t /* off_t */); 266 266 extern int xf86munmap(void*, xf86size_t); 267 extern int xf86stat(const char *, struct xf86stat *);268 extern int xf86fstat(int, struct xf86stat *);267 extern int xf86stat(const char *, struct xf86stat_s *); 268 extern int xf86fstat(int, struct xf86stat_s *); 269 269 extern int xf86access(const char *, int); 270 270 extern int xf86errno; -
trunk/src/VBox/Additions/x11/x11include/1.3/xorg/xf86_libc.h
r17236 r35393 86 86 typedef unsigned int xf86gid_t; 87 87 88 struct xf86stat {88 struct xf86stat_s { 89 89 xf86dev_t st_rdev; /* This is incomplete, and makes assumptions */ 90 90 }; … … 549 549 #define gid_t xf86gid_t 550 550 #undef stat_t 551 #define stat_t struct xf86stat 551 #define stat_t struct xf86stat_s 552 552 553 553 #undef ulong -
trunk/src/VBox/Additions/x11/x11include/1.4/xorg/xf86_ansic.h
r17236 r35393 249 249 extern void* xf86mmap(void*, xf86size_t, int, int, int, xf86size_t /* off_t */); 250 250 extern int xf86munmap(void*, xf86size_t); 251 extern int xf86stat(const char *, struct xf86stat *);252 extern int xf86fstat(int, struct xf86stat *);251 extern int xf86stat(const char *, struct xf86stat_s *); 252 extern int xf86fstat(int, struct xf86stat_s *); 253 253 extern int xf86access(const char *, int); 254 254 extern int xf86errno; -
trunk/src/VBox/Additions/x11/x11include/1.4/xorg/xf86_libc.h
r17236 r35393 86 86 typedef unsigned int xf86gid_t; 87 87 88 struct xf86stat {88 struct xf86stat_s { 89 89 xf86dev_t st_rdev; /* This is incomplete, and makes assumptions */ 90 90 }; … … 549 549 #define gid_t xf86gid_t 550 550 #undef stat_t 551 #define stat_t struct xf86stat 551 #define stat_t struct xf86stat_s 552 552 553 553 #undef ulong -
trunk/src/VBox/Additions/x11/x11include/4.3/programs/Xserver/hw/xfree86/os-support/xf86_ansic.h
r17242 r35393 272 272 extern void* xf86mmap(void*, xf86size_t, int, int, int, xf86size_t /* off_t */); 273 273 extern int xf86munmap(void*, xf86size_t); 274 extern int xf86stat(const char *, struct xf86stat *);275 extern int xf86fstat(int, struct xf86stat *);274 extern int xf86stat(const char *, struct xf86stat_s *); 275 extern int xf86fstat(int, struct xf86stat_s *); 276 276 extern int xf86access(const char *, int); 277 277 extern int xf86errno; -
trunk/src/VBox/Additions/x11/x11include/4.3/programs/Xserver/hw/xfree86/os-support/xf86_libc.h
r17242 r35393 64 64 typedef unsigned int xf86gid_t; 65 65 66 struct xf86stat {66 struct xf86stat_s { 67 67 xf86dev_t st_rdev; /* This is incomplete, and makes assumptions */ 68 68 }; … … 505 505 #define gid_t xf86gid_t 506 506 #undef stat_t 507 #define stat_t struct xf86stat 507 #define stat_t struct xf86stat_s 508 508 509 509 #undef ulong -
trunk/src/VBox/Additions/x11/x11include/7.0/xorg/xf86_ansic.h
r17236 r35393 274 274 extern void* xf86mmap(void*, xf86size_t, int, int, int, xf86size_t /* off_t */); 275 275 extern int xf86munmap(void*, xf86size_t); 276 extern int xf86stat(const char *, struct xf86stat *);277 extern int xf86fstat(int, struct xf86stat *);276 extern int xf86stat(const char *, struct xf86stat_s *); 277 extern int xf86fstat(int, struct xf86stat_s *); 278 278 extern int xf86access(const char *, int); 279 279 extern int xf86errno; -
trunk/src/VBox/Additions/x11/x11include/7.0/xorg/xf86_libc.h
r17236 r35393 90 90 typedef unsigned int xf86gid_t; 91 91 92 struct xf86stat {92 struct xf86stat_s { 93 93 xf86dev_t st_rdev; /* This is incomplete, and makes assumptions */ 94 94 }; … … 553 553 #define gid_t xf86gid_t 554 554 #undef stat_t 555 #define stat_t struct xf86stat 555 #define stat_t struct xf86stat_s 556 556 557 557 #undef ulong -
trunk/src/VBox/Additions/x11/x11include/7.1/xorg/xf86_ansic.h
r17236 r35393 275 275 extern void* xf86mmap(void*, xf86size_t, int, int, int, xf86size_t /* off_t */); 276 276 extern int xf86munmap(void*, xf86size_t); 277 extern int xf86stat(const char *, struct xf86stat *);278 extern int xf86fstat(int, struct xf86stat *);277 extern int xf86stat(const char *, struct xf86stat_s *); 278 extern int xf86fstat(int, struct xf86stat_s *); 279 279 extern int xf86access(const char *, int); 280 280 extern int xf86errno; -
trunk/src/VBox/Additions/x11/x11include/7.1/xorg/xf86_libc.h
r17236 r35393 90 90 typedef unsigned int xf86gid_t; 91 91 92 struct xf86stat {92 struct xf86stat_s { 93 93 xf86dev_t st_rdev; /* This is incomplete, and makes assumptions */ 94 94 }; … … 555 555 #define gid_t xf86gid_t 556 556 #undef stat_t 557 #define stat_t struct xf86stat 557 #define stat_t struct xf86stat_s 558 558 559 559 #undef ulong -
trunk/src/VBox/Additions/x11/x11include/xorg-server-1.3.0.0/xf86_ansic.h
r25078 r35393 265 265 extern void* xf86mmap(void*, xf86size_t, int, int, int, xf86size_t /* off_t */); 266 266 extern int xf86munmap(void*, xf86size_t); 267 extern int xf86stat(const char *, struct xf86stat *);268 extern int xf86fstat(int, struct xf86stat *);267 extern int xf86stat(const char *, struct xf86stat_s *); 268 extern int xf86fstat(int, struct xf86stat_s *); 269 269 extern int xf86access(const char *, int); 270 270 extern int xf86errno; -
trunk/src/VBox/Additions/x11/x11include/xorg-server-1.3.0.0/xf86_libc.h
r25078 r35393 86 86 typedef unsigned int xf86gid_t; 87 87 88 struct xf86stat {88 struct xf86stat_s { 89 89 xf86dev_t st_rdev; /* This is incomplete, and makes assumptions */ 90 90 }; … … 549 549 #define gid_t xf86gid_t 550 550 #undef stat_t 551 #define stat_t struct xf86stat 551 #define stat_t struct xf86stat_s 552 552 553 553 #undef ulong
Note:
See TracChangeset
for help on using the changeset viewer.