mirror of
https://git.missingno.dev/kolibrios-nvme-driver/
synced 2024-12-23 06:18:47 +01:00
add IOCTL error codes
This commit is contained in:
parent
9632b2841d
commit
c21376dde4
@ -27,6 +27,14 @@ PRP1_LIST_ALLOCATED = 2
|
||||
PRP2_ENTRY_ALLOCATED = 4
|
||||
PRP2_LIST_ALLOCATED = 8
|
||||
|
||||
; IOCTL error codes
|
||||
ENOERR = 0 ; No error
|
||||
EINVAL_IOCTL = 1 ; unknown IOCTL code, wrong input/output size
|
||||
EINVAL_ID = 2 ; .DiskId must be from 0-9
|
||||
ESZTOL = 3 ; .DiskSize too large
|
||||
ESZTOS = 4 ; .DiskSize too small
|
||||
ENOMEM = 5 ; failed to allocate memory
|
||||
|
||||
section ".flat" code readable writable executable
|
||||
include "../proc32.inc"
|
||||
include "../struct.inc"
|
||||
|
Loading…
Reference in New Issue
Block a user