1)kernel_free: set proper return value

2)export get_timer_ticks

git-svn-id: svn://kolibrios.org@1615 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
Sergey Semyonov (Serge) 2010-09-13 19:59:03 +00:00
parent 5c26de5030
commit ff13f0e607
2 changed files with 3 additions and 1 deletions

View File

@ -635,7 +635,8 @@ proc kernel_free stdcall, base:dword
pop esi ebx pop esi ebx
ret ret
.fail: .fail:
and [heap_mutex], 0 xor eax, eax
mov [heap_mutex], eax
pop esi ebx pop esi ebx
ret ret
endp endp

View File

@ -321,6 +321,7 @@ __exports:
user_free, 'UserFree', \ ; stdcall user_free, 'UserFree', \ ; stdcall
unmap_pages, 'UnmapPages', \ ; eax, ecx unmap_pages, 'UnmapPages', \ ; eax, ecx
sys_msg_board_str, 'SysMsgBoardStr', \ sys_msg_board_str, 'SysMsgBoardStr', \
get_timer_ticks, 'GetTimerTicks', \
delay_hs, 'Delay', \ ; ebx delay_hs, 'Delay', \ ; ebx
set_mouse_data, 'SetMouseData' set_mouse_data, 'SetMouseData'