replacing TASKDATA.mem_start with APPDATA.memstart

git-svn-id: svn://kolibrios.org@9605 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
Doczom 2022-01-09 11:37:32 +00:00
parent 7592583563
commit 2aee4bdf6a
2 changed files with 11 additions and 6 deletions

View File

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

View File

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