KallistiOS git master
Independent SDK for the Sega Dreamcast
Loading...
Searching...
No Matches
kos.h
Go to the documentation of this file.
1/* KallistiOS ##version##
2
3 kos.h
4 Copyright (C) 2001 Megan 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 Megan 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/version.h>
36#include <kos/fs.h>
37#include <kos/fs_romdisk.h>
38#include <kos/fs_ramdisk.h>
39#include <kos/fs_dev.h>
40#include <kos/fs_pty.h>
41#include <kos/limits.h>
42#include <kos/thread.h>
43#include <kos/sem.h>
44#include <kos/rwsem.h>
45#include <kos/once.h>
46#include <kos/tls.h>
47#include <kos/mutex.h>
48#include <kos/cond.h>
49#include <kos/genwait.h>
50#include <kos/library.h>
51#include <kos/net.h>
52#include <kos/nmmgr.h>
53#include <kos/exports.h>
54#include <kos/dbgio.h>
55#include <kos/blockdev.h>
56#include <kos/dbglog.h>
57#include <kos/elf.h>
58#include <kos/fs_socket.h>
59#include <kos/string.h>
60#include <kos/init.h>
61#include <kos/oneshot_timer.h>
62
63#include <arch/arch.h>
64#include <arch/cache.h>
65#include <arch/irq.h>
66#include <arch/spinlock.h>
67#include <arch/timer.h>
68#include <arch/wdt.h>
69#include <arch/types.h>
70#include <arch/exec.h>
71#include <arch/stack.h>
72#include <arch/byteorder.h>
73#include <arch/rtc.h>
74
75#ifdef _arch_dreamcast
76# include <arch/gdb.h>
77# include <arch/mmu.h>
78# include <arch/memory.h>
79
80# include <dc/asic.h>
81# include <dc/biosfont.h>
82# include <dc/cdrom.h>
83# include <dc/fb_console.h>
84# include <dc/flashrom.h>
85# include <dc/fmath.h>
86# include <dc/fs_dcload.h>
87# include <dc/fs_dclsocket.h>
88# include <dc/fs_iso9660.h>
89# include <dc/fs_vmu.h>
90# include <dc/g1ata.h>
91# include <dc/g2bus.h>
92# include <dc/maple.h>
93# include <dc/maple/controller.h>
94# include <dc/maple/dreameye.h>
95# include <dc/maple/keyboard.h>
96# include <dc/maple/mouse.h>
97# include <dc/maple/purupuru.h>
98# include <dc/maple/sip.h>
99# include <dc/maple/vmu.h>
100# include <dc/matrix3d.h>
101# include <dc/matrix.h>
102# include <dc/modem/modem.h>
104# include <dc/net/lan_adapter.h>
105# include <dc/perfctr.h>
106# include <dc/pvr.h>
107# include <dc/scif.h>
108# include <dc/sd.h>
109# include <dc/sound/stream.h>
110# include <dc/sound/sfxmgr.h>
111# include <dc/spu.h>
112# include <dc/sq.h>
113# include <dc/ubc.h>
114# include <dc/vblank.h>
115# include <dc/vec3f.h>
116# include <dc/video.h>
117# include <dc/vmu_fb.h>
118# include <dc/vmu_pkg.h>
119# include <dc/vmufs.h>
120#else /* _arch_dreamcast */
121# error Invalid architecture or no architecture specified
122#endif
123
124__END_DECLS
125
126#endif
Dreamcast architecture specific options.
Dreamcast ASIC event handling support.
BIOS font drawing functions.
Definitions for a simple block device interface.
Broadband Adapter support.
Byte-order related macros.
Cache management functionality.
Definitions for builtin attributes and compiler directives.
CD access to the GD-ROM drive.
Condition variables.
Definitions for using the controller device.
Debug I/O.
A debugging log.
Definitions for using the Dreameye Camera device.
ELF binary loading support.
Program execution.
Kernel exported symbols support.
A simple dbgio interface to draw to the framebuffer.
Dreamcast flashrom read/write support.
Inline functions for the DC's special math instructions.
Virtual filesystem support.
Implementation of dcload "filesystem".
Implementation of dcload-ip over KOS sockets.
Container for /dev.
ISO9660 (CD-ROM) filesystem driver.
Pseudo-terminal virtual file system.
RAM-based virtual file system.
ROMFS virtual file system.
Definitions for a sockets "filesystem".
VMU filesystem driver.
G1 bus ATA interface.
G2 bus memory interface.
GNU Debugger support.
Generic wait system.
Initialization-related flags and macros.
Interrupt and exception handling.
Definitions for using the keyboard device.
LAN Adapter support.
Dynamically loadable library support.
Limits.
Standard C Malloc functionality.
Maple Bus driver interface.
3D matrix operations.
Basic matrix operations.
Constants for areas of the system memory map.
Memory Management Unit and Translation Lookaside Buffer handling.
Definitions to use the Dreamcast modem.
Definitions for using the mouse device.
Mutual exclusion locks.
Network support.
Name manager.
Dynamic package initialization.
One-shot timer support.
Low-level performance counter API.
Definitions for using the Puru Puru (Jump) Pack.
Low-level PVR (3D hardware) interface.
Low-level real-time clock functionality.
Definition for a reader/writer semaphore.
Serial port functionality.
Block-level access to an SD card attached to the SCIF port.
Semaphores.
Basic sound effect support.
Definitions for using the Sound Input Peripheral.
Simple locking.
Functions related to sound.
Functions to access the SH4 Store Queues.
Stack tracing.
Basic sys/stdio.h file from newlib.
Sound streaming support.
Variants on standard block memory copy/set functions.
Threading support.
Low-level timer functionality.
Thread-local storage support.
Common integer types.
User Break Controller Driver.
VBlank handler registration.
Basic matrix operations.
API versioning and requirements checks.
Functions related to video output.
Definitions for using the VMU device.
VMU framebuffer.
VMU Packaging functionality.
Low-level VMU filesystem driver.
Watchdog Timer API.