Changeset 32164 in vbox
- Timestamp:
- Aug 31, 2010 9:41:48 PM (14 years ago)
- Location:
- trunk/src/VBox/Additions/x11
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/x11/vboxmouse/Makefile.kmk
r31391 r32164 176 176 $(VBOX_PATH_X11_ROOT)/xorg-server-1.6.99-20090831 \ 177 177 $(VBOX_PATH_X11_ROOT)/xorg-server-1.6.0-local \ 178 $(VBOX_PATH_X11_ROOT)/xproto-7.0.1 5\178 $(VBOX_PATH_X11_ROOT)/xproto-7.0.18 \ 179 179 $(PATH_SUB_CURRENT) 180 180 vboxmouse_drv_17_SOURCES = \ … … 196 196 $(VBOX_PATH_X11_ROOT)/xorg-server-1.8.0 \ 197 197 $(VBOX_PATH_X11_ROOT)/xorg-server-1.6.0-local \ 198 $(VBOX_PATH_X11_ROOT)/xproto-7.0.1 5\198 $(VBOX_PATH_X11_ROOT)/xproto-7.0.18 \ 199 199 $(PATH_SUB_CURRENT) 200 200 vboxmouse_drv_18_SOURCES = \ 201 vboxmouse_15.c 202 203 204 # 205 # vboxmouse_drv_19 206 # 207 DLLS += vboxmouse_drv_19 208 vboxmouse_drv_19_TEMPLATE = VBOXGUESTR3XORGMOD 209 vboxmouse_drv_19_DEFS := $(vboxmouse_drv_70_DEFS) NO_ANSIC 210 ## @todo replace $(VBOX_PATH_X11_ROOT)/xorg-server-1.6.0-local 211 vboxmouse_drv_19_INCS := \ 212 $(VBOX_PATH_X11_ROOT)/inputproto-1.9.99.902 \ 213 $(VBOX_PATH_X11_ROOT)/libpciaccess-0.10.8 \ 214 $(VBOX_PATH_X11_ROOT)/pixman-0.16.0 \ 215 $(VBOX_PATH_X11_ROOT)/xextproto-7.1.1 \ 216 $(VBOX_PATH_X11_ROOT)/xorg-server-1.9.0 \ 217 $(VBOX_PATH_X11_ROOT)/xorg-server-1.6.0-local \ 218 $(VBOX_PATH_X11_ROOT)/xproto-7.0.18 \ 219 $(PATH_SUB_CURRENT) 220 vboxmouse_drv_19_SOURCES = \ 201 221 vboxmouse_15.c 202 222 … … 287 307 $(QUIET)$(APPEND) -t "$@" "done" 288 308 309 TESTING += $(PATH_vboxmouse_drv_19)/tstvboxmouse19.run 310 OTHERS += $(PATH_vboxmouse_drv_19)/tstvboxmouse19.run 311 $$(PATH_vboxmouse_drv_19)/tstvboxmouse19.run: $$(INSTARGET_vboxmouse_drv_19) 312 $(QUIET)$(call MSG_L1,Checking for unresolved symbols in $<) 313 $(QUIET)/bin/sh $(PATH_ROOT)/src/bldprogs/checkUndefined.sh $(KBUILD_TARGET) \ 314 $(INSTARGET_vboxmouse_drv_19) $(OUR_PATH_VBOXMOUSE)/undefined_15 315 $(QUIET)$(APPEND) -t "$@" "done" 316 289 317 endif # ! VBOX_ONLY_SDK 290 318 endif # eq ($(KBUILD_HOST_ARCH),$(KBUILD_TARGET_ARCH)) -
trunk/src/VBox/Additions/x11/vboxvideo/Makefile.kmk
r31414 r32164 97 97 $(VBOX_PATH_X11_XORG_7_0)/X11 \ 98 98 $(VBOX_PATH_X11_XORG_7_0)/xorg 99 vboxvideo_drv_70_SOURCES = \ 100 vboxvideo_70.c \ 101 vboxutils.c 99 vboxvideo_drv_70_SOURCES = $(vboxvideo_drv_SOURCES) 102 100 103 101 … … 113 111 $(VBOX_PATH_X11_XORG_7_1)/X11 \ 114 112 $(VBOX_PATH_X11_XORG_7_1)/xorg 115 vboxvideo_drv_71_SOURCES = \ 116 vboxvideo_70.c \ 117 vboxutils.c 113 vboxvideo_drv_71_SOURCES = $(vboxvideo_drv_SOURCES) 118 114 119 115 … … 156 152 $(VBOX_PATH_X11_ROOT)/libdrm-2.4.13 \ 157 153 $(VBOX_PATH_X11_ROOT)/xf86driproto-2.1.0 158 vboxvideo_drv_14_SOURCES = \ 159 vboxvideo_13.c \ 160 vboxutils.c 154 vboxvideo_drv_14_SOURCES = $(vboxvideo_drv_13_SOURCES) 161 155 162 156 … … 180 174 $(VBOX_PATH_X11_ROOT)/xf86driproto-2.1.0 \ 181 175 $(VBOX_PATH_X11_ROOT)/xorg-server-1.5.3 182 vboxvideo_drv_15_SOURCES = \ 183 vboxvideo_13.c \ 184 vboxutils.c 176 vboxvideo_drv_15_SOURCES = $(vboxvideo_drv_13_SOURCES) 185 177 if1of ($(KBUILD_TARGET), linux solaris) 186 178 vboxvideo_drv_15_SOURCES += \ … … 230 222 $(VBOX_PATH_X11_ROOT)/xorg-server-1.6.99-20090831 \ 231 223 $(VBOX_PATH_X11_ROOT)/xorg-server-1.6.0-local \ 232 $(VBOX_PATH_X11_ROOT)/xproto-7.0.1 5224 $(VBOX_PATH_X11_ROOT)/xproto-7.0.18 233 225 vboxvideo_drv_17_SOURCES := $(vboxvideo_drv_15_SOURCES) 234 226 … … 256 248 $(VBOX_PATH_X11_ROOT)/xorg-server-1.8.0 \ 257 249 $(VBOX_PATH_X11_ROOT)/xorg-server-1.6.0-local \ 258 $(VBOX_PATH_X11_ROOT)/xproto-7.0.1 5250 $(VBOX_PATH_X11_ROOT)/xproto-7.0.18 259 251 vboxvideo_drv_18_SOURCES := $(vboxvideo_drv_15_SOURCES) 252 253 254 # 255 # vboxvideo_drv_19 256 # 257 DLLS += vboxvideo_drv_19 258 vboxvideo_drv_19_TEMPLATE = VBOXGUESTR3XORGMOD 259 vboxvideo_drv_19_CFLAGS := $(vboxvideo_drv_70_CFLAGS) 260 vboxvideo_drv_19_DEFS := $(vboxvideo_drv_15_DEFS) 261 ## @todo replace $(VBOX_PATH_X11_ROOT)/xorg-server-1.6.0-local 262 vboxvideo_drv_19_INCS = \ 263 $(VBOX_PATH_X11_ROOT)/fontsproto-2.1.0 \ 264 $(VBOX_PATH_X11_ROOT)/glproto-1.4.10 \ 265 $(VBOX_PATH_X11_ROOT)/mesa-7.2/include \ 266 $(VBOX_PATH_X11_ROOT)/inputproto-1.9.99.902 \ 267 $(VBOX_PATH_X11_ROOT)/libdrm-2.4.13 \ 268 $(VBOX_PATH_X11_ROOT)/libpciaccess-0.10.8 \ 269 $(VBOX_PATH_X11_ROOT)/pixman-0.16.0 \ 270 $(VBOX_PATH_X11_ROOT)/randrproto-1.3.0 \ 271 $(VBOX_PATH_X11_ROOT)/renderproto-0.11 \ 272 $(VBOX_PATH_X11_ROOT)/xextproto-7.1.1 \ 273 $(VBOX_PATH_X11_ROOT)/xf86driproto-2.1.0 \ 274 $(VBOX_PATH_X11_ROOT)/xorg-server-1.9.0 \ 275 $(VBOX_PATH_X11_ROOT)/xorg-server-1.6.0-local \ 276 $(VBOX_PATH_X11_ROOT)/xproto-7.0.18 277 vboxvideo_drv_19_SOURCES := $(vboxvideo_drv_15_SOURCES) 260 278 261 279 … … 343 361 $(QUIET)$(APPEND) -t "$@" "done" 344 362 363 TESTING += $(PATH_vboxvideo_drv_19)/tstvboxvideo19.run 364 OTHERS += $(PATH_vboxvideo_drv_19)/tstvboxvideo19.run 365 $$(PATH_vboxvideo_drv_19)/tstvboxvideo19.run: $$(INSTARGET_vboxvideo_drv_19) 366 $(QUIET)$(call MSG_L1,Checking for unresolved symbols in $<) 367 $(QUIET)/bin/sh $(PATH_ROOT)/src/bldprogs/checkUndefined.sh $(KBUILD_TARGET) \ 368 $(INSTARGET_vboxvideo_drv_19) $(OUR_PATH_VBOXVIDEO)/undefined_13 369 $(QUIET)$(APPEND) -t "$@" "done" 370 345 371 endif # ! VBOX_ONLY_SDK 346 372 endif # eq ($(KBUILD_HOST_ARCH),$(KBUILD_TARGET_ARCH)) -
trunk/src/VBox/Additions/x11/vboxvideo/undefined_68
r31409 r32164 87 87 xf86UnMapVidMem 88 88 xf86ValidateModes 89 xf86calloc 89 90 xf86close 90 91 xf86errno 92 xf86free 91 93 xf86ioctl 92 94 xf86isspace -
trunk/src/VBox/Additions/x11/vboxvideo/vboxutils.c
r28800 r32164 173 173 TRACE_ENTRY(); 174 174 175 xfree (pVBox->reqp);175 free (pVBox->reqp); 176 176 pVBox->reqp = NULL; 177 177 TRACE_EXIT(); … … 437 437 438 438 size = vmmdevGetRequestSize(VMMDevReq_SetPointerShape); 439 p = xcalloc(1, size);439 p = calloc(1, size); 440 440 if (p) 441 441 { … … 450 450 } 451 451 xf86DrvMsg(scrnIndex, X_ERROR, "Could not init VMM request: rc = %d\n", rc); 452 xfree(p);452 free(p); 453 453 } 454 454 xf86DrvMsg(scrnIndex, X_ERROR, "Could not allocate %lu bytes for VMM request\n", (unsigned long)size); … … 609 609 sizeRequest = pVBox->pointerSize + pVBox->pointerHeaderSize; 610 610 611 p = c = xcalloc (1, sizeRequest);611 p = c = calloc (1, sizeRequest); 612 612 if (!c) 613 613 RETERROR(scrnIndex, NULL, … … 619 619 { 620 620 xf86DrvMsg(scrnIndex, X_ERROR, "Could not init VMM request: rc = %d\n", rc); 621 xfree(p);621 free(p); 622 622 return NULL; 623 623 } … … 766 766 pVBox->pointerSize = w * h * 4 + sizeMask; 767 767 sizeRequest = pVBox->pointerSize + pVBox->pointerHeaderSize; 768 p = xcalloc(1, sizeRequest);768 p = calloc(1, sizeRequest); 769 769 if (!p) 770 770 RETERROR(scrnIndex, , … … 816 816 817 817 VbglR3SetPointerShapeReq(reqp); 818 xfree(p);818 free(p); 819 819 } 820 820 #endif … … 1092 1092 { 1093 1093 if (m->name) 1094 xfree(m->name);1094 free(m->name); 1095 1095 m->name = xnfstrdup(pszName); 1096 1096 } -
trunk/src/VBox/Additions/x11/vboxvideo/vboxvideo_13.c
r29384 r32164 170 170 { 171 171 if (!pScrn->driverPrivate) { 172 pScrn->driverPrivate = xcalloc(sizeof(VBOXRec), 1);172 pScrn->driverPrivate = calloc(sizeof(VBOXRec), 1); 173 173 } 174 174 … … 180 180 { 181 181 VBOXPtr pVBox = VBOXGetRec(pScrn); 182 xfree(pVBox->savedPal);183 xfree(pVBox->fonts);184 xfree(pScrn->driverPrivate);182 free(pVBox->savedPal); 183 free(pVBox->fonts); 184 free(pScrn->driverPrivate); 185 185 pScrn->driverPrivate = NULL; 186 186 } … … 626 626 } 627 627 } 628 xfree(usedChips);628 free(usedChips); 629 629 } 630 630 } 631 631 632 xfree(devSections);632 free(devSections); 633 633 634 634 return (foundScreen); … … 760 760 /* options */ 761 761 xf86CollectOptions(pScrn, NULL); 762 if (!(pVBox->Options = xalloc(sizeof(VBOXOptions))))762 if (!(pVBox->Options = malloc(sizeof(VBOXOptions)))) 763 763 return FALSE; 764 764 memcpy(pVBox->Options, VBOXOptions, sizeof(VBOXOptions)); … … 1123 1123 mode = xf86CVTMode(p->HDisplay, p->VDisplay, v, 0, 0); 1124 1124 ret = xf86CheckModeForMonitor(mode, mon); 1125 xfree(mode);1125 free(mode); 1126 1126 if (ret == MODE_OK) 1127 1127 break; … … 1351 1351 /* don't rely on the memory not being touched */ 1352 1352 if (pVBox->pstate == NULL) 1353 pVBox->pstate = xalloc(pVBox->stateSize);1353 pVBox->pstate = malloc(pVBox->stateSize); 1354 1354 memcpy(pVBox->pstate, pVBox->state, 1355 1355 (unsigned) pVBox->stateSize);
Note:
See TracChangeset
for help on using the changeset viewer.