libhd  5.0
Data Structures | Data Fields
hd_data_t Struct Reference

Holds all data accumulated during hardware probing. More...

#include <hd.h>

Data Structures

struct  flag_struct
 Special flags. More...
 

Data Fields

hd_thd
 Current hardware list. More...
 
void(* progress )(char *pos, char *msg)
 A progress indicator. More...
 
char * log
 Log messages. More...
 
unsigned debug
 Debug flags. More...
 
struct hd_data_t::flag_struct flags
 
str_list_tonly
 Concentrate on these devices. More...
 
unsigned char probe [(pr_all+7)/8]
 (Internal) bitmask of probing features. More...
 
unsigned char probe_set [(pr_all+7)/8]
 (Iternal) bitmask of probing features that will always be set. More...
 
unsigned char probe_clr [(pr_all+7)/8]
 (Internal) bitmask of probing features that will always be reset. More...
 
hal_prop_tprobe_val
 (Internal) probing features with arbitrary values More...
 
unsigned last_idx
 (Internal) index of the last hd entry generated More...
 
unsigned module
 (Internal) the current probing module we are in More...
 
enum boot_arch boot
 (Internal) boot method More...
 
hd_told_hd
 (Internal) old (outdated) entries (if you scan more than once) More...
 
pci_tpci
 (Internal) raw PCI data More...
 
isapnp_tisapnp
 (Internal) raw ISA-PnP data More...
 
cdrom_info_tcdrom
 (Internal) CDROM devs from PROC_CDROM_INFO More...
 
str_list_tnet
 (Internal) list of network interfaces More...
 
str_list_tfloppy
 (Internal) contents of PROC_NVRAM, used by the floppy module More...
 
misc_tmisc
 (Internal) data gathered in the misc module More...
 
serial_tserial
 (Internal) /proc's serial info More...
 
scsi_tscsi
 (Internal) raw SCSI data More...
 
ser_device_tser_mouse
 (Internal) info about serial mice More...
 
ser_device_tser_modem
 (Internal) info about serial modems More...
 
str_list_tcpu
 (Internal) /proc/cpuinfo More...
 
str_list_tklog
 (Internal) kernel log More...
 
str_list_tproc_usb
 (Internal) /proc/bus/usb info More...
 
usb_tusb
 (Internal) usb info More...
 
modinfo_tmodinfo_ext
 (Internal) external module info More...
 
modinfo_tmodinfo
 (Internal) module info More...
 
hddb2_data_thddb2 [2]
 (Internal) hardware database More...
 
str_list_tkmods
 (Internal) list of active kernel modules More...
 
uint64_t used_irqs
 (Internal) irq usage More...
 
uint64_t assigned_irqs
 (Internal) irqs automatically assigned by libhd (for driver info) More...
 
memory_range_t bios_rom
 (Internal) BIOS 0xc0000 - 0xfffff More...
 
memory_range_t bios_ram
 (Internal) BIOS 0x00400 - 0x004ff More...
 
memory_range_t bios_ebda
 (Internal) EBDA More...
 
unsigned display
 (Internal) hd_idx of the active (vga) display More...
 
unsigned color_code
 (Internal) color, if any More...
 
char * cmd_line
 (Internal) kernel command line More...
 
str_list_txtra_hd
 (Internal) fake hd entries (for testing) More...
 
devtree_tdevtree
 (Internal) prom device tree on ppc More...
 
unsigned kernel_version
 (Internal) kernel version More...
 
hd_tmanual
 (Internal) hardware config info More...
 
str_list_tdisks
 (Internal) disks according to /proc/partitions More...
 
str_list_tpartitions
 (Internal) dto, partitions More...
 
str_list_tcdroms
 (Internal) cdroms according to PROC_CDROM_INFO More...
 
hd_smbios_tsmbios
 (Internal) smbios data More...
 
struct {
   unsigned   hd_data_t::ok:1
 
   unsigned   hd_data_t::size
 
   unsigned   hd_data_t::used
 
   void *   hd_data_t::data
 
   int   hd_data_t::id
 
   int   hd_data_t::updated
 
shm
 (Internal) our shm segment More...
 
unsigned pci_config_type
 (Internal) PCI config type (1 or 2), 0: unknown More...
 
hd_udevinfo_tudevinfo
 (Internal) udev info More...
 
hd_sysfsdrv_tsysfsdrv
 (Internal) sysfs driver info More...
 
uint64_t sysfsdrv_id
 (Internal) sysfs driver info id More...
 
str_list_tscanner_db
 (Internal) list of scanner modules More...
 
edd_info_t edd [0x80]
 (Internal) enhanced disk drive data More...
 
hal_device_thal
 (Internal) HAL data (if any) More...
 
str_list_tlsscsi
 (Internal) lsscsi result (if any) More...
 
struct vm_s * vm
 (Internal) x86emu vm More...
 
size_t log_size
 (Internal) current log size (including final 0) More...
 
size_t log_max
 (Internal) log buffer size More...
 
str_list_tklog_raw
 (Internal) unmodified kernel log More...
 

Detailed Description

Holds all data accumulated during hardware probing.


The documentation for this struct was generated from the following file: