libhd  5.0
sys.h
Go to the documentation of this file.
sys.h
read_file
str_list_t * read_file(char *file_name, unsigned start_line, unsigned lines)
Definition: hd.c:2527
s_hd_t::base_class
hd_id_t base_class
Base class (id and name).
Definition: hd.h:2231
hd_data_t::flag_struct::vmware_mouse
unsigned vmware_mouse
has vmware mouse
Definition: hd.h:2663
sys_info_t::system_type
char * system_type
Definition: hd.h:1398
sys_info_t
general system data
Definition: hd.h:1397
hd_data_t::cpu
str_list_t * cpu
(Internal) /proc/cpuinfo
Definition: hd.h:2694
sc_int_sys
@ sc_int_sys
Definition: hd.h:222
remove_hd_entries
void remove_hd_entries(hd_data_t *hd_data)
Definition: hd.c:2711
s_hd_t::serial
char * serial
Serial id.
Definition: hd.h:2287
canon_str
char * canon_str(char *s, int len)
Definition: hd.c:2191
new_str
char * new_str(const char *s)
Definition: hd.c:1577
PROGRESS
#define PROGRESS(a, b, c)
Definition: hd_int.h:61
hd_detail_t::type
enum hd_detail_type type
Definition: hd.h:2142
hd_data_t::bios_rom
memory_range_t bios_rom
(Internal) BIOS 0xc0000 - 0xfffff
Definition: hd.h:2704
s_str_list_t::next
struct s_str_list_t * next
Link to next member.
Definition: hd.h:407
hd_detail_t::sys
hd_detail_sys_t sys
Definition: hd.h:2152
hd_detail_sys
@ hd_detail_sys
Definition: hd.h:2066
hal_device_s::prop
hal_prop_t * prop
Definition: hd.h:1628
s_hd_t
Individual hardware item.
Definition: hd.h:2196
PROC_CPUINFO
#define PROC_CPUINFO
Definition: hd_int.h:4
sys_info_t::lang
char * lang
Definition: hd.h:1403
pr_sys
@ pr_sys
Definition: hd.h:115
hal_device_s
HAL device.
Definition: hd.h:1624
s_hd_t::device
hd_id_t device
Device id and name.
Definition: hd.h:2259
memory_range_t::start
unsigned start
Definition: hd.h:439
sys_info_t::serial
char * serial
Definition: hd.h:1402
hd_data_t::flag_struct::iseries
unsigned iseries
Set if we are on an iSeries machine.
Definition: hd.h:2646
hd_data_t::module
unsigned module
(Internal) the current probing module we are in
Definition: hd.h:2681
ADD2LOG
#define ADD2LOG(a...)
Definition: hd_int.h:62
s_str_list_t
String list type.
Definition: hd.h:406
s_hd_t::detail
hd_detail_t * detail
Special info associated with this hardware.
Definition: hd.h:2433
hd_data_t::flags
struct hd_data_t::flag_struct flags
add_hd_entry
hd_t * add_hd_entry(hd_data_t *hd_data, unsigned line, unsigned count)
Definition: hd.c:1777
sys_info_t::model
char * model
Definition: hd.h:1401
hal_find_device
hal_device_t * hal_find_device(hd_data_t *hd_data, char *udi)
Definition: hal.c:248
hd_probe_feature
int hd_probe_feature(hd_data_t *hd_data, enum probe_feature feature)
Definition: hd.c:579
hd_id_t::id
unsigned id
Numeric id.
Definition: hd.h:397
hd.h
s_hd_t::sub_class
hd_id_t sub_class
Sub class (id and name).
Definition: hd.h:2236
hal_get_useful_str
char * hal_get_useful_str(hal_prop_t *prop, const char *key)
Definition: hal.c:319
child
static volatile pid_t child
Definition: hd.c:201
memory_range_t::data
unsigned char * data
actual data
Definition: hd.h:440
s_hd_t::vendor
hd_id_t vendor
Vendor id and name.
Definition: hd.h:2249
hd_id_t::name
char * name
Name (if any) that corresponds to hd_id_t::id.
Definition: hd.h:398
hd_int.h
hd_data
static hd_data_t * hd_data
Definition: pppoe.c:29
hd_data_t::flag_struct::vmware
unsigned vmware
running in vmware
Definition: hd.h:2662
hd_detail_sys_t::data
sys_info_t * data
Definition: hd.h:2118
mod_sys
@ mod_sys
Definition: hd_int.h:77
sys_info_t::generation
char * generation
Definition: hd.h:1399
sys_info_t::formfactor
char * formfactor
Definition: hd.h:1404
hd_scan_sys
void hd_scan_sys(hd_data_t *hd_data)
Definition: sys.c:44
hd_data_t::flag_struct::no_parport
unsigned no_parport
Don't do parport probing: parport modules (used to) crash pmacs.
Definition: hd.h:2645
sys_info_t::vendor
char * vendor
Definition: hd.h:1400
hd_data_t
Holds all data accumulated during hardware probing.
Definition: hd.h:2604
new_mem
void * new_mem(size_t size)
Definition: hd.c:1535
s_str_list_t::str
char * str
Some string data.
Definition: hd.h:408
bc_internal
@ bc_internal
Definition: hd.h:164