libhd  5.0
memory.h
Go to the documentation of this file.
pr_bios_ddc
@ pr_bios_ddc
Definition: hd.h:122
read_file
str_list_t * read_file(char *file_name, unsigned start_line, unsigned lines)
Definition: hd.c:2544
res_phys_mem_t::type
enum resource_types type
Definition: hd.h:1703
s_hd_t::base_class
hd_id_t base_class
Base class (id and name).
Definition: hd.h:2236
vbe_info_t::mode
vbe_mode_info_t * mode
video mode list
Definition: hd.h:500
pr_memory
@ pr_memory
Definition: hd.h:113
remove_hd_entries
void remove_hd_entries(hd_data_t *hd_data)
Definition: hd.c:2728
vbe_mode_info_s::win_A_attr
unsigned win_A_attr
window A attributes
Definition: hd.h:476
kcore_mem
uint64_t kcore_mem(hd_data_t *hd_data)
Definition: memory.c:100
meminfo_xen
uint64_t meminfo_xen(hd_data_t *hd_data)
Definition: memory.c:221
vbe_mode_info_s::win_size
unsigned win_size
window size in bytes
Definition: hd.h:479
canon_str
char * canon_str(char *s, int len)
Definition: hd.c:2208
vbe_mode_info_s::width
unsigned width
Definition: hd.h:471
res_mem
@ res_mem
Definition: hd.h:1640
PROGRESS
#define PROGRESS(a, b, c)
Definition: hd_int.h:65
klog_mem
uint64_t klog_mem(hd_data_t *hd_data, uint64_t *alt)
Definition: memory.c:123
s_str_list_t::next
struct s_str_list_t * next
Link to next member.
Definition: hd.h:411
vbe_info_t::oem_version
unsigned oem_version
oem version info
Definition: hd.h:492
PROC_KCORE
#define PROC_KCORE
Definition: hd_int.h:19
vbe_mode_info_s::win_gran
unsigned win_gran
window granularity in bytes
Definition: hd.h:480
pr_x86emu
@ pr_x86emu
Definition: hd.h:126
s_hd_t
Individual hardware item.
Definition: hd.h:2201
res_mem_t::type
enum resource_types type
Definition: hd.h:1693
vbe_info_t::modes
unsigned modes
number of supported video modes
Definition: hd.h:499
chk_edid_info
static int chk_edid_info(hd_data_t *hd_data, unsigned char *edid)
Definition: monitor.c:256
u_hd_res_t
libhd resource union
Definition: hd.h:1827
u8
#define u8
Definition: net.c:14
vbe_mode_info_s::height
unsigned height
mode size
Definition: hd.h:471
u32
#define u32
Definition: net.c:16
acc_rw
@ acc_rw
read/write
Definition: hd.h:1661
vbe_mode_info_s::pixel_clock
unsigned pixel_clock
maximum pixel clock
Definition: hd.h:481
res_mem_t::range
uint64_t range
Definition: hd.h:1694
s_str_list_t::free_str_list
str_list_t * free_str_list(str_list_t *list)
Definition: hd.c:2510
klog.h
hd_data_t::module
unsigned module
(Internal) the current probing module we are in
Definition: hd.h:2686
get_vbe_info
void get_vbe_info(hd_data_t *hd_data, vbe_info_t *vbe)
vbe_info_t::ddc_port
unsigned char ddc_port[4][0x80]
ddc monitor info per port
Definition: hd.h:503
ADD2LOG
#define ADD2LOG(a...)
Definition: hd_int.h:66
s_str_list_t
String list type.
Definition: hd.h:410
u_hd_res_t::mem
res_mem_t mem
Definition: hd.h:1831
vbe_info_t::ok
unsigned ok
data are valid
Definition: hd.h:490
add_hd_entry
hd_t * add_hd_entry(hd_data_t *hd_data, unsigned line, unsigned count)
Definition: hd.c:1794
read_klog
void read_klog(hd_data_t *hd_data)
Definition: klog.c:50
pr_bios_mode
@ pr_bios_mode
Definition: hd.h:123
pr_bios_ddc_ports
@ pr_bios_ddc_ports
Definition: hd.h:125
get_probe_val_int
int get_probe_val_int(hd_data_t *hd_data, enum probe_feature feature)
Definition: hd.c:402
vbe_mode_info_s::attributes
unsigned attributes
mode attributes
Definition: hd.h:470
hd_probe_feature
int hd_probe_feature(hd_data_t *hd_data, enum probe_feature feature)
Definition: hd.c:595
get_probe_val_list
str_list_t * get_probe_val_list(hd_data_t *hd_data, enum probe_feature feature)
Definition: hd.c:432
vbe_mode_info_s::win_A_start
unsigned win_A_start
window A start address
Definition: hd.h:475
klog_mem2
uint64_t klog_mem2(hd_data_t *hd_data)
Definition: memory.c:177
u_hd_res_t::phys_mem
res_phys_mem_t phys_mem
Definition: hd.h:1832
vbe_mode_info_s::bytes_p_line
unsigned bytes_p_line
line length
Definition: hd.h:472
hd_id_t::id
unsigned id
Numeric id.
Definition: hd.h:401
vbe_mode_info_s::number
unsigned number
mode number
Definition: hd.h:469
hd.h
s_hd_t::res
hd_res_t * res
Device resources.
Definition: hd.h:2432
s_hd_t::sub_class
hd_id_t sub_class
Sub class (id and name).
Definition: hd.h:2241
vbe_mode_info_s::pixel_size
unsigned pixel_size
bits per pixel
Definition: hd.h:473
vbe_mode_info_s::win_B_start
unsigned win_B_start
window B start address
Definition: hd.h:477
vbe_info_t::version
unsigned version
vbe version
Definition: hd.h:491
hd_scan_memory
void hd_scan_memory(hd_data_t *hd_data)
Definition: memory.c:26
res_mem_t::access
unsigned access
enum access_flags
Definition: hd.h:1697
hd_int.h
vbe_mode_info_s::fb_start
unsigned fb_start
frame buffer start address (if any)
Definition: hd.h:474
res_phys_mem
@ res_phys_mem
Definition: hd.h:1640
vbe_info_t::product_name
char * product_name
product name
Definition: hd.h:497
PROC_MEMINFO
#define PROC_MEMINFO
Definition: hd_int.h:23
hd_data
static hd_data_t * hd_data
Definition: pppoe.c:29
vbe_info_t::memory
unsigned memory
in bytes
Definition: hd.h:493
vbe_info_t::product_revision
char * product_revision
product revision
Definition: hd.h:498
vbe_info_t
VESA BIOS extensions information Also includes a VESA mode list.
Definition: hd.h:489
add_res_entry
hd_res_t * add_res_entry(hd_res_t **res, hd_res_t *new_res)
Definition: hd.c:1786
vbe_info_t::oem_name
char * oem_name
oem name
Definition: hd.h:495
mod_memory
@ mod_memory
Definition: hd_int.h:78
PROC_XEN_BALLOON
#define PROC_XEN_BALLOON
Definition: hd_int.h:28
meminfo_mem
uint64_t meminfo_mem(hd_data_t *hd_data)
Definition: memory.c:203
vbe_info_t::current_mode
unsigned current_mode
current video mode
Definition: hd.h:501
hd_data_t::klog
str_list_t * klog
(Internal) kernel log
Definition: hd.h:2700
pr_bios_fb
@ pr_bios_fb
Definition: hd.h:123
vbe_info_t::fb_start
unsigned fb_start
!= 0 if framebuffer is supported
Definition: hd.h:494
res_phys_mem_t::range
uint64_t range
Definition: hd.h:1704
res_mem_t::enabled
unsigned enabled
0: disabled, 1 enabled
Definition: hd.h:1696
vbe_info_t::ddc_ports
unsigned ddc_ports
max ports to probe
Definition: hd.h:502
hd_log
void hd_log(hd_data_t *hd_data, char *buf, ssize_t len)
Definition: hd.c:2352
vbe_info_t::vendor_name
char * vendor_name
vendor name
Definition: hd.h:496
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
memory.h
vbe_mode_info_s::win_B_attr
unsigned win_B_attr
window B attributes
Definition: hd.h:478
sc_int_main_mem
@ sc_int_main_mem
Definition: hd.h:225
s_str_list_t::str
char * str
Some string data.
Definition: hd.h:412
bc_internal
@ bc_internal
Definition: hd.h:167
hd_data_t::vm
struct vm_s * vm
(Internal) x86emu vm
Definition: hd.h:2739
vbe_mode_info_s
VESA BIOS mode information item.
Definition: hd.h:468