Subversion Repositories Kolibri OS

Compare Revisions

Ignore whitespace Rev 8215 → Rev 8216

/kernel/trunk/kernel.asm
5674,13 → 5674,16
; ebx = len
; out: eax = 1 if region in userspace memory, 0 if not
push esi edi ecx
 
cmp eax, OS_BASE
ja @f
 
add eax, ebx
cmp eax, OS_BASE
ja @f
 
mov eax, 1
jmp .ret
 
jmp .ret
@@:
xor eax, eax
.ret: