Changeset View
Changeset View
Standalone View
Standalone View
sys/powerpc/include/param.h
Show First 20 Lines • Show All 103 Lines • ▼ Show 20 Lines | |||||
#define PAGE_SHIFT 12 | #define PAGE_SHIFT 12 | ||||
#define PAGE_SIZE (1 << PAGE_SHIFT) /* Page size */ | #define PAGE_SIZE (1 << PAGE_SHIFT) /* Page size */ | ||||
#define PAGE_MASK (PAGE_SIZE - 1) | #define PAGE_MASK (PAGE_SIZE - 1) | ||||
#define NPTEPG (PAGE_SIZE/(sizeof (pt_entry_t))) | #define NPTEPG (PAGE_SIZE/(sizeof (pt_entry_t))) | ||||
#define MAXPAGESIZES 1 /* maximum number of supported page sizes */ | #define MAXPAGESIZES 1 /* maximum number of supported page sizes */ | ||||
#define RELOCATABLE_KERNEL 1 /* kernel may relocate during startup */ | |||||
#ifndef KSTACK_PAGES | #ifndef KSTACK_PAGES | ||||
#ifdef __powerpc64__ | #ifdef __powerpc64__ | ||||
#define KSTACK_PAGES 8 /* includes pcb */ | #define KSTACK_PAGES 8 /* includes pcb */ | ||||
#else | #else | ||||
#define KSTACK_PAGES 4 /* includes pcb */ | #define KSTACK_PAGES 4 /* includes pcb */ | ||||
#endif | #endif | ||||
#endif | #endif | ||||
#define KSTACK_GUARD_PAGES 1 /* pages of kstack guard; 0 disables */ | #define KSTACK_GUARD_PAGES 1 /* pages of kstack guard; 0 disables */ | ||||
Show All 19 Lines |