Changeset View
Changeset View
Standalone View
Standalone View
sys/mips/include/param.h
Context not available. | |||||
#define SEGSHIFT (PAGE_SHIFT + NPTEPGSHIFT + NPDEPGSHIFT) | #define SEGSHIFT (PAGE_SHIFT + NPTEPGSHIFT + NPDEPGSHIFT) | ||||
#define NBSEG (1ul << SEGSHIFT) | #define NBSEG (1ul << SEGSHIFT) | ||||
#define PDRSHIFT (PAGE_SHIFT + NPTEPGSHIFT) | #define PDRSHIFT (PAGE_SHIFT + NPTEPGSHIFT) | ||||
#define PDRSIZE (1ul << PDRSHIFT) | |||||
#define PDRMASK ((1 << PDRSHIFT) - 1) | #define PDRMASK ((1 << PDRSHIFT) - 1) | ||||
#else | #else | ||||
#define NPDEPGSHIFT 10 /* LOG2(NPTEPG) */ | #define NPDEPGSHIFT 10 /* LOG2(NPTEPG) */ | ||||
#define SEGSHIFT (PAGE_SHIFT + NPTEPGSHIFT) | #define SEGSHIFT (PAGE_SHIFT + NPTEPGSHIFT) | ||||
#define NBSEG (1 << SEGSHIFT) /* bytes/segment */ | #define NBSEG (1 << SEGSHIFT) /* bytes/segment */ | ||||
#define PDRSHIFT SEGSHIFT /* alias for SEG in 32 bit */ | #define PDRSHIFT SEGSHIFT /* alias for SEG in 32 bit */ | ||||
#define PDRSIZE (1ul << PDRSHIFT) | |||||
#define PDRMASK ((1 << PDRSHIFT) - 1) | #define PDRMASK ((1 << PDRSHIFT) - 1) | ||||
#endif | #endif | ||||
#define NBPDR (1 << PDRSHIFT) /* bytes/pagedir */ | #define NBPDR (1 << PDRSHIFT) /* bytes/pagedir */ | ||||
Context not available. |