[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:
turbocat 2022-06-06 21:51:08 +00:00
parent a9d195b964
commit 1865c30de8
3 changed files with 5 additions and 7 deletions

View File

@ -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

View File

@ -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', \

View File

@ -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"