Changeset 12423 in vbox for trunk/src/VBox/Devices
- Timestamp:
- Sep 12, 2008 2:42:49 PM (16 years ago)
- Location:
- trunk/src/VBox/Devices
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Serial/DevSerial.cpp
r11284 r12423 242 242 if (RT_LIKELY(s->pDrvChar)) 243 243 s->pDrvChar->pfnSetParameters(s->pDrvChar, speed, parity, data_bits, stop_bits); 244 #ifdef RT_OS_DARWIN 245 if (RT_LIKELY(s->pDrvChar)) 246 s->cNsDelay = (69444 - 2000) / s->divider; /* 69444 == 1000,000,000 / (115,000 / 8); 2000 = fudge factor */ 247 #endif 244 248 } 245 249 … … 386 390 case 5: 387 391 ret = s->lsr; 392 #ifdef RT_OS_DARWIN 393 if ( !(ret & UART_LSR_THRE) 394 && pThis->HeldXmitNanoTS 395 && RTTimeNanoTS() - s->HeldXmitNanoTS >= s->cNsDelay) { 396 ret = s->lsr |= UART_LSR_THRE; 397 } 398 #endif 388 399 break; 389 400 case 6: -
trunk/src/VBox/Devices/Storage/VBoxHDD-new.cpp
r12368 r12423 26 26 #include <VBox/VBoxHDD-new.h> 27 27 #include <VBox/err.h> 28 28 #include <VBox/sup.h> 29 29 #include <VBox/log.h> 30 30 31 #include <iprt/alloc.h> 31 32 #include <iprt/assert.h> … … 195 196 196 197 /* Try to load the plugin (RTLdrLoad takes care of the suffix). */ 197 rc = RTLdrLoad(pszPluginName, &hPlugin);198 rc = SUPR3HardenedLdrLoad(pszPluginName, &hPlugin); 198 199 if (RT_SUCCESS(rc)) 199 200 { … … 730 731 } 731 732 732 rc = RTLdrLoad(pszPluginPath, &hPlugin);733 rc = SUPR3HardenedLdrLoad(pszPluginPath, &hPlugin); 733 734 if (RT_SUCCESS(rc)) 734 735 { … … 1015 1016 } 1016 1017 1017 rc = RTLdrLoad(pszPluginPath, &hPlugin);1018 rc = SUPR3HardenedLdrLoad(pszPluginPath, &hPlugin); 1018 1019 if (RT_SUCCESS(rc)) 1019 1020 {
Note:
See TracChangeset
for help on using the changeset viewer.