kernel: convert KThread to new style
This commit is contained in:
parent
d0e11c27d9
commit
46d09ae364
15 changed files with 519 additions and 670 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue