|
KallistiOS git master
Independent SDK for the Sega Dreamcast
|
Initialization-related flags and macros. More...
Go to the source code of this file.
Macros | |
| #define | KOS_INIT_FLAGS(flags) _KOS_INIT_FLAGS(flags, __kos_cplusplus) |
| Exports and initializes the given KOS subsystems. | |
| #define | KOS_INIT_ROMDISK(rd) |
| Deprecated and not useful anymore. | |
| #define | KOS_INIT_ROMDISK_NONE NULL |
| State that you don't want a romdisk. | |
| #define | KOS_INIT_EARLY(func) 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. | |
| #define | INIT_DEFAULT |
| Default init flags (IRQs on, preemption enabled, romdisks). | |
| #define | INIT_FS_DEV (INIT_FS_NULL | INIT_FS_RND) |
Init flags to include all virtual filesystems within /dev | |
| #define | INIT_FS_ALL |
| Init flags to include all virtual filesystems (default). | |
| #define | INIT_NONE 0x00000000 |
| Don't init optional things. | |
| #define | INIT_THD_PREEMPT 0x00000000 |
| #define | INIT_IRQ 0x00000001 |
| Enable IRQs at startup. | |
| #define | INIT_NET 0x00000002 |
| Enable built-in networking. | |
| #define | INIT_MALLOCSTATS 0x00000004 |
| Enable malloc statistics. | |
| #define | INIT_QUIET 0x00000008 |
| Disable dbgio. | |
| #define | INIT_EXPORT 0x00000010 |
| Export kernel symbols/dynamic libs. | |
| #define | INIT_LIBRARY 0x00000010 |
| Export kernel symbols/dynamic libs. | |
| #define | INIT_FS_ROMDISK 0x00000020 |
| Enable support for romdisks. | |
| #define | INIT_FS_RAMDISK 0x00000040 |
| Enable support for ramdisk VFS. | |
| #define | INIT_FS_PTY 0x00000080 |
| Enable support for PTY VFS. | |
| #define | INIT_FS_NULL 0x00000100 |
| Enable support for /dev/null VFS. | |
| #define | INIT_FS_RND 0x00000200 |
| Enable support for /dev/urandom VFS. | |
| #define | INIT_NO_SHUTDOWN 0x00000400 |
| Disable hardware shutdown. | |
Variables | |
| const void * | __kos_romdisk |
| Built-in romdisk. | |
Initialization-related flags and macros.
This file provides initialization-related flags and macros that can be used to set up various subsystems of KOS on startup. Only flags that are architecture-independent are specified here, however this file also includes the architecture-specific file to bring in those flags as well.
| #define KOS_INIT_ROMDISK | ( | rd | ) |
Deprecated and not useful anymore.
| #define KOS_INIT_ROMDISK_NONE NULL |
State that you don't want a romdisk.
|
extern |
Built-in romdisk.
Do not modify this directly!