API published in:
API deprecated in:
Go to the source code of this file.
Defines |
|
#define | _ALIGNBYTES (sizeof(int) - 1) |
#define | _ALIGN(p) (((unsigned)(p) + _ALIGNBYTES) & ~_ALIGNBYTES) |
#define | _MACHINE i386 |
#define | _MACHINE_ARCH i386 |
#define | MACHINE "i386" |
#define | MACHINE_ARCH "i386" |
#define | MID_MACHINE MID_I386 |
#define | MAXCPU 1 |
#define | ALIGNBYTES _ALIGNBYTES |
#define | ALIGN(p) _ALIGN(p) |
#define | PAGE_SHIFT 12 |
#define | PAGE_SIZE (1<<PAGE_SHIFT) |
#define | PAGE_MASK (PAGE_SIZE-1) |
#define | NPTEPG (PAGE_SIZE/(sizeof (pt_entry_t))) |
#define | NPGPTD 1 |
#define | PDRSHIFT 22 |
#define | NBPTD (NPGPTD<<PAGE_SHIFT) |
#define | NPDEPTD (NBPTD/(sizeof (pd_entry_t))) |
#define | NPDEPG (PAGE_SIZE/(sizeof (pd_entry_t))) |
#define | NBPDR (1<<PDRSHIFT) |
#define | PDRMASK (NBPDR-1) |
#define | IOPAGES 2 |
#define | KSTACK_PAGES 2 |
#define | KSTACK_GUARD_PAGES 1 |
#define | VM_SWZONE_SIZE_MAX (32 * 1024 * 1024) |
#define | VM_BCACHE_SIZE_MAX (200 * 1024 * 1024) |
#define | trunc_page(x) ((x) & ~PAGE_MASK) |
#define | round_page(x) (((x) + PAGE_MASK) & ~PAGE_MASK) |
#define | trunc_4mpage(x) ((x) & ~PDRMASK) |
#define | round_4mpage(x) ((((x)) + PDRMASK) & ~PDRMASK) |
#define | atop(x) ((x) >> PAGE_SHIFT) |
#define | ptoa(x) ((x) << PAGE_SHIFT) |
#define | i386_btop(x) ((x) >> PAGE_SHIFT) |
#define | i386_ptob(x) ((x) << PAGE_SHIFT) |
#define | pgtok(x) ((x) * (PAGE_SIZE / 1024)) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|