mirror of
https://github.com/Atmosphere-NX/Atmosphere.git
synced 2025-05-13 22:54:24 -04:00
kern: Implement KAutoObject, KSlabHeap, KLightLock
This commit is contained in:
parent
bb4ade30e4
commit
2faf3d33b5
16 changed files with 923 additions and 5 deletions
|
@ -31,7 +31,8 @@ namespace ams::kern {
|
|||
private:
|
||||
static inline State s_state = State::Invalid;
|
||||
public:
|
||||
static void Initialize(s32 core_id);
|
||||
static NOINLINE void Initialize(s32 core_id);
|
||||
static NOINLINE void InitializeCoreThreads(s32 core_id);
|
||||
|
||||
static ALWAYS_INLINE State GetState() { return s_state; }
|
||||
static ALWAYS_INLINE void SetState(State state) { s_state = state; }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue