mirror of
				https://git.zaroz.cloud/nintendo-back-up/yuzu/yuzu.git
				synced 2025-05-12 00:45:25 +00:00 
			
		
		
		
	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:
		
							parent
							
								
									f237265187
								
							
						
					
					
						commit
						9b8fc2b689
					
				| @ -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 { | ||||
| 
 | ||||
|  | ||||
| @ -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 { | ||||
|  | ||||
| @ -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; | ||||
|  | ||||
| @ -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 { | ||||
| 
 | ||||
|  | ||||
| @ -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; | ||||
|  | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user
	 Lioncash
						Lioncash