mirror of
https://github.com/wheremyfoodat/Panda3DS.git
synced 2025-04-19 20:19:13 +12:00
[Kernel] Cleaning up
This commit is contained in:
parent
1c4348248d
commit
ad07c70772
9 changed files with 21 additions and 37 deletions
|
@ -72,10 +72,11 @@ void Kernel::reset() {
|
|||
currentProcess = makeProcess();
|
||||
// Make main thread object. We do not have to set the entrypoint and SP for it as the ROM loader does.
|
||||
// Main thread seems to have a priority of 0x30
|
||||
currentThread = makeThread(0, 0, 0x30, 0);
|
||||
mainThread = makeThread(0, 0, 0x30, 0);
|
||||
currentThread = mainThread;
|
||||
|
||||
// Create global service manager port
|
||||
makePort("srv:");
|
||||
srvHandle = makePort("srv:");
|
||||
}
|
||||
|
||||
// Get pointer to thread-local storage
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue