param.h File Reference

_ALIGNBYTES

Round p (pointer or byte index) up to a correctly-aligned value for all data types (int, long, ...). The result is unsigned int and must be cast to any desired pointer type.

_ALIGN

_MACHINE

_MACHINE_ARCH

MACHINE

MACHINE_ARCH

MID_MACHINE

MAXCPU

ALIGNBYTES

ALIGN

PAGE_SHIFT

LOG2(PAGE_SIZE)

PAGE_SIZE

bytes per page

PAGE_MASK

NPTEPG

NPGPTD

PDRSHIFT

LOG2(NBPDR)

NBPTD

NPDEPTD

NPDEPG

NBPDR

PDRMASK

IOPAGES

pages of io permission bitmap

KSTACK_PAGES

KSTACK_GUARD_PAGES

VM_SWZONE_SIZE_MAX

VM_BCACHE_SIZE_MAX

Ceiling on size of buffer cache

trunc_page

round_page

trunc_4mpage

round_4mpage

atop

ptoa

i386_btop

i386_ptob

pgtok