From 38a4a20b3607c58d1d75b50dd3ae9e236062c639 Mon Sep 17 00:00:00 2001 From: Ivan Baravy Date: Tue, 12 May 2020 01:01:33 +0300 Subject: [PATCH] Initialize TASKDATA.pid field, this fixes test 016. Also, rename disabled tests from *.t to *.d. --- test/016_#f01_#draw_all.ref.log | 2 +- test/{020_#acpi_all.t => 020_#acpi_all.d} | 0 test/{022_#net_#f74_all.t => 022_#net_#f74_all.d} | 0 test/{023_#net_#f75_all.t => 023_#net_#f75_all.d} | 0 test/{024_#net_#f76_all.t => 024_#net_#f76_all.d} | 0 umka.asm | 1 + 6 files changed, 2 insertions(+), 1 deletion(-) rename test/{020_#acpi_all.t => 020_#acpi_all.d} (100%) rename test/{022_#net_#f74_all.t => 022_#net_#f74_all.d} (100%) rename test/{023_#net_#f75_all.t => 023_#net_#f75_all.d} (100%) rename test/{024_#net_#f76_all.t => 024_#net_#f76_all.d} (100%) diff --git a/test/016_#f01_#draw_all.ref.log b/test/016_#f01_#draw_all.ref.log index d68c0ba..6ba4a10 100644 --- a/test/016_#f01_#draw_all.ref.log +++ b/test/016_#f01_#draw_all.ref.log @@ -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 diff --git a/test/020_#acpi_all.t b/test/020_#acpi_all.d similarity index 100% rename from test/020_#acpi_all.t rename to test/020_#acpi_all.d diff --git a/test/022_#net_#f74_all.t b/test/022_#net_#f74_all.d similarity index 100% rename from test/022_#net_#f74_all.t rename to test/022_#net_#f74_all.d diff --git a/test/023_#net_#f75_all.t b/test/023_#net_#f75_all.d similarity index 100% rename from test/023_#net_#f75_all.t rename to test/023_#net_#f75_all.d diff --git a/test/024_#net_#f76_all.t b/test/024_#net_#f76_all.d similarity index 100% rename from test/024_#net_#f76_all.t rename to test/024_#net_#f76_all.d diff --git a/umka.asm b/umka.asm index 46ec2e2..20ba7e2 100644 --- a/umka.asm +++ b/umka.asm @@ -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