The boot up process will be changed somewhat dramatically, therefor a restructering of the kernel seems as a good starting point.
		
			
				
	
	
		
			23 lines
		
	
	
		
			496 B
		
	
	
	
		
			C
		
	
	
	
	
	
			
		
		
	
	
			23 lines
		
	
	
		
			496 B
		
	
	
	
		
			C
		
	
	
	
	
	
#pragma once 
 | 
						|
#include "./memory.h"
 | 
						|
#include "./../tty/kterm.h"
 | 
						|
#include "paging.definitions.h"
 | 
						|
#include "../cpu.h"
 | 
						|
 | 
						|
extern "C" void loadPageDirectory (uint32_t* addr );
 | 
						|
extern "C" void enablePaging();
 | 
						|
 | 
						|
 | 
						|
void IdentityMap();
 | 
						|
void InitializePaging();
 | 
						|
 | 
						|
void Enable();
 | 
						|
 | 
						|
void AllocatePage(VIRTUAL_ADDRESS, PageDirectoryEntry&);
 | 
						|
void FreePage(VIRTUAL_ADDRESS, PageDirectoryEntry&);
 | 
						|
 | 
						|
void Map(PHYSICAL_ADDRESS, VIRTUAL_ADDRESS, PageDirectoryEntry&);
 | 
						|
void Unmap (VIRTUAL_ADDRESS, PageDirectoryEntry&);
 | 
						|
 | 
						|
 |