mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 08:02:44 +00:00 
			
		
		
		
	 697c5ca5e5
			
		
	
	
		697c5ca5e5
		
	
	
	
	
		
			
			The handling of page tables is very architecture specific, so belongs
in the Arch directory. Some parts were already architecture-specific,
however this commit moves the rest of the PageDirectory class into the
Arch directory.
While we're here the aarch64/PageDirectory.{h,cpp} files are updated to
be aarch64 specific, by renaming some members and removing x86_64
specific code.
		
	
			
		
			
				
	
	
		
			25 lines
		
	
	
	
		
			373 B
		
	
	
	
		
			C++
		
	
	
	
	
	
			
		
		
	
	
			25 lines
		
	
	
	
		
			373 B
		
	
	
	
		
			C++
		
	
	
	
	
	
| /*
 | |
|  * Copyright (c) 2018-2022, James Mintram <me@jamesrm.com>
 | |
|  *
 | |
|  * SPDX-License-Identifier: BSD-2-Clause
 | |
|  */
 | |
| 
 | |
| #pragma once
 | |
| 
 | |
| #include <AK/Forward.h>
 | |
| #include <AK/Types.h>
 | |
| 
 | |
| namespace Kernel {
 | |
| 
 | |
| void initialize_exceptions();
 | |
| void panic_without_mmu(StringView);
 | |
| void dbgln_without_mmu(StringView);
 | |
| 
 | |
| namespace Memory {
 | |
| 
 | |
| void init_page_tables();
 | |
| void unmap_identity_map();
 | |
| 
 | |
| }
 | |
| 
 | |
| }
 |