forked from KolibriOS/kolibrios
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
|
mov [ebx+SLOT_BASE+APPDATA.cur_dir], eax
|
||||||
rep movsd
|
rep movsd
|
||||||
|
|
||||||
shr ebx, 3
|
;shr ebx, 3
|
||||||
mov dword [TASK_TABLE+ebx+TASKDATA.mem_start], 0
|
;mov dword [TASK_TABLE+ebx+TASKDATA.mem_start], 0
|
||||||
|
mov dword [ebx+SLOT_BASE+APPDATA.mem_start], 0
|
||||||
|
|
||||||
mov ebx, [slot]
|
mov ebx, [slot]
|
||||||
mov eax, ebx
|
mov eax, ebx
|
||||||
|
@ -1612,8 +1612,10 @@ sys_setup:
|
|||||||
dec ebx
|
dec ebx
|
||||||
jnz @f
|
jnz @f
|
||||||
|
|
||||||
mov edi, [TASK_BASE]
|
;mov edi, [TASK_BASE]
|
||||||
mov eax, [edi+TASKDATA.mem_start]
|
;mov eax, [edi+TASKDATA.mem_start]
|
||||||
|
mov edi, [current_slot]
|
||||||
|
mov eax, [edi+APPDATA.mem_start]
|
||||||
add eax, edx
|
add eax, edx
|
||||||
; 1 = normal layout
|
; 1 = normal layout
|
||||||
dec ecx
|
dec ecx
|
||||||
@ -1709,8 +1711,10 @@ sys_getsetup:
|
|||||||
dec ebx
|
dec ebx
|
||||||
jnz @f
|
jnz @f
|
||||||
|
|
||||||
mov edi, [TASK_BASE]
|
;mov edi, [TASK_BASE]
|
||||||
mov ebx, [edi+TASKDATA.mem_start]
|
;mov ebx, [edi+TASKDATA.mem_start]
|
||||||
|
mov edi, [current_slot]
|
||||||
|
mov ebx, [edi+APPDATA.mem_start]
|
||||||
add ebx, edx
|
add ebx, edx
|
||||||
; 1 = normal layout
|
; 1 = normal layout
|
||||||
dec ecx
|
dec ecx
|
||||||
|
Loading…
Reference in New Issue
Block a user