1
1
Fork 0
forked from suyu/suyu

arm_interface: Replace kernel vm_manager include with a forward declaration

Avoids an unnecessary inclusion and also uncovers three places where
indirect inclusions were relied upon, which allows us to also resolve
those.
This commit is contained in:
Lioncash 2018-09-20 19:28:48 -04:00
parent f237265187
commit 9b8fc2b689
5 changed files with 11 additions and 1 deletions

View file

@ -6,7 +6,10 @@
#include <array>
#include "common/common_types.h"
#include "core/hle/kernel/vm_manager.h"
namespace Kernel {
enum class VMAPermission : u8;
}
namespace Core {

View file

@ -15,6 +15,7 @@
#include "core/gdbstub/gdbstub.h"
#include "core/hle/kernel/process.h"
#include "core/hle/kernel/svc.h"
#include "core/hle/kernel/vm_manager.h"
#include "core/memory.h"
namespace Core {

View file

@ -12,6 +12,10 @@
#include "core/arm/exclusive_monitor.h"
#include "core/arm/unicorn/arm_unicorn.h"
namespace Memory {
struct PageTable;
}
namespace Core {
class ARM_Dynarmic_Callbacks;

View file

@ -16,6 +16,7 @@
#include "core/hle/kernel/object.h"
#include "core/hle/kernel/thread.h"
#include "core/hle/result.h"
#include "core/memory.h"
namespace Kernel {

View file

@ -15,6 +15,7 @@
#include "core/hle/kernel/thread.h"
#include "core/hle/kernel/timer.h"
#include "core/hle/kernel/wait_object.h"
#include "core/memory.h"
WaitTreeItem::WaitTreeItem() = default;
WaitTreeItem::~WaitTreeItem() = default;