Changeset 100108 in vbox for trunk/src/VBox/Devices
- Timestamp:
- Jun 7, 2023 8:05:13 PM (22 months ago)
- svn:sync-xref-src-repo-rev:
- 157801
- Location:
- trunk/src/VBox/Devices
- Files:
-
- 10 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Audio/DrvHostAudioCoreAudio.cpp
r98103 r100108 62 62 #include <AudioToolbox/AudioQueue.h> 63 63 #include <AudioUnit/AudioUnit.h> 64 65 66 RT_GCC_NO_WARN_DEPRECATED_BEGIN /* Much here is deprecated since 12.0 */ 64 67 65 68 #if MAC_OS_X_VERSION_MIN_REQUIRED < 1090 /* possibly 1080 */ … … 2924 2927 PDM_DRVREG_VERSION 2925 2928 }; 2929 2930 RT_GCC_NO_WARN_DEPRECATED_END -
trunk/src/VBox/Devices/EFI/DevSmc.cpp
r98103 r100108 543 543 AssertReturn(cbKey >= 65, VERR_INTERNAL_ERROR); 544 544 545 RT_GCC_NO_WARN_DEPRECATED_BEGIN /* kIOMasterPortDefault: Deprecated since 12.0. */ 545 546 io_service_t service = IOServiceGetMatchingService(kIOMasterPortDefault, 546 547 IOServiceMatching("AppleSMC")); 548 RT_GCC_NO_WARN_DEPRECATED_END 547 549 if (!service) 548 550 return VERR_NOT_FOUND; -
trunk/src/VBox/Devices/EFI/VBoxSmcUtil-darwin.cpp
r98103 r100108 124 124 static int ConnectToSmc(void) 125 125 { 126 g_hSmcService = IOServiceGetMatchingService(kIOMasterPortDefault, IOServiceMatching("AppleSMC")); 126 RT_GCC_NO_WARN_DEPRECATED_BEGIN 127 g_hSmcService = IOServiceGetMatchingService(kIOMasterPortDefault, IOServiceMatching("AppleSMC")); /* kIOMasterPortDefault: Deprecated since 12.0. */ 128 RT_GCC_NO_WARN_DEPRECATED_END 127 129 if (g_hSmcService == IO_OBJECT_NULL) 128 130 return VERR_NOT_FOUND; -
trunk/src/VBox/Devices/Gpio/DevPL061.cpp
r99895 r100108 184 184 RT_NOREF(pvUser); 185 185 Assert(cb == 4); 186 Assert(!(off & (cb - 1))); 186 Assert(!(off & (cb - 1))); RT_NOREF(cb); 187 187 188 188 LogFlowFunc(("%RGp cb=%u\n", off, cb)); -
trunk/src/VBox/Devices/Graphics/DevVGA.cpp
r99775 r100108 2370 2370 * anything wider than 2050 pixels @32bpp. Need to check all pages 2371 2371 * between the first and last one. */ 2372 bool fUpdate = fFullUpdate | vgaR3IsDirty(pThis, offPage0)| vgaR3IsDirty(pThis, offPage1);2372 bool fUpdate = fFullUpdate || vgaR3IsDirty(pThis, offPage0) || vgaR3IsDirty(pThis, offPage1); 2373 2373 if (offPage1 - offPage0 > GUEST_PAGE_SIZE) 2374 2374 /* if wide line, can use another page */ … … 2569 2569 * anything wider than 2050 pixels @32bpp. Need to check all pages 2570 2570 * between the first and last one. */ 2571 bool update = full_update | vgaR3IsDirty(pThis, page0)| vgaR3IsDirty(pThis, page1);2571 bool update = full_update || vgaR3IsDirty(pThis, page0) || vgaR3IsDirty(pThis, page1); 2572 2572 if (page1 - page0 > GUEST_PAGE_SIZE) { 2573 2573 /* if wide line, can use another page */ -
trunk/src/VBox/Devices/Misc/DevPL031.cpp
r99739 r100108 243 243 NOREF(pvUser); 244 244 Assert(cb == 4 || cb == 8); 245 Assert(!(off & (cb - 1))); 245 Assert(!(off & (cb - 1))); RT_NOREF(cb); 246 246 247 247 LogFlowFunc(("%RGp cb=%u\n", off, cb)); … … 317 317 RT_NOREF(pvUser); 318 318 Assert(cb == 4 || cb == 8); 319 Assert(!(off & (cb - 1))); 319 Assert(!(off & (cb - 1))); RT_NOREF(cb); 320 320 321 321 VBOXSTRICTRC rcStrict = VINF_SUCCESS; … … 493 493 494 494 Assert(iInstance < 4); 495 RT_NOREF(iInstance); 495 496 496 497 /* -
trunk/src/VBox/Devices/Serial/DevPL011.cpp
r99739 r100108 615 615 NOREF(pvUser); 616 616 Assert(cb == 4 || cb == 8); 617 Assert(!(off & (cb - 1))); 617 Assert(!(off & (cb - 1))); RT_NOREF(cb); 618 618 619 619 LogFlowFunc(("%RGp cb=%u\n", off, cb)); … … 674 674 RT_NOREF(pvUser); 675 675 Assert(cb == 4 || cb == 8); 676 Assert(!(off & (cb - 1))); 676 Assert(!(off & (cb - 1))); RT_NOREF(cb); 677 677 678 678 VBOXSTRICTRC rcStrict = VINF_SUCCESS; … … 714 714 715 715 /** @todo */ 716 RT_NOREF(pThis );716 RT_NOREF(pThis, cbAvail); 717 717 718 718 PDMDevHlpCritSectLeave(pDevIns, pDevIns->pCritSectRoR3); … … 780 780 781 781 /** @todo */ 782 RT_NOREF(pThis );782 RT_NOREF(pThis, fNewStatusLines); 783 783 784 784 PDMDevHlpCritSectLeave(pDevIns, pDevIns->pCritSectRoR3); -
trunk/src/VBox/Devices/Storage/DrvHostBase-darwin.cpp
r98103 r100108 524 524 * Open the master port on the first invocation. 525 525 */ 526 kern_return_t krc = IOMasterPort(MACH_PORT_NULL, &pThis->Os.MasterPort); 526 RT_GCC_NO_WARN_DEPRECATED_BEGIN 527 kern_return_t krc = IOMasterPort(MACH_PORT_NULL, &pThis->Os.MasterPort); /* Deprecated since 12.0. */ 528 RT_GCC_NO_WARN_DEPRECATED_END 527 529 AssertReturn(krc == KERN_SUCCESS, VERR_GENERAL_FAILURE); 528 530 -
trunk/src/VBox/Devices/USB/darwin/USBProxyDevice-darwin.cpp
r99739 r100108 293 293 294 294 int rc; 295 kern_return_t krc = IOMasterPort(MACH_PORT_NULL, &g_MasterPort); 295 RT_GCC_NO_WARN_DEPRECATED_BEGIN 296 kern_return_t krc = IOMasterPort(MACH_PORT_NULL, &g_MasterPort); /* Deprecated since 12.0. */ 297 RT_GCC_NO_WARN_DEPRECATED_END 296 298 if (krc == KERN_SUCCESS) 297 299 {
Note:
See TracChangeset
for help on using the changeset viewer.