KallistiOS  2.0.0
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups
kos.h
Go to the documentation of this file.
1 /* KallistiOS 2.0.0
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 #elif _arch_gba /* _arch_dreamcast */
97 # include <gba/keys.h>
98 # include <gba/sprite.h>
99 # include <gba/video.h>
100 # include <gba/dma.h>
101 # include <gba/sound.h>
102 #elif _arch_ps2 /* _arch_gba */
103 # include <ps2/ioports.h>
104 # include <ps2/fs_ps2load.h>
105 # include <ps2/sbios.h>
106 #else /* _arch_ps2 */
107 # error Invalid architecture or no architecture specified
108 #endif
109 
110 __END_DECLS
111 
112 #endif
113