Initialize TASKDATA.pid field, this fixes test 016.

Also, rename disabled tests from *.t to *.d.
This commit is contained in:
Ivan Baravy 2020-05-12 01:01:33 +03:00
parent 57fadae3dd
commit 38a4a20b36
6 changed files with 2 additions and 1 deletions

View File

@ -61,7 +61,7 @@ window_stack_value: 2
process_name: OS
memory_start: 0x00000000
used_memory: 4294967295 (0xffffffff)
pid: 8
pid: 2
box: 10 5 300 200
slot_state: 0
client_box: 5 24 290 171

View File

@ -310,6 +310,7 @@ proc kos_init c uses ebx esi edi ebp
mov dword[TASK_COUNT], 2
mov dword[TASK_BASE], CURRENT_TASK + 2*sizeof.TASKDATA
mov [current_slot], SLOT_BASE+256*2
mov [CURRENT_TASK + 2*sizeof.TASKDATA + TASKDATA.pid], 2
call set_window_defaults
call init_background