MCPcopy Create free account
hub / github.com/LemonOSProject/LemonOS / GetCompletionDoorbell

Method GetCompletionDoorbell

Kernel/include/nvme.h:382–385  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

380 }
381
382 uint32_t* GetCompletionDoorbell(uint16_t qID){
383 assert(cRegs);
384 return reinterpret_cast<uint32_t*>(reinterpret_cast<uintptr_t>(cRegs) + 0x1000 + (2 * qID + 1) * (4 << GetDoorbellStride()));
385 }
386
387 uint16_t AllocateQueueID() { return nextQueueID++; }
388 public:

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected