Subversion Repositories Kolibri OS

Compare Revisions

Regard whitespace Rev 3296 → Rev 3303

/kernel/trunk/core/syscall.inc
38,9 → 38,13
pushad
cld
 
movzx eax, al
call protect_from_terminate
 
movzx eax, byte [esp+28]
mov edx, dword [esp+24]
call dword [servetable2 + eax * 4]
 
call unprotect_from_terminate
popad
;------------------
xchg ecx, [ss:esp] ; â âåðøèí ñòåêà - app ecx, ecx - app esp + 4
62,8 → 66,11
i40:
pushad
cld
movzx eax, al
call protect_from_terminate
movzx eax, byte [esp+28]
mov edx, dword [esp+24]
call dword [servetable2 + eax * 4]
call unprotect_from_terminate
popad
iretd
 
85,10 → 92,13
;------------------
pushad
cld
call protect_from_terminate
 
movzx eax, al
movzx eax, byte [esp+28]
mov edx, dword [esp+24]
call dword [servetable2 + eax * 4]
 
call unprotect_from_terminate
popad
;------------------
mov ecx, [ss:esp+4]
125,7 → 135,7
dd sys_getkey ; 2-GetKey
dd sys_clock ; 3-GetTime
dd syscall_writetext ; 4-WriteText
dd delay_hs ; 5-DelayHs
dd delay_hs_unprotected ; 5-DelayHs
dd syscall_openramdiskfile ; 6-OpenRamdiskFile
dd syscall_putimage ; 7-PutImage
dd syscall_button ; 8-DefineButton
190,7 → 200,7
dd syscall_move_window ; 67-Window move or resize
dd f68 ; 68-Some internal services
dd sys_debug_services ; 69-Debug
dd file_system_lfn_protected; 70-Common file system interface, version 2
dd file_system_lfn ; 70-Common file system interface, version 2
dd syscall_window_settings ; 71-Window settings
dd sys_sendwindowmsg ; 72-Send window message
dd blit_32 ; 73-blitter;
/kernel/trunk/gui/event.inc
467,9 → 467,11
;--------------------------------------
align 4
sys_wait_event_timeout: ;; f23
call unprotect_from_terminate
mov edx, get_event_for_app; wait_test
call Wait_events_ex ; ebx - timeout
mov [esp+32], eax
call protect_from_terminate
ret
;-----------------------------------------------------------------------------
align 4
/kernel/trunk/kernel.asm
3735,6 → 3735,15
mov [esp+32], eax ; return old mask value
ret
;-----------------------------------------------------------------------------
 
; this is for syscall
proc delay_hs_unprotected
call unprotect_from_terminate
call delay_hs
call protect_from_terminate
ret
endp
 
align 4
delay_hs: ; delay in 1/100 secs
; ebx = delay time