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
|
@ -27,6 +27,10 @@ namespace Memory {
|
|||
class MemorySystem;
|
||||
}
|
||||
|
||||
namespace Core {
|
||||
class Timing;
|
||||
}
|
||||
|
||||
namespace Kernel {
|
||||
|
||||
class AddressArbiter;
|
||||
|
@ -78,7 +82,7 @@ using SharedPtr = boost::intrusive_ptr<T>;
|
|||
|
||||
class KernelSystem {
|
||||
public:
|
||||
explicit KernelSystem(Memory::MemorySystem& memory, u32 system_mode);
|
||||
explicit KernelSystem(Memory::MemorySystem& memory, Core::Timing& timing, u32 system_mode);
|
||||
~KernelSystem();
|
||||
|
||||
/**
|
||||
|
@ -229,6 +233,8 @@ public:
|
|||
|
||||
Memory::MemorySystem& memory;
|
||||
|
||||
Core::Timing& timing;
|
||||
|
||||
private:
|
||||
void MemoryInit(u32 mem_type);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue