Fix tasking allocating an incorrect size for the task structure

This commit is contained in:
pjht 2024-03-20 08:08:21 -05:00
parent f62ace3fc5
commit 1449f2bdb5
Signed by: pjht
GPG Key ID: 7B5F6AFBEC7EE78E

View File

@ -41,7 +41,7 @@ ti_malloc_done:
tasking_new_process: tasking_new_process:
movem.l a2/a3, -(a7) movem.l a2/a3, -(a7)
movem.l a0/a1, -(a7) movem.l a0/a1, -(a7)
move.l #32, d0 ; Allocate space for the task data move.l #task.sizeof, d0 ; Allocate space for the task data
jsr malloc jsr malloc
tnp_malloc_done: tnp_malloc_done:
move.l #0, (task.secondary_address_space,a0) move.l #0, (task.secondary_address_space,a0)