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