os/ossrv/genericopenlibs/openenvcore/include/machine/param.dosc
changeset 0 bde4ae8d615e
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/os/ossrv/genericopenlibs/openenvcore/include/machine/param.dosc	Fri Jun 15 03:10:57 2012 +0200
     1.3 @@ -0,0 +1,52 @@
     1.4 +/** @file  ../include/machine/param.h
     1.5 +@internalComponent
     1.6 +*/
     1.7 +
     1.8 +/** @def _ALIGNBYTES
     1.9 +
    1.10 +Round p (pointer or byte index) up to a correctly-aligned value for all data types (int, long, ...).   
    1.11 +The result is unsigned int and must be cast to any desired pointer type.
    1.12 +
    1.13 +@publishedAll
    1.14 +@released
    1.15 +*/
    1.16 +
    1.17 +/** @def PAGE_SHIFT
    1.18 +
    1.19 +LOG2(PAGE_SIZE)
    1.20 +
    1.21 +@publishedAll
    1.22 +@released
    1.23 +*/
    1.24 +
    1.25 +/** @def PAGE_SIZE
    1.26 +
    1.27 +bytes per page
    1.28 +
    1.29 +@publishedAll
    1.30 +@released
    1.31 +*/
    1.32 +
    1.33 +/** @def PDRSHIFT
    1.34 +
    1.35 +LOG2(NBPDR)
    1.36 +
    1.37 +@publishedAll
    1.38 +@released
    1.39 +*/
    1.40 +
    1.41 +/** @def VM_BCACHE_SIZE_MAX
    1.42 +
    1.43 +Ceiling on size of buffer cache
    1.44 +
    1.45 +@publishedAll
    1.46 +@released
    1.47 +*/
    1.48 +
    1.49 +/** @def IOPAGES
    1.50 +
    1.51 +pages of io permission bitmap
    1.52 +
    1.53 +@publishedAll
    1.54 +@released
    1.55 +*/