kern: Implement KAutoObject, KSlabHeap, KLightLock
This commit is contained in:
@@ -17,7 +17,7 @@
|
||||
|
||||
namespace ams::kern {
|
||||
|
||||
NOINLINE void Kernel::Initialize(s32 core_id) {
|
||||
void Kernel::Initialize(s32 core_id) {
|
||||
/* Construct the core local region object in place. */
|
||||
KCoreLocalContext *clc = GetPointer<KCoreLocalContext>(KMemoryLayout::GetCoreLocalRegionAddress());
|
||||
new (clc) KCoreLocalContext;
|
||||
@@ -46,4 +46,9 @@ namespace ams::kern {
|
||||
}
|
||||
}
|
||||
|
||||
void Kernel::InitializeCoreThreads(s32 core_id) {
|
||||
/* TODO: This function wants to setup the main thread and the idle thread. */
|
||||
/* It also wants to initialize the scheduler/interrupt manager/hardware timer. */
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user