1 #ifndef LIBRARIES_PROMETHEUS_H
2 #define LIBRARIES_PROMETHEUS_H
5 Copyright (C) 2005 Neil Cafferkey
8 Desc: Definitions for prometheus.library
12 #include <exec/types.h>
13 #include <utility/tagitem.h>
19 #define PROMETHEUSNAME "prometheus.library"
24 /* NB: these tag values are different from those used on 68k as the original
25 values were illegal */
27 #define PRM_Vendor TAG_USER
28 #define PRM_Device PRM_Vendor + 0x1
29 #define PRM_Revision PRM_Vendor + 0x2
30 #define PRM_Class PRM_Vendor + 0x3
31 #define PRM_SubClass PRM_Vendor + 0x4
32 #define PRM_MemoryAddr0 PRM_Vendor + 0x10
33 #define PRM_MemoryAddr1 PRM_Vendor + 0x11
34 #define PRM_MemoryAddr2 PRM_Vendor + 0x12
35 #define PRM_MemoryAddr3 PRM_Vendor + 0x13
36 #define PRM_MemoryAddr4 PRM_Vendor + 0x14
37 #define PRM_MemoryAddr5 PRM_Vendor + 0x15
38 #define PRM_ROM_Address PRM_Vendor + 0x16
39 #define PRM_MemorySize0 PRM_Vendor + 0x20
40 #define PRM_MemorySize1 PRM_Vendor + 0x21
41 #define PRM_MemorySize2 PRM_Vendor + 0x22
42 #define PRM_MemorySize3 PRM_Vendor + 0x23
43 #define PRM_MemorySize4 PRM_Vendor + 0x24
44 #define PRM_MemorySize5 PRM_Vendor + 0x25
45 #define PRM_ROM_Size PRM_Vendor + 0x26
47 #define PRM_BoardOwner PRM_Vendor + 0x5
48 #define PRM_SlotNumber PRM_Vendor + 0x6
49 #define PRM_FunctionNumber PRM_Vendor + 0x7