2
0
mirror of https://git.missingno.dev/kolibrios-nvme-driver/ synced 2026-03-09 12:53:24 +00:00

fix call to alloc_dptr

This commit is contained in:
2024-07-11 17:03:39 -04:00
parent 8eb5990c32
commit 52831db8f8

View File

@@ -692,7 +692,7 @@ proc nvme_readwrite stdcall, ns:dword, buf:dword, start_sector:qword, numsectors
add ecx, 16
; Note that [esp] will contain the value of PRP1 and [esp + 4] will
; contain the value of PRP2 (after this call, if it completes successfully)
stdcall alloc_dptr, esi, ebx, edx, ecx
stdcall alloc_dptr, esi, ebx, edx, ecx, [buf]
test eax, eax
jz .dptr_fail
DEBUGF DBG_INFO, "PRP1: %x, PRP2: %x, nPRPs for PRP list: %u\n", [ebx], [ebx + 4], [ebx + 16]