From cc34c97ac9985af9482d2901712a98849c2775a3 Mon Sep 17 00:00:00 2001 From: bebbo Date: Sun, 24 Mar 2024 10:33:58 +0100 Subject: [PATCH] init tc_SPLower and tc_SPUpper --- amitools/vamos/lib/dos/Process.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/amitools/vamos/lib/dos/Process.py b/amitools/vamos/lib/dos/Process.py index dda6514d..690050aa 100644 --- a/amitools/vamos/lib/dos/Process.py +++ b/amitools/vamos/lib/dos/Process.py @@ -304,6 +304,9 @@ def init_task_struct(self, input_fh, output_fh): varlist.access.w_s("mlh_TailPred", varlist.addr) # setup arg string self.set_arg_str_ptr(self.arg_base) + # init stack + self.this_task.access.w_s("pr_Task.tc_SPLower", self.stack.lower) + self.this_task.access.w_s("pr_Task.tc_SPUpper", self.stack.upper) def free_task_struct(self): self.ctx.alloc.free_struct(self.this_task)