PS2SDK
PS2 Homebrew Libraries
Loading...
Searching...
No Matches
dev5_mmio_hwport.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
16
#ifndef __DEV5_MMIO_HWPORT__
17
#define __DEV5_MMIO_HWPORT__
18
19
typedef
struct
dev5_mmio_hwport_
/* base -> 0xBF402000 */
20
{
21
vu8 m_dev5_reg_000;
22
vu8 m_dev5_reg_001;
23
vu8 m_dev5_reg_002;
24
vu8 m_dev5_reg_003;
25
vu8
m_dev5_reg_004
;
26
vu8
m_dev5_reg_005
;
27
vu8
m_dev5_reg_006
;
28
vu8
m_dev5_reg_007
;
29
vu8
m_dev5_reg_008
;
30
vu8 m_dev5_reg_009;
/* Accessed */
31
vu8
m_dev5_reg_00A
;
32
vu8
m_dev5_reg_00B
;
33
vu8 m_dev5_reg_00C;
/* Accessed */
34
vu8 m_dev5_reg_00D;
/* Accessed */
35
vu8 m_dev5_reg_00E;
/* Accessed */
36
vu8
m_dev5_reg_00F
;
37
vu8 m_dev5_reg_010;
38
vu8 m_dev5_reg_011;
39
vu8 m_dev5_reg_012;
40
vu8 m_dev5_reg_013;
/* Accessed */
41
vu8 m_dev5_reg_014;
42
vu8 m_dev5_reg_015;
/* Accessed */
43
vu8
m_dev5_reg_016
;
44
vu8
m_dev5_reg_017
;
45
vu8
m_dev5_reg_018
;
46
vu8 m_dev5_reg_019;
47
vu8 m_dev5_reg_01A;
48
vu8 m_dev5_reg_01B;
49
vu8 m_dev5_reg_01C;
50
vu8 m_dev5_reg_01D;
51
vu8 m_dev5_reg_01E;
52
vu8 m_dev5_reg_01F;
53
vu8 m_dev5_reg_020;
/* Accessed; Key block 0 data 0 */
54
vu8 m_dev5_reg_021;
/* Accessed; Key block 0 data 1 */
55
vu8 m_dev5_reg_022;
/* Accessed; Key block 0 data 2 */
56
vu8 m_dev5_reg_023;
/* Accessed; Key block 0 data 3 */
57
vu8 m_dev5_reg_024;
/* Accessed; Key block 0 data 4; used as the XOR key when enabled in CDVDreg_DEC */
58
vu8 m_dev5_reg_025;
59
vu8 m_dev5_reg_026;
60
vu8 m_dev5_reg_027;
61
vu8 m_dev5_reg_028;
/* Accessed; Key block 1 data 5 */
62
vu8 m_dev5_reg_029;
/* Accessed; Key block 1 data 6 */
63
vu8 m_dev5_reg_02A;
/* Accessed; Key block 1 data 7 */
64
vu8 m_dev5_reg_02B;
/* Accessed; Key block 1 data 8 */
65
vu8 m_dev5_reg_02C;
/* Accessed; Key block 1 data 9 */
66
vu8 m_dev5_reg_02D;
67
vu8 m_dev5_reg_02E;
68
vu8 m_dev5_reg_02F;
69
vu8 m_dev5_reg_030;
/* Accessed; Key block 2 data A */
70
vu8 m_dev5_reg_031;
/* Accessed; Key block 2 data B */
71
vu8 m_dev5_reg_032;
/* Accessed; Key block 2 data C */
72
vu8 m_dev5_reg_033;
/* Accessed; Key block 2 data D */
73
vu8 m_dev5_reg_034;
/* Accessed; Key block 2 data E */
74
vu8 m_dev5_reg_035;
75
vu8 m_dev5_reg_036;
76
vu8 m_dev5_reg_037;
77
vu8
m_dev5_reg_038
;
78
vu8
m_dev5_reg_039
;
79
vu8
m_dev5_reg_03A
;
80
}
dev5_mmio_hwport_t
;
81
82
#if !defined(USE_DEV5_MMIO_HWPORT) && defined(_IOP)
83
// cppcheck-suppress-macro constVariablePointer
84
#define USE_DEV5_MMIO_HWPORT() dev5_mmio_hwport_t *const dev5_mmio_hwport = (dev5_mmio_hwport_t *)0xBF402000
85
#endif
86
#if !defined(USE_DEV5_MMIO_HWPORT)
87
#define USE_DEV5_MMIO_HWPORT()
88
#endif
89
90
#endif
/* __DEV5_MMIO_HWPORT__ */
dev5_mmio_hwport_::m_dev5_reg_017
vu8 m_dev5_reg_017
Definition
dev5_mmio_hwport.h:44
dev5_mmio_hwport_::m_dev5_reg_039
vu8 m_dev5_reg_039
Definition
dev5_mmio_hwport.h:78
dev5_mmio_hwport_::m_dev5_reg_00A
vu8 m_dev5_reg_00A
Definition
dev5_mmio_hwport.h:31
dev5_mmio_hwport_::m_dev5_reg_006
vu8 m_dev5_reg_006
Definition
dev5_mmio_hwport.h:27
dev5_mmio_hwport_::m_dev5_reg_00F
vu8 m_dev5_reg_00F
Definition
dev5_mmio_hwport.h:36
dev5_mmio_hwport_::m_dev5_reg_00B
vu8 m_dev5_reg_00B
Definition
dev5_mmio_hwport.h:32
dev5_mmio_hwport_::m_dev5_reg_007
vu8 m_dev5_reg_007
Definition
dev5_mmio_hwport.h:28
dev5_mmio_hwport_::m_dev5_reg_004
vu8 m_dev5_reg_004
Definition
dev5_mmio_hwport.h:25
dev5_mmio_hwport_::m_dev5_reg_03A
vu8 m_dev5_reg_03A
Definition
dev5_mmio_hwport.h:79
dev5_mmio_hwport_::m_dev5_reg_038
vu8 m_dev5_reg_038
Definition
dev5_mmio_hwport.h:77
dev5_mmio_hwport_::m_dev5_reg_016
vu8 m_dev5_reg_016
Definition
dev5_mmio_hwport.h:43
dev5_mmio_hwport_::m_dev5_reg_008
vu8 m_dev5_reg_008
Definition
dev5_mmio_hwport.h:29
dev5_mmio_hwport_::m_dev5_reg_005
vu8 m_dev5_reg_005
Definition
dev5_mmio_hwport.h:26
dev5_mmio_hwport_::m_dev5_reg_018
vu8 m_dev5_reg_018
Definition
dev5_mmio_hwport.h:45
dev5_mmio_hwport_
Definition
dev5_mmio_hwport.h:20
common
include
dev5_mmio_hwport.h
Generated on Mon Jan 20 2025 17:33:22 for PS2SDK by
1.9.8