KOS Driver Subsystem and Component Initialization Flags
More...
|
| file | init.h |
| | Initialization-related flags and macros.
|
| |
| file | init_base.h |
| | Shared initialization macros and utilities.
|
| |
| file | init_flags.h |
| | Dreamcast-specific initialization-related flags and macros.
|
| |
|
| #define | KOS_INIT_FLAGS(flags) |
| | Exports and initializes the given KOS subsystems.
|
| |
| #define | KOS_INIT_EARLY(func) |
| | Register a single function to be called very early in the boot process, before the BSS section is cleared.
|
| |
| #define | KOS_INIT_FLAGS_ARCH(flags) |
| | Dreamcast-specific KOS_INIT Exports.
|
| |
KOS Driver Subsystem and Component Initialization Flags
◆ KOS_INIT_EARLY
| #define KOS_INIT_EARLY |
( |
| func | ) |
|
Value:void (*__kos_init_early_fn)(void) = (func)
Register a single function to be called very early in the boot process, before the BSS section is cleared.
- Parameters
-
| func | The function to register. The prototype should be void func(void) |
◆ KOS_INIT_FLAGS
| #define KOS_INIT_FLAGS |
( |
| flags | ) |
|
Value: _KOS_INIT_FLAGS(flags, __kos_cplusplus)
Exports and initializes the given KOS subsystems.
KOS_INIT_FLAGS() provides a mechanism through which various components of KOS can be enabled and initialized depending on whether their flag has been included within the list.
- Note
- When no KOS_INIT_FLAGS() have been explicitly provided, the default flags used by KOS are equivalent to KOS_INIT_FLAGS(INIT_DEFAULT).
- Parameters
-
| flags | Parts of KOS to init. |
◆ KOS_INIT_FLAGS_ARCH
| #define KOS_INIT_FLAGS_ARCH |
( |
| flags | ) |
|
Dreamcast-specific KOS_INIT Exports.
This macro contains a list of all of the possible DC-specific exported functions based on their associated initialization flags.
- Note
- This is not typically used directly and is instead included within the top-level architecture-independent KOS_INIT_FLAGS() macro.
- Parameters
-
| flags | Parts of KOS to initialize. |
- See also
- KOS_INIT_FLAGS()