xref: /haiku/src/system/kernel/arch/ppc/paging/460/PPCPagingStructures460.h (revision 1e60bdeab63fa7a57bc9a55b032052e95a18bd2c)
1 /*
2  * Copyright 2010, Ingo Weinhold, ingo_weinhold@gmx.de.
3  * Distributed under the terms of the MIT License.
4  */
5 #ifndef KERNEL_ARCH_PPC_PAGING_460_PPC_PAGING_STRUCTURES_460_H
6 #define KERNEL_ARCH_PPC_PAGING_460_PPC_PAGING_STRUCTURES_460_H
7 
8 
9 //#include "paging/460/paging.h"
10 #include <arch_mmu.h>
11 #include "paging/PPCPagingStructures.h"
12 
13 
14 struct PPCPagingStructures460 : PPCPagingStructures {
15 //	page_directory_entry*		pgdir_virt;
16 
17 								PPCPagingStructures460();
18 	virtual						~PPCPagingStructures460();
19 
20 			void				Init(/*page_directory_entry* virtualPageDir,
21 									 phys_addr_t physicalPageDir,
22 									 page_directory_entry* kernelPageDir,*/
23 									page_table_entry_group *pageTable);
24 
25 	virtual	void				Delete();
26 
27 	static	void				StaticInit();
28 	static	void				UpdateAllPageDirs(int index,
29 									page_table_entry_group entry);
30 };
31 
32 
33 #endif	// KERNEL_ARCH_PPC_PAGING_460_PPC_PAGING_STRUCTURES_460_H
34