| 11 | Vector<Controller*> nvmControllers; |
| 12 | |
| 13 | void Initialize(){ |
| 14 | List<PCIDevice*> devices = PCI::GetGenericPCIDevices(PCI_CLASS_STORAGE, PCI_SUBCLASS_NVM); |
| 15 | for(PCIDevice* dev : devices){ |
| 16 | nvmControllers.add_back(new Controller(dev)); |
| 17 | } |
| 18 | } |
| 19 | |
| 20 | NVMeQueue::NVMeQueue(uint16_t qid, uintptr_t cqBase, uintptr_t sqBase, void* cq, void* sq, uint32_t* cqDB, uint32_t* sqDB, uint16_t csz, uint16_t ssz){ |
| 21 | queueID = qid; |
nothing calls this directly
no test coverage detected