forked from KolibriOS/kolibrios
[KERNEL] #3 Preparing to merge legacy TASKDATA into APPDATA:
- get rid of CURRENT_TASK - to APPDATA added new fields which will be used instead of TASKDATA's - other small fixes git-svn-id: svn://kolibrios.org@8869 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
@@ -1396,9 +1396,9 @@ align 4
|
||||
mov edx, E_ACCESS
|
||||
ja .fail
|
||||
|
||||
mov ebx, [CURRENT_TASK]
|
||||
shl ebx, 5
|
||||
mov ebx, [CURRENT_TASK + ebx + 4]
|
||||
mov ebx, [current_slot_idx]
|
||||
shl ebx, BSF sizeof.TASKDATA
|
||||
mov ebx, [TASK_TABLE + ebx + TASKDATA.pid]
|
||||
mov eax, sizeof.SMAP
|
||||
|
||||
call create_kernel_object
|
||||
|
Reference in New Issue
Block a user