Changeset 26157 in vbox for trunk/src/VBox/Devices/Storage/DevAHCI.cpp
- Timestamp:
- Feb 2, 2010 6:02:15 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Storage/DevAHCI.cpp
r26001 r26157 2315 2315 if (pThis->fGCEnabled) 2316 2316 { 2317 rc = PDMDevHlpMMIORegister GC(pDevIns, GCPhysAddress, cb, 0,2317 rc = PDMDevHlpMMIORegisterRC(pDevIns, GCPhysAddress, cb, 0, 2318 2318 "ahciMMIOWrite", "ahciMMIORead", NULL); 2319 2319 if (RT_FAILURE(rc)) … … 2354 2354 if (pThis->fGCEnabled) 2355 2355 { 2356 rc = PDMDevHlpIOPortRegister GC(pDevIns, (RTIOPORT)GCPhysAddress, cb, 0,2356 rc = PDMDevHlpIOPortRegisterRC(pDevIns, (RTIOPORT)GCPhysAddress, cb, 0, 2357 2357 "ahciLegacyFakeWrite", "ahciLegacyFakeRead", NULL, NULL, "AHCI Fake"); 2358 2358 if (RT_FAILURE(rc)) … … 6377 6377 6378 6378 /* Create the async IO thread. */ 6379 rc = PDMDevHlp PDMThreadCreate(pDevIns, &pAhciPort->pAsyncIOThread, pAhciPort, ahciAsyncIOLoop, ahciAsyncIOLoopWakeUp, 0,6380 6379 rc = PDMDevHlpThreadCreate(pDevIns, &pAhciPort->pAsyncIOThread, pAhciPort, ahciAsyncIOLoop, ahciAsyncIOLoopWakeUp, 0, 6380 RTTHREADTYPE_IO, szName); 6381 6381 if (RT_FAILURE(rc)) 6382 6382 { … … 6641 6641 * Create the transmit queue. 6642 6642 */ 6643 rc = PDMDevHlp PDMQueueCreate(pDevIns, sizeof(DEVPORTNOTIFIERQUEUEITEM), 30*32 /*Maximum of 30 ports multiplied with 32 tasks each port*/, 0,6644 6643 rc = PDMDevHlpQueueCreate(pDevIns, sizeof(DEVPORTNOTIFIERQUEUEITEM), 30*32 /*Maximum of 30 ports multiplied with 32 tasks each port*/, 0, 6644 ahciNotifyQueueConsumer, true, "AHCI-Xmit", &pThis->pNotifierQueueR3); 6645 6645 if (RT_FAILURE(rc)) 6646 6646 return rc; … … 6832 6832 6833 6833 6834 rc = PDMDevHlp PDMThreadCreate(pDevIns, &pAhciPort->pAsyncIOThread, pAhciPort, ahciAsyncIOLoop, ahciAsyncIOLoopWakeUp, 0,6835 6834 rc = PDMDevHlpThreadCreate(pDevIns, &pAhciPort->pAsyncIOThread, pAhciPort, ahciAsyncIOLoop, ahciAsyncIOLoopWakeUp, 0, 6835 RTTHREADTYPE_IO, szName); 6836 6836 AssertMsgRC(rc, ("%s: Async IO Thread creation for %s failed rc=%Rrc\n", szName, rc)); 6837 6837 } … … 6931 6931 if (pThis->fGCEnabled) 6932 6932 { 6933 rc = PDMDevHlpIOPortRegister GC(pDevIns, pCtl->IOPortBase1, 8, (RTGCPTR)i,6933 rc = PDMDevHlpIOPortRegisterRC(pDevIns, pCtl->IOPortBase1, 8, (RTGCPTR)i, 6934 6934 "ahciIOPortWrite1", "ahciIOPortRead1", NULL, NULL, "AHCI GC"); 6935 6935 if (RT_FAILURE(rc)) … … 6952 6952 if (pThis->fGCEnabled) 6953 6953 { 6954 rc = PDMDevHlpIOPortRegister GC(pDevIns, pCtl->IOPortBase2, 1, (RTGCPTR)i,6954 rc = PDMDevHlpIOPortRegisterRC(pDevIns, pCtl->IOPortBase2, 1, (RTGCPTR)i, 6955 6955 "ahciIOPortWrite2", "ahciIOPortRead2", NULL, NULL, "AHCI GC"); 6956 6956 if (RT_FAILURE(rc))
Note:
See TracChangeset
for help on using the changeset viewer.