Fixed include paths typo. Small improvement in linkedlist_isvalid
git-svn-id: svn://kolibrios.org@5036 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
parent
21cbeaec75
commit
2fe5245774
@ -46,11 +46,10 @@ linkedlist_delete:
|
||||
ret
|
||||
|
||||
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
|
||||
test eax, eax
|
||||
jz .invalid_pointer
|
||||
mov ebx, [head]
|
||||
.next_check:
|
||||
cmp eax, ebx
|
||||
|
@ -22,10 +22,10 @@ __DEBUG_LEVEL__ = 1
|
||||
node equ ftdi_context
|
||||
node.next equ ftdi_context.next_context
|
||||
|
||||
include '../proc32.inc'
|
||||
include '../imports.inc'
|
||||
include '../fdo.inc'
|
||||
include '../struct.inc'
|
||||
include '../../proc32.inc'
|
||||
include '../../imports.inc'
|
||||
include '../../fdo.inc'
|
||||
include '../../struct.inc'
|
||||
|
||||
public START
|
||||
public version
|
||||
|
Loading…
Reference in New Issue
Block a user