Changeset View
Changeset View
Standalone View
Standalone View
head/sys/powerpc/aim/mmu_oea64.h
Show All 24 Lines | |||||
* ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | ||||
* | * | ||||
* $FreeBSD$ | * $FreeBSD$ | ||||
*/ | */ | ||||
#ifndef _POWERPC_AIM_MMU_OEA64_H | #ifndef _POWERPC_AIM_MMU_OEA64_H | ||||
#define _POWERPC_AIM_MMU_OEA64_H | #define _POWERPC_AIM_MMU_OEA64_H | ||||
#include "opt_pmap.h" | |||||
#include <machine/mmuvar.h> | #include <machine/mmuvar.h> | ||||
extern mmu_def_t oea64_mmu; | extern mmu_def_t oea64_mmu; | ||||
/* | /* | ||||
* Helper routines | * Helper routines | ||||
*/ | */ | ||||
Show All 26 Lines | void moea64_mid_bootstrap(mmu_t mmup, vm_offset_t kernelstart, | ||||
vm_offset_t kernelend); | vm_offset_t kernelend); | ||||
void moea64_late_bootstrap(mmu_t mmup, vm_offset_t kernelstart, | void moea64_late_bootstrap(mmu_t mmup, vm_offset_t kernelstart, | ||||
vm_offset_t kernelend); | vm_offset_t kernelend); | ||||
/* | /* | ||||
* Statistics | * Statistics | ||||
*/ | */ | ||||
#ifdef MOEA64_STATS | |||||
extern u_int moea64_pte_valid; | extern u_int moea64_pte_valid; | ||||
extern u_int moea64_pte_overflow; | extern u_int moea64_pte_overflow; | ||||
#define STAT_MOEA64(x) x | |||||
#else | |||||
#define STAT_MOEA64(x) ((void)0) | |||||
#endif | |||||
/* | /* | ||||
* State variables | * State variables | ||||
*/ | */ | ||||
extern int moea64_large_page_shift; | extern int moea64_large_page_shift; | ||||
extern uint64_t moea64_large_page_size; | extern uint64_t moea64_large_page_size; | ||||
extern uint64_t moea64_large_page_mask; | extern uint64_t moea64_large_page_mask; | ||||
extern u_long moea64_pteg_count; | extern u_long moea64_pteg_count; | ||||
extern u_long moea64_pteg_mask; | extern u_long moea64_pteg_mask; | ||||
extern int n_slbs; | extern int n_slbs; | ||||
#endif /* _POWERPC_AIM_MMU_OEA64_H */ | #endif /* _POWERPC_AIM_MMU_OEA64_H */ | ||||