Changeset 104670 in vbox
- Timestamp:
- May 16, 2024 10:42:46 AM (7 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/common/VBoxGuest/VBoxGuest-darwin.cpp
r100267 r104670 139 139 140 140 private: 141 RT_GCC_NO_WARN_DEPRECATED_BEGIN 141 142 IOPCIDevice *m_pIOPCIDevice; 143 RT_GCC_NO_WARN_DEPRECATED_END 142 144 IOMemoryMap *m_pMap; 143 145 IOFilterInterruptEventSource *m_pInterruptSrc; … … 145 147 bool setupVmmDevInterrupts(IOService *pProvider); 146 148 bool disableVmmDevInterrupts(void); 149 RT_GCC_NO_WARN_DEPRECATED_BEGIN 147 150 bool isVmmDev(IOPCIDevice *pIOPCIDevice); 151 RT_GCC_NO_WARN_DEPRECATED_END 148 152 149 153 protected: … … 238 242 /*.d_mmap = */ eno_mmap, 239 243 /*.d_strategy = */ eno_strat, 244 #if __MAC_OS_X_VERSION_MAX_ALLOWED >= 1070 245 /*.d_getc = */ eno_getc, 246 /*.d_putc = */ eno_putc, 247 #else /* Apple got it wrong in the 10.5 SDK */ 240 248 /*.d_getc = */ (void *)(uintptr_t)&enodev, //eno_getc, 241 249 /*.d_putc = */ (void *)(uintptr_t)&enodev, //eno_putc, 250 #endif 242 251 /*.d_type = */ 0 243 252 }; … … 877 886 * Make sure it's a PCI device. 878 887 */ 888 RT_GCC_NO_WARN_DEPRECATED_BEGIN 879 889 m_pIOPCIDevice = OSDynamicCast(IOPCIDevice, pProvider); 890 RT_GCC_NO_WARN_DEPRECATED_END 880 891 if (m_pIOPCIDevice) 881 892 { … … 1127 1138 * @param pIOPCIDevice The PCI device we think might be the VMM device. 1128 1139 */ 1140 RT_GCC_NO_WARN_DEPRECATED_BEGIN 1129 1141 bool org_virtualbox_VBoxGuest::isVmmDev(IOPCIDevice *pIOPCIDevice) 1142 RT_GCC_NO_WARN_DEPRECATED_END 1130 1143 { 1131 1144 if (pIOPCIDevice)
Note:
See TracChangeset
for help on using the changeset viewer.