2
0
mirror of https://git.missingno.dev/kolibrios-nvme-driver/ synced 2024-09-20 02:21:03 +02:00

add assertions to make sure submission and completion queue sizes are the same

This commit is contained in:
Abdur-Rahman Mansoor 2024-07-31 16:05:55 -04:00
parent e9f371d20b
commit 7cc1601d90

View File

@ -26,6 +26,10 @@ CQ_ENTRIES = NVM_ACQS ; I/O and Admin Completion Queue Size
PAGE_SIZE = 4096 shl NVM_MPS
SUPPORTED_LBADS = 9 ; KolibriOS only supports LBADS of 512, later on we may remove this restriction
assert NVM_ASQS = NVM_ACQS
assert SQ_ENTRIES = NVM_ASQS
assert CQ_ENTRIES = NVM_ACQS
MSIXCAP_CID = 0x11
MSIXCAP_MXE = 1 shl 15 ; MSI-X Enable bit
MSICAP_CID = 0x05