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:2544
s_hd_t::base_class
hd_id_t base_class
Base class (id and name).
Definition: hd.h:2236
hd_data_t::flag_struct::vmware_mouse
unsigned vmware_mouse
has vmware mouse
Definition: hd.h:2668
sys_info_t::system_type
char * system_type
Definition: hd.h:1402
sys_info_t
general system data
Definition: hd.h:1401
hd_data_t::cpu
str_list_t * cpu
(Internal) /proc/cpuinfo
Definition: hd.h:2699
sc_int_sys
@ sc_int_sys
Definition: hd.h:226
remove_hd_entries
void remove_hd_entries(hd_data_t *hd_data)
Definition: hd.c:2797
s_hd_t::serial
char * serial
Serial id.
Definition: hd.h:2292
canon_str
char * canon_str(char *s, int len)
Definition: hd.c:2208
new_str
char * new_str(const char *s)
Definition: hd.c:1594
PROGRESS
#define PROGRESS(a, b, c)
Definition: hd_int.h:65
hd_detail_t::type
enum hd_detail_type type
Definition: hd.h:2147
hd_data_t::bios_rom
memory_range_t bios_rom
(Internal) BIOS 0xc0000 - 0xfffff
Definition: hd.h:2709
s_str_list_t::next
struct s_str_list_t * next
Link to next member.
Definition: hd.h:411
hd_detail_t::sys
hd_detail_sys_t sys
Definition: hd.h:2157
hd_detail_sys
@ hd_detail_sys
Definition: hd.h:2071
hal_device_s::prop
hal_prop_t * prop
Definition: hd.h:1633
s_hd_t
Individual hardware item.
Definition: hd.h:2201
PROC_CPUINFO
#define PROC_CPUINFO
Definition: hd_int.h:4
sys_info_t::lang
char * lang
Definition: hd.h:1407
pr_sys
@ pr_sys
Definition: hd.h:118
hal_device_s
HAL device.
Definition: hd.h:1629
s_hd_t::device
hd_id_t device
Device id and name.
Definition: hd.h:2264
memory_range_t::start
unsigned start
Definition: hd.h:443
sys_info_t::serial
char * serial
Definition: hd.h:1406
hd_data_t::flag_struct::iseries
unsigned iseries
Set if we are on an iSeries machine.
Definition: hd.h:2651
hd_data_t::module
unsigned module
(Internal) the current probing module we are in
Definition: hd.h:2686
ADD2LOG
#define ADD2LOG(a...)
Definition: hd_int.h:66
s_str_list_t
String list type.
Definition: hd.h:410
s_hd_t::detail
hd_detail_t * detail
Special info associated with this hardware.
Definition: hd.h:2438
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:1794
sys_info_t::model
char * model
Definition: hd.h:1405
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:595
hd_id_t::id
unsigned id
Numeric id.
Definition: hd.h:401
hd.h
s_hd_t::sub_class
hd_id_t sub_class
Sub class (id and name).
Definition: hd.h:2241
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:217
memory_range_t::data
unsigned char * data
actual data
Definition: hd.h:444
s_hd_t::vendor
hd_id_t vendor
Vendor id and name.
Definition: hd.h:2254
hd_id_t::name
char * name
Name (if any) that corresponds to hd_id_t::id.
Definition: hd.h:402
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:2667
hd_detail_sys_t::data
sys_info_t * data
Definition: hd.h:2123
mod_sys
@ mod_sys
Definition: hd_int.h:81
sys_info_t::generation
char * generation
Definition: hd.h:1403
sys_info_t::formfactor
char * formfactor
Definition: hd.h:1408
hd_scan_sys
void hd_scan_sys(hd_data_t *hd_data)
Definition: sys.c:45
hd_data_t::flag_struct::no_parport
unsigned no_parport
Don't do parport probing: parport modules (used to) crash pmacs.
Definition: hd.h:2650
sys_info_t::vendor
char * vendor
Definition: hd.h:1404
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:1552
s_str_list_t::str
char * str
Some string data.
Definition: hd.h:412
bc_internal
@ bc_internal
Definition: hd.h:167