sdk-world
v2026.11.05
PS2 SDK - world tier (copyleft-allowed, non-essential packages)
Toggle main menu visibility
Loading...
Searching...
No Matches
sdr_i.h
Go to the documentation of this file.
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
15
#ifndef _SDR_I_H
16
#define _SDR_I_H
17
18
#include <
irx_imports.h
>
19
#include <
sdrdrv.h
>
20
#include <libsdr-common.h>
21
22
#ifndef SDRDRV_OBSOLETE_FUNCS
23
#define SDRDRV_OBSOLETE_FUNCS 0
24
#endif
25
#ifndef SDRDRV_EECB_COMPAT
26
#define SDRDRV_EECB_COMPAT 0
27
#endif
28
#ifndef SDRDRV_IMPLEMENT_AUTODMA
29
#define SDRDRV_IMPLEMENT_AUTODMA 0
30
#endif
31
#ifndef SDRDRV_IMPLEMENT_LIBOSDS
32
#define SDRDRV_IMPLEMENT_LIBOSDS 0
33
#endif
34
35
typedef
struct
SdrEECBInfo_
36
{
37
SdrEECBData m_eeCBData;
38
int
m_thid_cb;
39
int
m_initial_priority_cb;
40
} SdrEECBInfo;
41
42
typedef
struct
SdrInfo_
43
{
44
int
m_thid_main;
45
sceSdrUserCommandFunction m_sceSdr_vUserCommandFunction[16];
46
SifRpcDataQueue_t *m_rpc_qd;
47
SifRpcServerData_t *m_rpc_sd;
48
int
m_procbat_returns[384];
49
sceSdEffectAttr m_e_attr;
50
} SdrInfo;
51
52
extern
void
sce_sdr_loop(
void
*arg);
53
#if SDRDRV_OBSOLETE_FUNCS
54
extern
int
_sce_sdrDMA0CallBackProc(
void
*data);
55
extern
int
_sce_sdrDMA1CallBackProc(
void
*data);
56
extern
int
_sce_sdrIRQCallBackProc(
void
*data);
57
#endif
58
extern
int
_sce_sdrDMA0IntrHandler(
int
core,
void
*common);
59
extern
int
_sce_sdrDMA1IntrHandler(
int
core,
void
*common);
60
extern
int
_sce_sdrSpu2IntrHandler(
int
core_bit,
void
*common);
61
extern
void
sce_sdrcb_loop(
void
*arg);
62
63
extern
SdrEECBInfo g_eeCBInfo;
64
extern
SdrInfo g_sdrInfo;
65
66
#endif
irx_imports.h
sdrdrv.h
SdrEECBInfo_
Definition
sdr_i.h:36
SdrInfo_
Definition
sdr_i.h:43
sdr
src
iop
sdr_i.h
Generated by
1.18.0