[Zion] Plumb user stack to free function on thread exit.
This commit is contained in:
parent
941d7c8d59
commit
84e1b4cdb4
4 changed files with 11 additions and 4 deletions
|
|
@ -77,6 +77,7 @@ class Thread : public KernelObject, public glcr::IntrusiveListNode<Thread> {
|
|||
State state_ = CREATED;
|
||||
|
||||
// Startup Context for the thread.
|
||||
uint64_t rsp_;
|
||||
uint64_t rip_;
|
||||
uint64_t arg1_;
|
||||
uint64_t arg2_;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue