[Zion] Plumb user stack to free function on thread exit.

This commit is contained in:
Drew Galbraith 2023-11-23 07:12:23 -08:00
parent 941d7c8d59
commit 84e1b4cdb4
4 changed files with 11 additions and 4 deletions

View file

@ -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_;