kernel: convert KThread to new style

This commit is contained in:
Liam 2023-03-07 16:11:50 -05:00
parent d0e11c27d9
commit 46d09ae364
15 changed files with 519 additions and 670 deletions

View file

@ -52,7 +52,6 @@ void SetupMainThread(Core::System& system, KProcess& owner_process, u32 priority
Handle thread_handle{};
owner_process.GetHandleTable().Add(std::addressof(thread_handle), thread);
thread->SetName("main");
thread->GetContext32().cpu_registers[0] = 0;
thread->GetContext64().cpu_registers[0] = 0;
thread->GetContext32().cpu_registers[1] = thread_handle;