Kernel: replace usage of Core::System::GetInstance()::Timing()
This commit is contained in:
parent
276ca88c9e
commit
eb050b8403
12 changed files with 58 additions and 42 deletions
|
@ -16,12 +16,13 @@
|
|||
namespace Kernel {
|
||||
|
||||
/// Initialize the kernel
|
||||
KernelSystem::KernelSystem(Memory::MemorySystem& memory, u32 system_mode) : memory(memory) {
|
||||
KernelSystem::KernelSystem(Memory::MemorySystem& memory, Core::Timing& timing, u32 system_mode)
|
||||
: memory(memory), timing(timing) {
|
||||
MemoryInit(system_mode);
|
||||
|
||||
resource_limits = std::make_unique<ResourceLimitList>(*this);
|
||||
thread_manager = std::make_unique<ThreadManager>(*this);
|
||||
timer_manager = std::make_unique<TimerManager>();
|
||||
timer_manager = std::make_unique<TimerManager>(timing);
|
||||
}
|
||||
|
||||
/// Shutdown the kernel
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue