PS2SDK
PS2 Homebrew Libraries
Loading...
Searching...
No Matches
acdev9.c
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
#include <
dev9.h
>
12
#include <irx_imports.h>
13
14
#define MODNAME "ARCADE_DEV9_driver"
15
IRX_ID(MODNAME, 1, 80);
16
// Text section hash:
17
// 1bfb37ce42eebcf7b04fc2d5e09d5f5d
18
19
extern
struct
irx_export_table
_exp_dev9;
20
21
#define sceDev9Entry _start
22
23
void
SpdRegisterIntrHandler(
int
intr, dev9_intr_cb_t cb)
24
{
25
(void)intr;
26
(void)cb;
27
printf(
"SpdRegisterIntrHandler\n"
);
28
while
( 1 )
29
;
30
}
31
32
int
SpdDmaTransfer(
int
ctrl,
void
*buf,
int
bcr,
int
dir)
33
{
34
(void)ctrl;
35
(void)buf;
36
(void)bcr;
37
(void)dir;
38
printf(
"SpdDmaTransfer\n"
);
39
while
( 1 )
40
;
41
}
42
43
void
Dev9CardStop(
void
)
44
{
45
printf(
"Dev9CardStop\n"
);
46
while
( 1 )
47
;
48
}
49
50
void
SpdIntrEnable(
int
mask)
51
{
52
(void)mask;
53
printf(
"SpdIntrEnable\n"
);
54
while
( 1 )
55
;
56
}
57
58
void
SpdIntrDisable(
int
mask)
59
{
60
(void)mask;
61
printf(
"SpdIntrDisable\n"
);
62
while
( 1 )
63
;
64
}
65
66
int
SpdGetEthernetID(u16 *buf)
67
{
68
(void)buf;
69
printf(
"SpdGetEthernetID\n"
);
70
while
( 1 )
71
;
72
}
73
74
void
SpdSetLED(
int
ctl)
75
{
76
(void)ctl;
77
printf(
"SpdSetLED\n"
);
78
while
( 1 )
79
;
80
}
81
82
int
Dev9RegisterPowerOffHandler(
int
idx, dev9_shutdown_cb_t cb)
83
{
84
(void)idx;
85
(void)cb;
86
printf(
"Dev9RegisterPowerOffHandler no Support\n"
);
87
return
0;
88
}
89
90
int
sceDev9Entry()
91
{
92
if
( RegisterLibraryEntries(&_exp_dev9) )
93
printf(
"atad: module already loaded\n"
);
94
printf(
"sceDev9Entry\n"
);
95
return
0;
96
}
97
98
int
sceDev9Terminate()
99
{
100
printf(
" sceDev9Terminate\n"
);
101
return
0;
102
}
dev9.h
irx_export_table
Definition
irx.h:90
iop
arcade
acdev9
src
acdev9.c
Generated on Thu Nov 14 2024 05:25:26 for PS2SDK by
1.9.8