| 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: |
nothing calls this directly
no outgoing calls
no test coverage detected