author | sl |
Tue, 10 Jun 2014 14:32:02 +0200 | |
changeset 1 | 260cb5ec6c19 |
permissions | -rw-r--r-- |
sl@0 | 1 |
/** @file ../include/machine/param.h |
sl@0 | 2 |
@internalComponent |
sl@0 | 3 |
*/ |
sl@0 | 4 |
|
sl@0 | 5 |
/** @def _ALIGNBYTES |
sl@0 | 6 |
|
sl@0 | 7 |
Round p (pointer or byte index) up to a correctly-aligned value for all data types (int, long, ...). |
sl@0 | 8 |
The result is unsigned int and must be cast to any desired pointer type. |
sl@0 | 9 |
|
sl@0 | 10 |
@publishedAll |
sl@0 | 11 |
@released |
sl@0 | 12 |
*/ |
sl@0 | 13 |
|
sl@0 | 14 |
/** @def PAGE_SHIFT |
sl@0 | 15 |
|
sl@0 | 16 |
LOG2(PAGE_SIZE) |
sl@0 | 17 |
|
sl@0 | 18 |
@publishedAll |
sl@0 | 19 |
@released |
sl@0 | 20 |
*/ |
sl@0 | 21 |
|
sl@0 | 22 |
/** @def PAGE_SIZE |
sl@0 | 23 |
|
sl@0 | 24 |
bytes per page |
sl@0 | 25 |
|
sl@0 | 26 |
@publishedAll |
sl@0 | 27 |
@released |
sl@0 | 28 |
*/ |
sl@0 | 29 |
|
sl@0 | 30 |
/** @def PDRSHIFT |
sl@0 | 31 |
|
sl@0 | 32 |
LOG2(NBPDR) |
sl@0 | 33 |
|
sl@0 | 34 |
@publishedAll |
sl@0 | 35 |
@released |
sl@0 | 36 |
*/ |
sl@0 | 37 |
|
sl@0 | 38 |
/** @def VM_BCACHE_SIZE_MAX |
sl@0 | 39 |
|
sl@0 | 40 |
Ceiling on size of buffer cache |
sl@0 | 41 |
|
sl@0 | 42 |
@publishedAll |
sl@0 | 43 |
@released |
sl@0 | 44 |
*/ |
sl@0 | 45 |
|
sl@0 | 46 |
/** @def IOPAGES |
sl@0 | 47 |
|
sl@0 | 48 |
pages of io permission bitmap |
sl@0 | 49 |
|
sl@0 | 50 |
@publishedAll |
sl@0 | 51 |
@released |
sl@0 | 52 |
*/ |