Subversion Repositories Kolibri OS

Compare Revisions

Regard whitespace Rev 1859 → Rev 1928

/kernel/branches/Kolibri-A/trunk/core/syscall.inc
44,28 → 44,10
 
align 32
syscall_entry:
; sti
push ecx
; sti
; 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:
 
 
and eax, 3
call dword [servetable3 + eax * 4]
pop ecx
sysret
 
173,8 → 155,8
align 4
servetable3: ; Kolibri-A special service
 
dd hline ; 0
dd vline ; 1
dd sys_rdmsr ; 0
dd paleholder ; 1
dd paleholder ; 2
dd sys_end ; last