mirror of
https://github.com/PabloMK7/citra.git
synced 2025-09-11 05:10:05 +00:00
Memory: move PageTable functions into class
This commit is contained in:
parent
b199b7ada9
commit
8c618c3fc3
8 changed files with 19 additions and 16 deletions
|
@ -57,7 +57,7 @@ enum class ThreadWakeupReason {
|
|||
|
||||
class ThreadManager {
|
||||
public:
|
||||
ThreadManager();
|
||||
explicit ThreadManager(Kernel::KernelSystem& kernel);
|
||||
~ThreadManager();
|
||||
|
||||
/**
|
||||
|
@ -121,6 +121,8 @@ private:
|
|||
*/
|
||||
void ThreadWakeupCallback(u64 thread_id, s64 cycles_late);
|
||||
|
||||
Kernel::KernelSystem& kernel;
|
||||
|
||||
u32 next_thread_id = 1;
|
||||
SharedPtr<Thread> current_thread;
|
||||
Common::ThreadQueueList<Thread*, ThreadPrioLowest + 1> ready_queue;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue