KallistiOS git master
Independent SDK for the Sega Dreamcast
All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
Generic Flags

Generic flags for use with KOS_INIT_FLAGS() More...

Macros

#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.
 

Detailed Description

Generic flags for use with KOS_INIT_FLAGS()

These are the architecture-independent flags that can be specified with KOS_INIT_FLAGS.

See also
dreamcast_initflags

Macro Definition Documentation

◆ INIT_DEFAULT

#define INIT_DEFAULT
Value:
#define INIT_DEFAULT_ARCH
Default init flags for the Dreamcast.
Definition init_flags.h:91
#define INIT_IRQ
Enable IRQs at startup.
Definition init.h:155
#define INIT_LIBRARY
Export kernel symbols/dynamic libs.
Definition init.h:160
#define INIT_FS_ALL
Init flags to include all virtual filesystems (default).
Definition init.h:150
#define INIT_THD_PREEMPT
Definition init.h:154

Default init flags (IRQs on, preemption enabled, romdisks).

◆ INIT_EXPORT

#define INIT_EXPORT   0x00000010

Export kernel symbols/dynamic libs.

◆ INIT_FS_ALL

#define INIT_FS_ALL
Value:
#define INIT_FS_DEV
Init flags to include all virtual filesystems within /dev
Definition init.h:147
#define INIT_FS_RAMDISK
Enable support for ramdisk VFS.
Definition init.h:163
#define INIT_FS_ROMDISK
Enable support for romdisks.
Definition init.h:162
#define INIT_FS_PTY
Enable support for PTY VFS.
Definition init.h:164

Init flags to include all virtual filesystems (default).

◆ INIT_FS_DEV

#define INIT_FS_DEV   (INIT_FS_NULL | INIT_FS_RND)

Init flags to include all virtual filesystems within /dev

◆ INIT_FS_NULL

#define INIT_FS_NULL   0x00000100

Enable support for /dev/null VFS.

◆ INIT_FS_PTY

#define INIT_FS_PTY   0x00000080

Enable support for PTY VFS.

◆ INIT_FS_RAMDISK

#define INIT_FS_RAMDISK   0x00000040

Enable support for ramdisk VFS.

◆ INIT_FS_RND

#define INIT_FS_RND   0x00000200

Enable support for /dev/urandom VFS.

◆ INIT_FS_ROMDISK

#define INIT_FS_ROMDISK   0x00000020

Enable support for romdisks.

◆ INIT_IRQ

#define INIT_IRQ   0x00000001

Enable IRQs at startup.

◆ INIT_LIBRARY

#define INIT_LIBRARY   0x00000010

Export kernel symbols/dynamic libs.

◆ INIT_MALLOCSTATS

#define INIT_MALLOCSTATS   0x00000004

Enable malloc statistics.

◆ INIT_NET

#define INIT_NET   0x00000002

Enable built-in networking.

◆ INIT_NO_SHUTDOWN

#define INIT_NO_SHUTDOWN   0x00000400

Disable hardware shutdown.

◆ INIT_NONE

#define INIT_NONE   0x00000000

Don't init optional things.

◆ INIT_QUIET

#define INIT_QUIET   0x00000008

Disable dbgio.

◆ INIT_THD_PREEMPT

#define INIT_THD_PREEMPT   0x00000000
Deprecated
Already default mode