|
AquilaOS documentation
How it works, and its code
|
The built-in modules: the drivers and filesystems that are part of the kernel. More...
Go to the source code of this file.
Typedefs | |
| typedef void(*) | __ctor(void) |
Functions | |
| int | modules_init (void) |
| Runs the init function of every built-in module, at boot. | |
Variables | |
| __ctor | __minit [] |
| __ctor | __minit_end [] |
The built-in modules: the drivers and filesystems that are part of the kernel.
Each declares an init function with MODULE_INIT(), which the linker gathers in the __minit section, and they run at boot, in link order.
Definition in file module.c.
| int modules_init | ( | void | ) |
Runs the init function of every built-in module, at boot.
Definition at line 21 of file module.c.
References __minit, __minit_end, modules_init(), and printk().
Referenced by kmain(), and modules_init().
|
extern |
Referenced by modules_init().
| __ctor __minit_end[] |
Definition at line 14 of file module.c.
Referenced by modules_init().