mirror of
https://github.com/wheremyfoodat/Panda3DS.git
synced 2025-04-19 20:19:13 +12:00
[Kernel] Add idle thread
This commit is contained in:
parent
94ea97a419
commit
0b46b92bb7
6 changed files with 88 additions and 3 deletions
|
@ -131,6 +131,7 @@ void Kernel::reset() {
|
|||
// which is thankfully not used. Maybe we should prevent this
|
||||
mainThread = makeThread(0, VirtualAddrs::StackTop, 0x30, -2, 0, ThreadStatus::Running);
|
||||
currentThreadIndex = 0;
|
||||
setupIdleThread();
|
||||
|
||||
// Create some of the OS ports
|
||||
srvHandle = makePort("srv:"); // Service manager port
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue