/drivers/usb/usbftdi/linkedlist.inc |
---|
45,7 → 45,10 |
pop ecx ebx |
ret |
linkedlist_isvalid: |
linkedlist_isvalid: ;eax - pointer to check; returns zero if valid |
inc ecx |
test eax, eax |
jz .valid_pointer ;actually, poiner is not valid |
push ebx ecx |
xor ecx, ecx |
mov ebx, [head] |