Changeset 57521 in vbox for trunk/src/VBox
- Timestamp:
- Aug 25, 2015 9:50:45 AM (9 years ago)
- Location:
- trunk/src/VBox/Devices
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Makefile.kmk
r57446 r57521 479 479 endif 480 480 481 if defined(VBOX_WITH_NVME_IMPL) && !defined(VBOX_WITH_EXTPACK_PUEL) 482 VBoxDD_DEFS += VBOX_WITH_NVME_IMPL 483 VBoxDD_SOURCES += \ 484 Storage/DevNVMe.cpp 485 endif 486 481 487 ifdef VBOX_WITH_PDM_ASYNC_COMPLETION 482 488 VBoxDD_DEFS += VBOX_WITH_PDM_ASYNC_COMPLETION … … 966 972 VBoxDDRC_SOURCES += \ 967 973 Storage/DevLsiLogicSCSI.cpp 974 endif 975 976 if defined(VBOX_WITH_NVME_IMPL) && !defined(VBOX_WITH_EXTPACK_PUEL) 977 VBoxDDGC_DEFS += VBOX_WITH_NVME_IMPL 978 VBoxDDGC_SOURCES += \ 979 Storage/DevNVMe.cpp 968 980 endif 969 981 … … 1140 1152 endif 1141 1153 1154 if defined(VBOX_WITH_NVME_IMPL) && !defined(VBOX_WITH_EXTPACK_PUEL) 1155 VBoxDDR0_DEFS += VBOX_WITH_NVME_IMPL 1156 VBoxDDR0_SOURCES += \ 1157 Storage/DevNVMe.cpp 1158 endif 1159 1142 1160 ifdef VBOX_WITH_NEW_PS2M 1143 1161 VBoxDDR0_DEFS += VBOX_WITH_NEW_PS2M … … 1335 1353 1336 1354 Bus/DevPciRaw.cpp_INCS = Bus 1355 endif 1356 1357 # 1358 # The NVMe Extension Pack Modules. 1359 # 1360 if defined(VBOX_WITH_NVME_IMPL) 1361 DLLS += VBoxNvmeR3 1362 VBoxNvmeR3_TEMPLATE = VBoxR3ExtPackPuel 1363 VBoxNvmeR3_SOURCES = \ 1364 Storage/DevNVMe.cpp 1365 VBoxNvmeR3_SOURCES.win = \ 1366 build/VBoxNvmeR3.rc 1367 1368 SYSMODS += VBoxNvmeR0 1369 VBoxNvmeR0_TEMPLATE = VBoxR0ExtPackPuel 1370 VBoxNvmeR0_SOURCES = \ 1371 Storage/DevNVMe.cpp 1372 1373 ifdef VBOX_WITH_RAW_MODE 1374 SYSMODS += VBoxNvmeRC 1375 VBoxNvmeRC_TEMPLATE = VBoxRcExtPackPuel 1376 VBoxNvmeRC_SOURCES = \ 1377 Storage/DevNVMe.cpp 1378 endif 1379 1380 # Hacky but MSI support *must* be enabled 1381 ifdef VBOX_WITH_MSI_DEVICES 1382 VBoxNvmeR3_DEFS += VBOX_WITH_MSI_DEVICES 1383 VBoxNvmeR0_DEFS += VBOX_WITH_MSI_DEVICES 1384 VBoxNvmeRC_DEFS += VBOX_WITH_MSI_DEVICES 1385 endif 1386 1337 1387 endif 1338 1388 -
trunk/src/VBox/Devices/build/VBoxDD.cpp
r57358 r57521 181 181 return rc; 182 182 #endif 183 #ifdef VBOX_WITH_NVME_IMPL 184 rc = pCallbacks->pfnRegister(pCallbacks, &g_DeviceNVMe); 185 if (RT_FAILURE(rc)) 186 return rc; 187 #endif 183 188 #ifdef VBOX_WITH_PCI_PASSTHROUGH_IMPL 184 189 rc = pCallbacks->pfnRegister(pCallbacks, &g_DevicePciRaw); -
trunk/src/VBox/Devices/build/VBoxDD.h
r56085 r57521 75 75 extern const PDMDEVREG g_DeviceLsiLogicSCSI; 76 76 extern const PDMDEVREG g_DeviceLsiLogicSAS; 77 #endif 78 #ifdef VBOX_WITH_NVME_IMPL 79 extern const PDMDEVREG g_DeviceNVMe; 77 80 #endif 78 81 #ifdef VBOX_WITH_EFI
Note:
See TracChangeset
for help on using the changeset viewer.