PS2SDK
PS2 Homebrew Libraries
accore_internal.h
1 /*
2 # _____ ___ ____ ___ ____
3 # ____| | ____| | | |____|
4 # | ___| |____ ___| ____| | \ PS2DEV Open Source Project.
5 #-----------------------------------------------------------------------
6 # Copyright ps2dev - http://www.ps2dev.org
7 # Licenced under Academic Free License version 2.0
8 # Review ps2sdk README & LICENSE files for further details.
9 */
10 
11 #ifndef _ACCORE_INTERNAL_H
12 #define _ACCORE_INTERNAL_H
13 
14 #include <accore.h>
15 #include <irx_imports.h>
16 
17 typedef int (*acCoreInit)(int argc, char **argv);
18 
19 struct dma_softc
20 {
21  acQueueHeadData requestq;
22  acInt32 status;
23  acUint32 padding;
24 };
25 
27 {
28  acIntrHandler func;
29  void *arg;
30 };
31 
32 struct intr_softc
33 {
34  acUint32 active;
35  acUint32 enable;
36  struct intr_handler handlers[3];
37 };
38 
39 extern int acDev9ModuleStart(int argc, char **argv);
40 
41 #endif
ac_queue
Definition: accore.h:52
intr_handler
Definition: accore_internal.h:26
intr_softc
Definition: accore_internal.h:32
dma_softc
Definition: accore_internal.h:19