kern: mostly implement thread exit
This commit is contained in:
1 parent
c8f71007ec
commit
4a767c9082
8 files changed
+126
-3
No files matched your search
@@ -94,6 +94,10 @@ namespace ams::kern {
|
||||
static KThread &GetMainThread(s32 core_id);
|
||||
static KThread &GetIdleThread(s32 core_id);
|
||||
|
||||
static ALWAYS_INLINE KCurrentContext &GetCurrentContext(s32 core_id) {
|
||||
return GetCoreLocalContext(core_id).current;
|
||||
}
|
||||
|
||||
static ALWAYS_INLINE KScheduler &GetScheduler() {
|
||||
return GetCoreLocalContext().scheduler;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user