kern: Implement KAutoObject, KSlabHeap, KLightLock
This commit is contained in:
1 parent
bb4ade30e4
commit
2faf3d33b5
16 files changed
+923
-5
No files matched your search
@@ -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