kernel/thread: Ensure stack_top and argument are always initialized

master
Lioncash 2022-12-05 14:51:15 +07:00
parent 4769d798f9
commit dddc9bb8f1
1 changed files with 2 additions and 2 deletions

@ -784,8 +784,8 @@ private:
std::vector<KSynchronizationObject*> wait_objects_for_debugging; std::vector<KSynchronizationObject*> wait_objects_for_debugging;
VAddr mutex_wait_address_for_debugging{}; VAddr mutex_wait_address_for_debugging{};
ThreadWaitReasonForDebugging wait_reason_for_debugging{}; ThreadWaitReasonForDebugging wait_reason_for_debugging{};
uintptr_t argument; uintptr_t argument{};
VAddr stack_top; VAddr stack_top{};
public: public:
using ConditionVariableThreadTreeType = ConditionVariableThreadTree; using ConditionVariableThreadTreeType = ConditionVariableThreadTree;