mirror of
https://git.missingno.dev/kolibrios-nvme-driver/
synced 2025-02-01 18:10:29 +01:00
add assertions to make sure submission and completion queue sizes are the same
This commit is contained in:
parent
e9f371d20b
commit
7cc1601d90
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user