[KERNEL]: Remove unused get_curr_task and replace with get_curr_slot
git-svn-id: svn://kolibrios.org@9832 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
parent
a9d195b964
commit
1865c30de8
@ -301,12 +301,6 @@ proc get_coff_sym stdcall, pSym:dword,count:dword, sz_sym:dword
|
|||||||
ret
|
ret
|
||||||
endp
|
endp
|
||||||
|
|
||||||
align 4
|
|
||||||
proc get_curr_task
|
|
||||||
mov eax, [current_slot_idx]
|
|
||||||
shl eax, 8
|
|
||||||
ret
|
|
||||||
endp
|
|
||||||
|
|
||||||
align 4
|
align 4
|
||||||
proc get_fileinfo stdcall, file_name:dword, info:dword
|
proc get_fileinfo stdcall, file_name:dword, info:dword
|
||||||
|
@ -99,7 +99,7 @@ __exports:
|
|||||||
\
|
\
|
||||||
load_cursor, 'LoadCursor', \ ;stdcall
|
load_cursor, 'LoadCursor', \ ;stdcall
|
||||||
\
|
\
|
||||||
get_curr_task, 'GetCurrentTask', \
|
get_curr_slot, 'GetCurrSlot', \
|
||||||
change_task, 'ChangeTask', \
|
change_task, 'ChangeTask', \
|
||||||
load_file, 'LoadFile', \ ;retval eax, ebx
|
load_file, 'LoadFile', \ ;retval eax, ebx
|
||||||
delay_ms, 'Sleep', \
|
delay_ms, 'Sleep', \
|
||||||
|
@ -1066,5 +1066,9 @@ get_stack_base:
|
|||||||
mov eax, [eax + APPDATA.pl0_stack]
|
mov eax, [eax + APPDATA.pl0_stack]
|
||||||
ret
|
ret
|
||||||
|
|
||||||
|
align 4
|
||||||
|
get_curr_slot:
|
||||||
|
mov eax, [current_slot]
|
||||||
|
ret
|
||||||
|
|
||||||
include "debug.inc"
|
include "debug.inc"
|
||||||
|
Loading…
Reference in New Issue
Block a user