Go to the source code of this file.
Defines | |
| #define | L4_STICKY(x) __attribute__((unused)) x |
| #define | l4str(s) #s |
| #define | __l4ddekit_initcall(p) __attribute__ ((__section__ (".l4dde_ctors." #p))) |
| #define | DDEKIT_INITCALL(fn) DDEKIT_CTOR(fn, 1) |
| Define a function to be a DDEKit initcall. | |
| #define | DDEKIT_CTOR(fn, prio) |
Typedefs | |
| typedef void(* | l4ddekit_initcall_t )(void) |
Functions | |
| void | ddekit_do_initcalls (void) |
| Runs all registered initcalls. | |
| #define __l4ddekit_initcall | ( | p | ) | __attribute__ ((__section__ (".l4dde_ctors." #p))) |
Definition at line 16 of file initcall.h.
| #define DDEKIT_CTOR | ( | fn, | |||
| prio | ) |
Value:
static l4ddekit_initcall_t \ L4_STICKY(__l4ddekit_initcall_##fn) \ __l4ddekit_initcall(prio) = (void *)fn
Definition at line 32 of file initcall.h.
| #define DDEKIT_INITCALL | ( | fn | ) | DDEKIT_CTOR(fn, 1) |
Define a function to be a DDEKit initcall.
Define a function to be a DDEKit initcall. This function will then be placed in a separate linker section of the binary (called .l4dde_ctors). The L4Env construction mechanism will execute all constructors in this section during application startup.
This is the right place to place Linux' module_init functions & Co.
| fn | function |
Definition at line 30 of file initcall.h.
| #define L4_STICKY | ( | x | ) | __attribute__((unused)) x |
Definition at line 8 of file initcall.h.
Definition at line 11 of file initcall.h.
| typedef void(* l4ddekit_initcall_t)(void) |
Definition at line 14 of file initcall.h.
| void ddekit_do_initcalls | ( | void | ) |
1.5.6