PS2SDK
PS2 Homebrew Libraries
Loading...
Searching...
No Matches
acuart-entry.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 "acuart_internal.h"
12
13
#define MODNAME "UART_driver"
14
IRX_ID(MODNAME, 1, 1);
15
// Text section hash:
16
// efa5399dc7ebb43087db51b82e865f64
17
// Known titles:
18
// NM00005
19
// NM00006
20
// NM00008
21
// Path strings:
22
// /home/ueda/tmp/psalm-0.1.3/uart-iop-0.1.3/src/
23
// /home/ueda/tmp/psalm-0.1.3/core-hdr-0.1.3/src/util/
24
// TODO: diff with module text hash 7ceac5800a29a7c32cde41d0b7faa64d
25
26
extern
struct
irx_export_table
_exp_acuart;
27
28
#define acUartEntry _start
29
30
int
acUartEntry(
int
argc,
char
**argv)
31
{
32
int
ret;
33
34
ret = acUartModuleStart(argc, argv);
35
if
( ret < 0 )
36
{
37
return
ret;
38
}
39
if
( RegisterLibraryEntries(&_exp_acuart) != 0 )
40
return
-16;
41
42
#ifdef TTY_DEVICE
43
return
CreateTTY();
44
#else
45
return
MODULE_RESIDENT_END;
46
#endif
47
}
irx_export_table
Definition
irx.h:90
iop
arcade
acuart
src
acuart-entry.c
Generated on Tue Feb 11 2025 21:35:57 for PS2SDK by
1.12.0