libhd  5.0
prom.h
Go to the documentation of this file.
AAPL_3400
@ AAPL_3400
Definition: hd.h:1197
hd_data_t::color_code
unsigned color_code
(Internal) color, if any
Definition: hd.h:2713
pr_prom
@ pr_prom
Definition: hd.h:117
hd_log_hex
void hd_log_hex(hd_data_t *hd_data, int with_ascii, unsigned data_len, unsigned char *data)
Definition: hd.c:2382
read_file
str_list_t * read_file(char *file_name, unsigned start_line, unsigned lines)
Definition: hd.c:2532
PowerBook4_3
@ PowerBook4_3
Definition: hd.h:1220
s_hd_t::base_class
hd_id_t base_class
Base class (id and name).
Definition: hd.h:2236
PowerBook5_2
@ PowerBook5_2
Definition: hd.h:1222
free_devtree
devtree_t * free_devtree(hd_data_t *hd_data)
Definition: hd.c:4349
PowerMac2_2
@ PowerMac2_2
Definition: hd.h:1243
hd_scan_prom
void hd_scan_prom(hd_data_t *hd_data)
mod_prom
@ mod_prom
Definition: hd_int.h:81
devtree_s::serial_number
char * serial_number
Definition: hd.h:1188
PowerBook4_1
@ PowerBook4_1
Definition: hd.h:1218
remove_hd_entries
void remove_hd_entries(hd_data_t *hd_data)
Definition: hd.c:2785
PowerBook5_8
@ PowerBook5_8
Definition: hd.h:1228
hd_detail_prom_t::data
prom_info_t * data
Definition: hd.h:2112
bc_multimedia
@ bc_multimedia
Definition: hd.h:162
AAPL_3500
@ AAPL_3500
Definition: hd.h:1198
new_str
char * new_str(const char *s)
Definition: hd.c:1582
PowerBook6_1
@ PowerBook6_1
Definition: hd.h:1230
PowerBook5_1
@ PowerBook5_1
Definition: hd.h:1221
PROGRESS
#define PROGRESS(a, b, c)
Definition: hd_int.h:65
pmac_mb_def
PowerMac model matching.
Definition: hd.h:1269
hd_detail_t::type
enum hd_detail_type type
Definition: hd.h:2147
PowerMac6_4
@ PowerMac6_4
Definition: hd.h:1256
devtree_s::revision_id
int revision_id
Definition: hd.h:1192
PowerBook2_2
@ PowerBook2_2
Definition: hd.h:1212
devtree_s::parent
struct devtree_s * parent
Definition: hd.h:1183
devtree_s
PROM tree on PPC.
Definition: hd.h:1181
PowerMac3_2
@ PowerMac3_2
Definition: hd.h:1245
PowerBook5_7
@ PowerBook5_7
Definition: hd.h:1227
PowerBook6_5
@ PowerBook6_5
Definition: hd.h:1234
hd_detail_prom
@ hd_detail_prom
Definition: hd.h:2070
devtree_s::idx
unsigned idx
Definition: hd.h:1184
devtree_s::interrupt
int interrupt
Definition: hd.h:1192
PowerMac3_5
@ PowerMac3_5
Definition: hd.h:1248
PowerBook5_6
@ PowerBook5_6
Definition: hd.h:1226
RackMac1_1
@ RackMac1_1
Definition: hd.h:1261
devtree_s::path
char * path
Definition: hd.h:1185
height
unsigned short height
Definition: ibm-notebooks.h:3
RackMac1_2
@ RackMac1_2
Definition: hd.h:1262
s_hd_t
Individual hardware item.
Definition: hd.h:2201
devtree_s::filename
char * filename
Definition: hd.h:1185
AAPL_7300
@ AAPL_7300
Definition: hd.h:1200
devtree_s::description
char * description
Definition: hd.h:1189
PowerBook6_8
@ PowerBook6_8
Definition: hd.h:1236
AAPL_9500
@ AAPL_9500
Definition: hd.h:1203
devtree_s::model
char * model
Definition: hd.h:1187
devtree_s::part_number
char * part_number
Definition: hd.h:1188
s_hd_t::device
hd_id_t device
Device id and name.
Definition: hd.h:2264
devtree_s::next
struct devtree_s * next
Definition: hd.h:1182
s_str_list_t::free_str_list
str_list_t * free_str_list(str_list_t *list)
Free the memory allocated by a string list.
Definition: hd.c:2498
detect_smp_prom
int detect_smp_prom(hd_data_t *hd_data)
hddb.h
PowerBook3_3
@ PowerBook3_3
Definition: hd.h:1215
PowerMac1_2
@ PowerMac1_2
Definition: hd.h:1238
prom.h
pmac_mb_def::model
enum pmac_model model
Definition: hd.h:1270
PowerBook4_2
@ PowerBook4_2
Definition: hd.h:1219
hd_data_t::module
unsigned module
(Internal) the current probing module we are in
Definition: hd.h:2686
AAPL_e411
@ AAPL_e411
Definition: hd.h:1209
PowerBook6_7
@ PowerBook6_7
Definition: hd.h:1235
prom_info_t::color
unsigned color
Definition: hd.h:1394
AAPL_8500
@ AAPL_8500
Definition: hd.h:1202
ADD2LOG
#define ADD2LOG(a...)
Definition: hd_int.h:66
PowerMac4_2
@ PowerMac4_2
Definition: hd.h:1251
s_str_list_t
String list type.
Definition: hd.h:410
PowerBook6_2
@ PowerBook6_2
Definition: hd.h:1231
devtree_s::edid
unsigned char * edid
128 bytes
Definition: hd.h:1193
PowerMac11_2
@ PowerMac11_2
Definition: hd.h:1240
PowerBook5_5
@ PowerBook5_5
Definition: hd.h:1225
s_hd_t::detail
hd_detail_t * detail
Special info associated with this hardware.
Definition: hd.h:2438
PowerMac2_1
@ PowerMac2_1
Definition: hd.h:1242
add_hd_entry
hd_t * add_hd_entry(hd_data_t *hd_data, unsigned line, unsigned count)
Definition: hd.c:1782
AAPL_PowerMac_G3
@ AAPL_PowerMac_G3
Definition: hd.h:1206
devtree_s::name
char * name
Definition: hd.h:1187
hd_data_t::debug
unsigned debug
Debug flags.
Definition: hd.h:2640
prom_info_t::has_color
unsigned has_color
Definition: hd.h:1393
devtree_s::loc_code
char * loc_code
Definition: hd.h:1188
PowerBook3_1
@ PowerBook3_1
Definition: hd.h:1213
PowerMac1_1
@ PowerMac1_1
Definition: hd.h:1237
devtree_s::subdevice_id
int subdevice_id
Definition: hd.h:1191
PowerMac3_6
@ PowerMac3_6
Definition: hd.h:1249
hd_probe_feature
int hd_probe_feature(hd_data_t *hd_data, enum probe_feature feature)
Definition: hd.c:583
pmac_model
pmac_model
Definition: hd.h:1196
devtree_s::subvendor_id
int subvendor_id
Definition: hd.h:1191
PowerBook6_3
@ PowerBook6_3
Definition: hd.h:1232
MAKE_ID
#define MAKE_ID(tag, id_val)
Combine tag and id value.
Definition: hd.h:105
PowerMac8_1
@ PowerMac8_1
Definition: hd.h:1259
PowerBook1_1
@ PowerBook1_1
Definition: hd.h:1210
hd_id_t::id
unsigned id
Numeric id.
Definition: hd.h:401
hd.h
devtree_s::pci
unsigned pci
Definition: hd.h:1186
PowerMac5_1
@ PowerMac5_1
Definition: hd.h:1253
PowerMac3_4
@ PowerMac3_4
Definition: hd.h:1247
hd_detail_t::prom
hd_detail_prom_t prom
Definition: hd.h:2155
iMac_1
@ iMac_1
Definition: hd.h:1264
AAPL_e407
@ AAPL_e407
Definition: hd.h:1208
s_hd_t::sub_class
hd_id_t sub_class
Sub class (id and name).
Definition: hd.h:2241
PowerBook3_2
@ PowerBook3_2
Definition: hd.h:1214
PowerMac3_1
@ PowerMac3_1
Definition: hd.h:1244
sc_multi_audio
@ sc_multi_audio
Definition: hd.h:251
PowerMac7_2
@ PowerMac7_2
Definition: hd.h:1257
devtree_s::ccin
char * ccin
Definition: hd.h:1188
bus_none
@ bus_none
Definition: hd.h:297
s_hd_t::vendor
hd_id_t vendor
Vendor id and name.
Definition: hd.h:2254
hd_int.h
s_hd_t::bus
hd_id_t bus
Bus type (id and name).
Definition: hd.h:2220
devtree_s::device_type
char * device_type
Definition: hd.h:1187
PowerBook5_3
@ PowerBook5_3
Definition: hd.h:1223
PowerBook3_5
@ PowerBook3_5
Definition: hd.h:1217
PowerMac6_3
@ PowerMac6_3
Definition: hd.h:1255
PowerBook5_9
@ PowerBook5_9
Definition: hd.h:1229
AAPL_7200
@ AAPL_7200
Definition: hd.h:1199
PowerBook5_4
@ PowerBook5_4
Definition: hd.h:1224
PowerMac9_1
@ PowerMac9_1
Definition: hd.h:1260
devtree_s::compatible
char * compatible
Definition: hd.h:1187
PowerMac4_1
@ PowerMac4_1
Definition: hd.h:1250
PowerMac4_4
@ PowerMac4_4
Definition: hd.h:1252
devtree_s::device_id
int device_id
Definition: hd.h:1191
hd_data
static hd_data_t * hd_data
Definition: pppoe.c:29
str_printf
void str_printf(char **buf, int offset, char *format,...)
Definition: hd.c:2406
AAPL_7500
@ AAPL_7500
Definition: hd.h:1201
devtree_s::fru_number
char * fru_number
Definition: hd.h:1188
RackMac3_1
@ RackMac3_1
Definition: hd.h:1263
AAPL_ShinerESB
@ AAPL_ShinerESB
Definition: hd.h:1207
PowerBook6_4
@ PowerBook6_4
Definition: hd.h:1233
prom_info_t
prom data (ppc, sparc)
Definition: hd.h:1392
AAPL_Gossamer
@ AAPL_Gossamer
Definition: hd.h:1204
PowerBook2_1
@ PowerBook2_1
Definition: hd.h:1211
TAG_SPECIAL
#define TAG_SPECIAL
Internally used ids.
Definition: hd.h:88
PowerMac6_1
@ PowerMac6_1
Definition: hd.h:1254
hd_data_t::devtree
devtree_t * devtree
(Internal) prom device tree on ppc
Definition: hd.h:2716
hd_data_t
Holds all data accumulated during hardware probing.
Definition: hd.h:2609
new_mem
void * new_mem(size_t size)
Definition: hd.c:1540
PowerMac3_3
@ PowerMac3_3
Definition: hd.h:1246
PowerMac7_3
@ PowerMac7_3
Definition: hd.h:1258
sc_int_prom
@ sc_int_prom
Definition: hd.h:226
width
unsigned short width
Definition: ibm-notebooks.h:2
AAPL_PowerBook1998
@ AAPL_PowerBook1998
Definition: hd.h:1205
devtree_s::class_code
int class_code
class : sub_class : prog-if
Definition: hd.h:1190
PowerMac12_1
@ PowerMac12_1
Definition: hd.h:1241
devtree_s::vendor_id
int vendor_id
Definition: hd.h:1191
PROC_PROM
#define PROC_PROM
Definition: hd_int.h:22
s_str_list_t::str
char * str
Some string data.
Definition: hd.h:412
pmac_mb_def::string
const char * string
Definition: hd.h:1271
PowerBook3_4
@ PowerBook3_4
Definition: hd.h:1216
free_mem
void * free_mem(void *p)
Definition: hd.c:1599
PowerMac10_1
@ PowerMac10_1
Definition: hd.h:1239
bc_internal
@ bc_internal
Definition: hd.h:167