PS2SDK
PS2 Homebrew Libraries
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
u16 ROM_CRC_value;
18
u8 CRC_length;
19
u8 Bus_info_length;
20
};
21
22
struct
BusInformationBlock
23
{
24
u32 BusName;
25
u8 misc;
/* g, resv. and link_spd fields. */
26
u8 Max_Rec;
27
u8 Cyc_Clk_Acc;
28
u8 capabilities;
29
30
u32 HardwareID;
/* NodeVendorID | Chip_ID_High */
31
u32 Chip_ID_Low;
32
};
33
34
struct
DirectoryHeader
35
{
36
u16 CRC16;
37
u16 Directory_length;
38
};
39
40
struct
Root_Directory
41
{
42
u32 VendorID;
43
u32 Module_Vendor_ID_Texual_Descriptor_Offset;
44
u32 Node_Capabilities;
45
u32 Node_Unique_ID_Offset;
46
u32 Module_Vendor_ID_Offset;
47
};
48
49
struct
Module_Vendor_ID_Texual_Descriptor
50
{
51
u32 Specifier_ID;
52
u32 Language_ID;
53
u32 Vendor_Name;
54
};
55
56
struct
Module_Vendor_Id
57
{
/* For Playstation 2 consoles only? */
58
u32 Textual_Descriptor;
59
};
60
61
struct
ModelID_Textual_Descriptor
62
{
63
u32 Specifier_ID;
64
u32 Language_ID;
65
u8 Model_Name[12];
/* E.g. "SCPH-10000" + 2x00-bytes at the end. */
66
};
67
68
struct
Node_Unique_Id
69
{
70
u32 HardwareID;
/* Node_Vendor_ID | Chip_ID_High */
71
u32 Chip_ID_Low;
72
};
Root_Directory
Definition:
iLink_CROM.h:40
Module_Vendor_ID_Texual_Descriptor
Definition:
iLink_CROM.h:49
Module_Vendor_Id
Definition:
iLink_CROM.h:56
DirectoryHeader
Definition:
iLink_CROM.h:34
ModelID_Textual_Descriptor
Definition:
iLink_CROM.h:61
Node_Unique_Id
Definition:
iLink_CROM.h:68
BusInformationBlock
Definition:
iLink_CROM.h:22
BusInformationBlockHeader
Definition:
iLink_CROM.h:15
iop
iLink
iLinkman
src
include
iLink_CROM.h
Generated on Tue Jul 7 2026 07:47:09 for PS2SDK by
1.8.17