PS2SDK
PS2 Homebrew Libraries
Loading...
Searching...
No Matches
iLink_CROM.h
1
/* Configuration ROM keys */
2
#define IEEE1394_CROM_DESC 0x01
3
#define IEEE1394_CROM_VENDOR 0x03
4
#define IEEE1394_CROM_NODE_CAPS 0x0C
5
#define IEEE1394_CROM_EUI64 0x0D
6
#define IEEE1394_CROM_UNIT 0x11
7
#define IEEE1394_CROM_UNIT_SPEC 0x12
8
#define IEEE1394_CROM_UNIT_SW_VERSION 0x13
9
#define IEEE1394_CROM_MODEL 0x17
10
#define IEEE1394_CROM_MODEL_ID 0x81
11
#define IEEE1394_CROM_NODE_UID 0x8D
12
#define IEEE1394_CROM_MODULE_VENDOR_ID 0xC3
13
#define IEEE1394_CROM_UNIT_DIRECTORY 0xD1
14
15
struct
BusInformationBlockHeader
16
{
17
unsigned
char
Bus_info_length;
18
unsigned
char
CRC_length;
19
unsigned
short
int
ROM_CRC_value;
20
};
21
22
struct
BusInformationBlock
23
{
24
unsigned
char
BusName[4];
25
unsigned
char
capabilities;
26
unsigned
char
Cyc_Clk_Acc;
27
unsigned
char
Max_Rec;
28
unsigned
char
misc;
/* g, resv. and link_spd fields. */
29
30
unsigned
int
HardwareID;
/* NodeVendorID | Chip_ID_High */
31
unsigned
int
Chip_ID_Low;
32
};
33
34
struct
DirectoryHeader
35
{
36
unsigned
short
int
Directory_length;
37
unsigned
short
int
CRC16;
38
};
39
40
struct
Root_Directory
41
{
42
unsigned
int
VendorID;
43
unsigned
int
Module_Vendor_ID_Texual_Descriptor_Offset;
44
unsigned
int
Node_Capabilities;
45
unsigned
int
Node_Unique_ID_Offset;
46
unsigned
int
Module_Vendor_ID_Offset;
47
};
48
49
struct
Module_Vendor_ID_Texual_Descriptor
50
{
51
unsigned
int
Specifier_ID;
52
unsigned
int
Language_ID;
53
unsigned
char
Vendor_Name[4];
/* "Sony" */
54
};
55
56
struct
Module_Vendor_Id
57
{
/* For Playstation 2 consoles only? */
58
unsigned
int
Textual_Descriptor;
59
};
60
61
struct
ModelID_Textual_Descriptor
62
{
63
unsigned
int
Specifier_ID;
64
unsigned
int
Language_ID;
65
unsigned
char
Model_Name[12];
/* E.g. "SCPH-10000" + 2x00-bytes at the end. */
66
};
67
68
struct
Node_Unique_Id
69
{
70
unsigned
int
HardwareID;
/* Node_Vendor_ID | Chip_ID_High */
71
unsigned
int
Chip_ID_Low;
72
};
BusInformationBlockHeader
Definition
iLink_CROM.h:16
BusInformationBlock
Definition
iLink_CROM.h:23
DirectoryHeader
Definition
iLink_CROM.h:35
ModelID_Textual_Descriptor
Definition
iLink_CROM.h:62
Module_Vendor_ID_Texual_Descriptor
Definition
iLink_CROM.h:50
Module_Vendor_Id
Definition
iLink_CROM.h:57
Node_Unique_Id
Definition
iLink_CROM.h:69
Root_Directory
Definition
iLink_CROM.h:41
iop
iLink
iLinkman
src
include
iLink_CROM.h
Generated on Tue Feb 11 2025 21:35:58 for PS2SDK by
1.12.0