mirror of
https://git.missingno.dev/kolibrios-nvme-driver/
synced 2025-02-07 12:46:51 +01:00
PCI_DEBUGF: add variadic argument to DEBUGF
This commit is contained in:
parent
f1f44c1357
commit
376e133db7
@ -17,7 +17,7 @@ macro PCI_DEBUGF _level*, _ptr*, _fmt*, [_args] {
|
||||
shr ebx, 3 ; get rid of 3 lowest bits (function code), the rest bits is device code
|
||||
movzx ecx, byte [_ptr + PCIDEV.devfn]
|
||||
and ecx, 00000111b ; get only 3 lowest bits (function code)
|
||||
DEBUGF _level, _fmt, [_ptr + PCIDEV.bus], ebx, ecx
|
||||
DEBUGF _level, _fmt, [_ptr + PCIDEV.bus], ebx, ecx, _args
|
||||
pop ecx
|
||||
pop ebx
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user