Introduction   API Reference   Files   Index  

Common types and defines
[Datatypes, Defines and Macros]


Data Structures

struct  l4_low_high_t
 64 Bit -> 32 Bit low/high conversion More...

Defines

#define L4_PAGESIZE
 Page size.
#define L4_PAGEMASK
 Page mask (upper bits are 1).
#define L4_LOG2_PAGESIZE
 Size of page in log2.
#define L4_SUPERPAGESIZE
 Size of large page.
#define L4_SUPERPAGEMASK
 Mask of large page (upper bits are 1).
#define L4_LOG2_SUPERPAGESIZE
 Size of large page in log2.
#define L4_MAX_ADDRESS
 Maximum address value

Max address.

#define l4_trunc_page(x)
 Get page address of x.
#define l4_round_page(x)
 Round to next page address behind x.
#define l4_trunc_superpage(x)
 Get superpage address of x.
#define l4_round_superpage(x)
 Round to next superpage address behind x.
#define NULL
 NULL.
#define L4_PAGESHIFT   12
 Sizeof a page in log2.
#define L4_SUPERPAGESHIFT   21
 Sizeof a large page in log2.
#define L4_PAGESHIFT   12
 Sizeof a page in log2.
#define L4_SUPERPAGESHIFT   20
 Sizeof a large page in log2.

Define Documentation

#define l4_trunc_page (  ) 

Get page address of x.

Parameters:
x Address

Definition at line 67 of file consts.h.

#define l4_round_page (  ) 

Round to next page address behind x.

Parameters:
x Address

Definition at line 76 of file consts.h.

#define l4_trunc_superpage (  ) 

Get superpage address of x.

Parameters:
x Address

Definition at line 86 of file consts.h.

#define l4_round_superpage (  ) 

Round to next superpage address behind x.

Parameters:
x Address

Definition at line 96 of file consts.h.


Fiasco/L4 System Call C-Bindings Reference Manual,  © 1996-2008