KallistiOS  ##version##
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups
kos.h
Go to the documentation of this file.
1 /* KallistiOS ##version##
2 
3  kos.h
4  (c)2001 Dan Potter
5 
6 */
7 
8 /** \file kos.h
9  \brief Include everything KOS has to offer!
10 
11  This file includes pretty much every KOS-related header file, so you don't
12  have to figure out what you actually need. The ultimate for the truly lazy!
13 
14  You may want to include individual header files yourself if you need more
15  fine-grained control, as may be more appropriate for some projects.
16 
17  \author Dan Potter
18 */
19 
20 #ifndef __KOS_H
21 #define __KOS_H
22 
23 /* The ultimate for the truly lazy: include and go! No more figuring out
24  which headers to include for your project. */
25 
26 #include <kos/cdefs.h>
27 __BEGIN_DECLS
28 
29 #include <ctype.h>
30 #include <malloc.h>
31 #include <stdio.h>
32 #include <string.h>
33 #include <unistd.h>
34 
35 #include <kos/fs.h>
36 #include <kos/fs_romdisk.h>
37 #include <kos/fs_ramdisk.h>
38 #include <kos/fs_pty.h>
39 #include <kos/limits.h>
40 #include <kos/thread.h>
41 #include <kos/sem.h>
42 #include <kos/rwsem.h>
43 #include <kos/once.h>
44 #include <kos/tls.h>
45 #include <kos/mutex.h>
46 #include <kos/cond.h>
47 #include <kos/genwait.h>
48 #include <kos/library.h>
49 #include <kos/net.h>
50 #include <kos/nmmgr.h>
51 #include <kos/exports.h>
52 #include <kos/dbgio.h>
53 
54 #include <arch/arch.h>
55 #include <arch/cache.h>
56 #include <arch/irq.h>
57 #include <arch/spinlock.h>
58 #include <arch/timer.h>
59 #include <arch/types.h>
60 #include <arch/exec.h>
61 #include <arch/stack.h>
62 
63 #ifdef _arch_dreamcast
64 # include <arch/mmu.h>
65 
66 # include <dc/biosfont.h>
67 # include <dc/cdrom.h>
68 # include <dc/fs_dcload.h>
69 # include <dc/fs_iso9660.h>
70 # include <dc/fs_vmu.h>
71 # include <dc/asic.h>
72 # include <dc/maple.h>
73 # include <dc/maple/controller.h>
74 # include <dc/maple/keyboard.h>
75 # include <dc/maple/mouse.h>
76 # include <dc/maple/vmu.h>
77 # include <dc/maple/sip.h>
78 # include <dc/maple/purupuru.h>
79 # include <dc/vmu_pkg.h>
80 # include <dc/spu.h>
81 # include <dc/pvr.h>
82 # include <dc/video.h>
83 # include <dc/fmath.h>
84 # include <dc/matrix.h>
85 # include <dc/sound/stream.h>
86 # include <dc/sound/sfxmgr.h>
88 # include <dc/net/lan_adapter.h>
89 # include <dc/modem/modem.h>
90 # include <dc/sq.h>
91 # include <dc/ubc.h>
92 # include <dc/flashrom.h>
93 # include <dc/vblank.h>
94 # include <dc/vmufs.h>
95 # include <dc/scif.h>
96 #else /* _arch_dreamcast */
97 # error Invalid architecture or no architecture specified
98 #endif
99 
100 __END_DECLS
101 
102 #endif
Thread-local storage support.
Definitions for using the Sound Input Peripheral.
Basic sound effect support.
Definition for a reader/writer semaphore.
Common integer types.
Generic wait system.
Network support.
Low-level VMU filesystem driver.
Variants on standard block memory copy/set functions.
Functions to access the SH4 Store Queues.
Kernel exported symbols support.
Definitions for using the Puru Puru (Jump) Pack.
Definitions for using the keyboard device.
Simple locking.
Virtual filesystem support.
VMU filesystem driver.
Definitions for using the VMU device.
Definitions to use the Dreamcast modem.
Low-level PVR (3D hardware) interface.
Maple Bus driver interface.
Standard C Malloc functionality.
Dynamically loadable library support.
Low-level timer functionality.
Functions related to video output.
Sound streaming support.
Definitions for using the mouse device.
Semaphores.
Threading support.
Dynamic package initialization.
Memory Management Unit and Translation Lookaside Buffer handling.
Broadband Adapter support.
BIOS font drawing functions.
Dreamcast flashrom read/write support.
LAN Adapter support.
Debug I/O.
Cache management functionality.
Basic matrix operations.
Serial port functionality.
Definitions for using the controller device.
VMU Packaging functionality.
Mutual exclusion locks.
Name manager.
ROMFS virtual file system.
Implementation of dcload "filesystem".
Basic sys/stdio.h file from newlib.
VBlank handler registration.
Potentially useful definitions for C Programs.
Inline functions for the DC's special math instructions.
Program execution.
RAM-based virtual file system.
Pseudo-terminal virtual file system.
Limits.
Dreamcast ASIC event handling support.
Dreamcast architecture specific options.
Condition variables.
Interrupt and exception handling.
Functions related to sound.
CD access to the GD-ROM drive.
Stack traces.
User-break controller support.
ISO9660 (CD-ROM) filesystem driver.