Subversion Repositories Kolibri OS

Compare Revisions

Regard whitespace Rev 1858 → Rev 1859

/kernel/branches/Kolibri-A/trunk/core/syscall.inc
44,10 → 44,28
 
align 32
syscall_entry:
push ecx
; sti
push ecx
and eax, 3
call dword [servetable3 + eax * 4]
; and eax, 3
; call dword [servetable3 + eax * 4]
 
mov edi, [esp+4]
mov ecx, [esp+8]
mov edx, [esp+12]
mov ebx, [esp+16]
and al, 1
jz .hline
mov eax, [esp+20]
sti
call vline
jmp .done
.hline:
mov eax, [esp+20]
sti
call hline
.done:
 
 
pop ecx
sysret
 
155,8 → 173,8
align 4
servetable3: ; Kolibri-A special service
 
dd paleholder ; 0
dd paleholder ; 1
dd hline ; 0
dd vline ; 1
dd paleholder ; 2
dd sys_end ; last