mirror of
https://github.com/Atmosphere-NX/Atmosphere.git
synced 2025-05-15 07:34:23 -04:00
kern: improve KSynchronizationObject, kill KSynchronization
This commit is contained in:
parent
b60054dba1
commit
1852fe8612
11 changed files with 132 additions and 259 deletions
|
@ -37,7 +37,6 @@ namespace ams::kern {
|
|||
class KPageTableManager;
|
||||
class KMemoryBlockSlabManager;
|
||||
class KBlockInfoManager;
|
||||
class KSynchronization;
|
||||
class KUnsafeMemory;
|
||||
|
||||
#if defined(ATMOSPHERE_ARCH_ARM64)
|
||||
|
@ -73,7 +72,6 @@ namespace ams::kern {
|
|||
static KMemoryBlockSlabManager s_sys_memory_block_manager;
|
||||
static KBlockInfoManager s_block_info_manager;
|
||||
static KSupervisorPageTable s_supervisor_page_table;
|
||||
static KSynchronization s_synchronization;
|
||||
static KUnsafeMemory s_unsafe_memory;
|
||||
static KWorkerTaskManager s_worker_task_managers[KWorkerTaskManager::WorkerType_Count];
|
||||
static KInterruptManager s_interrupt_manager;
|
||||
|
@ -144,10 +142,6 @@ namespace ams::kern {
|
|||
return s_supervisor_page_table;
|
||||
}
|
||||
|
||||
static ALWAYS_INLINE KSynchronization &GetSynchronization() {
|
||||
return s_synchronization;
|
||||
}
|
||||
|
||||
static ALWAYS_INLINE KUnsafeMemory &GetUnsafeMemory() {
|
||||
return s_unsafe_memory;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue