RetroArch
gccore.h
Go to the documentation of this file.
1 /*-------------------------------------------------------------
2 
3 gccore.h -- GC core header
4 
5 Copyright (C) 2004
6 Michael Wiedenbauer (shagkur)
7 Dave Murphy (WinterMute)
8 
9 This software is provided 'as-is', without any express or implied
10 warranty. In no event will the authors be held liable for any
11 damages arising from the use of this software.
12 
13 Permission is granted to anyone to use this software for any
14 purpose, including commercial applications, and to alter it and
15 redistribute it freely, subject to the following restrictions:
16 
17 1. The origin of this software must not be misrepresented; you
18 must not claim that you wrote the original software. If you use
19 this software in a product, an acknowledgment in the product
20 documentation would be appreciated but is not required.
21 
22 2. Altered source versions must be plainly marked as such, and
23 must not be misrepresented as being the original software.
24 
25 3. This notice may not be removed or altered from any source
26 distribution.
27 
28 -------------------------------------------------------------*/
29 
30 
31 #ifndef __GCCORE_H__
32 #define __GCCORE_H__
33 
39 #include "ogc/dsp.h"
40 #include "ogc/aram.h"
41 #include "ogc/arqueue.h"
42 #include "ogc/arqmgr.h"
43 #include "ogc/audio.h"
44 #include "ogc/cache.h"
45 #include "ogc/card.h"
46 #include "ogc/cast.h"
47 #include "ogc/color.h"
48 #include "ogc/consol.h"
49 #include "ogc/dvd.h"
50 #include "ogc/exi.h"
51 #include "ogc/gu.h"
52 #include "ogc/gx.h"
53 #include "ogc/si.h"
54 #include "ogc/gx_struct.h"
55 #include "ogc/irq.h"
56 #include "ogc/lwp.h"
57 #include "ogc/mutex.h"
58 #include "ogc/message.h"
59 #include "ogc/semaphore.h"
60 #include "ogc/pad.h"
61 #include "ogc/tpl.h"
62 #include "ogc/system.h"
63 #include "ogc/video.h"
64 #include "ogc/usbgecko.h"
65 #include "ogc/video_types.h"
66 #include "ogc/texconv.h"
67 
68 #if defined(HW_RVL)
69 #include "ogc/ipc.h"
70 #include "ogc/es.h"
71 #include "ogc/stm.h"
72 #include "ogc/ios.h"
73 #include "ogc/usb.h"
74 #include "ogc/isfs.h"
75 #include "ogc/conf.h"
76 #include "ogc/usbstorage.h"
77 
78 #include "ogc/wiilaunch.h"
79 
80 #endif
81 
82 /*
83  * Error returns
84  */
85 #define RNC_FILE_IS_NOT_RNC -1
86 #define RNC_HUF_DECODE_ERROR -2
87 #define RNC_FILE_SIZE_MISMATCH -3
88 #define RNC_PACKED_CRC_ERROR -4
89 #define RNC_UNPACKED_CRC_ERROR -5
90 
91 #ifndef ATTRIBUTE_ALIGN
92 # define ATTRIBUTE_ALIGN(v) __attribute__((aligned(v)))
93 #endif
94 #ifndef ATTRIBUTE_PACKED
95 # define ATTRIBUTE_PACKED __attribute__((packed))
96 #endif
97 
98 #ifdef __cplusplus
99  extern "C" {
100 #endif /* __cplusplus */
101 
102 
141 s32 depackrnc1_ulen(void *packed);
142 s32 depackrnc1(void *packed,void *unpacked);
143 
144 void depackrnc2(void *packed,void *unpacked);
145 
146 #ifdef __cplusplus
147  }
148 #endif /* __cplusplus */
149 
150 #endif
int32_t s32
32bit signed integer
Definition: gctypes.h:24
EXI subsystem.
Thread subsystem I.
s32 depackrnc1(void *packed, void *unpacked)
Definition: depackrnc1.c:43
ARAM queue managemnt subsystem.
Interrupt subsystem.
AUDIO subsystem.
GU/Matrix subsystem.
DSP subsystem.
GX subsystem.
void depackrnc2(void *packed, void *unpacked)
VIDEO subsystem.
ARAM subsystem.
DVD subsystem.
Console subsystem.
support header
support header
OS functions and initialization.
s32 depackrnc1_ulen(void *packed)
Definition: depackrnc1.c:35
GX texture helper functions.
GLuint GLenum GLsizei GLsizei GLint GLint GLboolean packed
Definition: glext.h:10178
Thread subsystem II.
Memory card subsystem.