mirror of
https://github.com/KolibriOS/kolibrios.git
synced 2024-11-26 19:00:18 +03:00
replacing TASKDATA.mem_start with APPDATA.memstart
git-svn-id: svn://kolibrios.org@9605 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
parent
7592583563
commit
2aee4bdf6a
@ -971,8 +971,9 @@ proc set_app_params stdcall,slot:dword, params:dword, flags:dword
|
||||
mov [ebx+SLOT_BASE+APPDATA.cur_dir], eax
|
||||
rep movsd
|
||||
|
||||
shr ebx, 3
|
||||
mov dword [TASK_TABLE+ebx+TASKDATA.mem_start], 0
|
||||
;shr ebx, 3
|
||||
;mov dword [TASK_TABLE+ebx+TASKDATA.mem_start], 0
|
||||
mov dword [ebx+SLOT_BASE+APPDATA.mem_start], 0
|
||||
|
||||
mov ebx, [slot]
|
||||
mov eax, ebx
|
||||
|
@ -1612,8 +1612,10 @@ sys_setup:
|
||||
dec ebx
|
||||
jnz @f
|
||||
|
||||
mov edi, [TASK_BASE]
|
||||
mov eax, [edi+TASKDATA.mem_start]
|
||||
;mov edi, [TASK_BASE]
|
||||
;mov eax, [edi+TASKDATA.mem_start]
|
||||
mov edi, [current_slot]
|
||||
mov eax, [edi+APPDATA.mem_start]
|
||||
add eax, edx
|
||||
; 1 = normal layout
|
||||
dec ecx
|
||||
@ -1709,8 +1711,10 @@ sys_getsetup:
|
||||
dec ebx
|
||||
jnz @f
|
||||
|
||||
mov edi, [TASK_BASE]
|
||||
mov ebx, [edi+TASKDATA.mem_start]
|
||||
;mov edi, [TASK_BASE]
|
||||
;mov ebx, [edi+TASKDATA.mem_start]
|
||||
mov edi, [current_slot]
|
||||
mov ebx, [edi+APPDATA.mem_start]
|
||||
add ebx, edx
|
||||
; 1 = normal layout
|
||||
dec ecx
|
||||
|
Loading…
Reference in New Issue
Block a user