[Kernel] Cleaning up
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user