mirror of
https://git.eden-emu.dev/eden-emu/eden
synced 2026-11-05 14:57:44 +01:00
core: Implement multicore support.
This commit is contained in:
1 parent
fc8b0d9d2b
commit
44c565aeca
13 files changed
+113
-78
No files matched your search
+7
-2
@@ -28,8 +28,13 @@ static PageTable* current_page_table = nullptr;
|
||||
|
||||
void SetCurrentPageTable(PageTable* page_table) {
|
||||
current_page_table = page_table;
|
||||
if (Core::System::GetInstance().IsPoweredOn()) {
|
||||
Core::CPU().PageTableChanged();
|
||||
|
||||
auto& system = Core::System::GetInstance();
|
||||
if (system.IsPoweredOn()) {
|
||||
system.ArmInterface(0).PageTableChanged();
|
||||
system.ArmInterface(1).PageTableChanged();
|
||||
system.ArmInterface(2).PageTableChanged();
|
||||
system.ArmInterface(3).PageTableChanged();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user