Skip to content

Commit

Permalink
init tc_SPLower and tc_SPUpper
Browse files Browse the repository at this point in the history
  • Loading branch information
bebbo committed Mar 24, 2024
1 parent cfef841 commit cc34c97
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions amitools/vamos/lib/dos/Process.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit cc34c97

Please sign in to comment.