Changeset 100108 in vbox for trunk/src/VBox/Devices/EFI
- Timestamp:
- Jun 7, 2023 8:05:13 PM (18 months ago)
- Location:
- trunk/src/VBox/Devices/EFI
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
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;
Note:
See TracChangeset
for help on using the changeset viewer.