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_CLASSIC_PPC_PAGING_STRUCTURES_CLASSIC_H
6#define KERNEL_ARCH_PPC_PAGING_CLASSIC_PPC_PAGING_STRUCTURES_CLASSIC_H
7
8
9//#include "paging/classic/paging.h"
10#include <arch_mmu.h>
11#include "paging/PPCPagingStructures.h"
12
13
14struct PPCPagingStructuresClassic : PPCPagingStructures {
15//	page_directory_entry*		pgdir_virt;
16
17								PPCPagingStructuresClassic();
18	virtual						~PPCPagingStructuresClassic();
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_CLASSIC_PPC_PAGING_STRUCTURES_CLASSIC_H
34