libhd  5.0
memory.h
Go to the documentation of this file.
pr_bios_ddc
@ pr_bios_ddc
Definition: hd.h:119
read_file
str_list_t * read_file(char *file_name, unsigned start_line, unsigned lines)
Definition: hd.c:2527
res_phys_mem_t::type
enum resource_types type
Definition: hd.h:1698
s_hd_t::base_class
hd_id_t base_class
Base class (id and name).
Definition: hd.h:2231
vbe_info_t::mode
vbe_mode_info_t * mode
video mode list
Definition: hd.h:496
pr_memory
@ pr_memory
Definition: hd.h:110
remove_hd_entries
void remove_hd_entries(hd_data_t *hd_data)
Definition: hd.c:2711
vbe_mode_info_s::win_A_attr
unsigned win_A_attr
window A attributes
Definition: hd.h:472
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:475
canon_str
char * canon_str(char *s, int len)
Definition: hd.c:2191
vbe_mode_info_s::width
unsigned width
Definition: hd.h:467
res_mem
@ res_mem
Definition: hd.h:1635
PROGRESS
#define PROGRESS(a, b, c)
Definition: hd_int.h:61
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:407
vbe_info_t::oem_version
unsigned oem_version
oem version info
Definition: hd.h:488
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:476
pr_x86emu
@ pr_x86emu
Definition: hd.h:123
s_hd_t
Individual hardware item.
Definition: hd.h:2196
res_mem_t::type
enum resource_types type
Definition: hd.h:1688
vbe_info_t::modes
unsigned modes
number of supported video modes
Definition: hd.h:495
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:1822
u8
#define u8
Definition: net.c:14
vbe_mode_info_s::height
unsigned height
mode size
Definition: hd.h:467
acc_rw
@ acc_rw
read/write
Definition: hd.h:1656
vbe_mode_info_s::pixel_clock
unsigned pixel_clock
maximum pixel clock
Definition: hd.h:477
res_mem_t::range
uint64_t range
Definition: hd.h:1689
s_str_list_t::free_str_list
str_list_t * free_str_list(str_list_t *list)
Definition: hd.c:2493
klog.h
hd_data_t::module
unsigned module
(Internal) the current probing module we are in
Definition: hd.h:2681
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:499
ADD2LOG
#define ADD2LOG(a...)
Definition: hd_int.h:62
s_str_list_t
String list type.
Definition: hd.h:406
u_hd_res_t::mem
res_mem_t mem
Definition: hd.h:1826
vbe_info_t::ok
unsigned ok
data are valid
Definition: hd.h:486
add_hd_entry
hd_t * add_hd_entry(hd_data_t *hd_data, unsigned line, unsigned count)
Definition: hd.c:1777
read_klog
void read_klog(hd_data_t *hd_data)
Definition: klog.c:50
pr_bios_mode
@ pr_bios_mode
Definition: hd.h:120
pr_bios_ddc_ports
@ pr_bios_ddc_ports
Definition: hd.h:122
get_probe_val_int
int get_probe_val_int(hd_data_t *hd_data, enum probe_feature feature)
Definition: hd.c:386
vbe_mode_info_s::attributes
unsigned attributes
mode attributes
Definition: hd.h:466
hd_probe_feature
int hd_probe_feature(hd_data_t *hd_data, enum probe_feature feature)
Definition: hd.c:579
get_probe_val_list
str_list_t * get_probe_val_list(hd_data_t *hd_data, enum probe_feature feature)
Definition: hd.c:416
vbe_mode_info_s::win_A_start
unsigned win_A_start
window A start address
Definition: hd.h:471
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:1827
vbe_mode_info_s::bytes_p_line
unsigned bytes_p_line
line length
Definition: hd.h:468
hd_id_t::id
unsigned id
Numeric id.
Definition: hd.h:397
vbe_mode_info_s::number
unsigned number
mode number
Definition: hd.h:465
hd.h
s_hd_t::res
hd_res_t * res
Device resources.
Definition: hd.h:2427
s_hd_t::sub_class
hd_id_t sub_class
Sub class (id and name).
Definition: hd.h:2236
vbe_mode_info_s::pixel_size
unsigned pixel_size
bits per pixel
Definition: hd.h:469
vbe_mode_info_s::win_B_start
unsigned win_B_start
window B start address
Definition: hd.h:473
vbe_info_t::version
unsigned version
vbe version
Definition: hd.h:487
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:1692
hd_int.h
vbe_mode_info_s::fb_start
unsigned fb_start
frame buffer start address (if any)
Definition: hd.h:470
res_phys_mem
@ res_phys_mem
Definition: hd.h:1635
vbe_info_t::product_name
char * product_name
product name
Definition: hd.h:493
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:489
vbe_info_t::product_revision
char * product_revision
product revision
Definition: hd.h:494
vbe_info_t
VESA BIOS extensions information Also includes a VESA mode list.
Definition: hd.h:485
add_res_entry
hd_res_t * add_res_entry(hd_res_t **res, hd_res_t *new_res)
Definition: hd.c:1769
vbe_info_t::oem_name
char * oem_name
oem name
Definition: hd.h:491
mod_memory
@ mod_memory
Definition: hd_int.h:74
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:497
hd_data_t::klog
str_list_t * klog
(Internal) kernel log
Definition: hd.h:2695
pr_bios_fb
@ pr_bios_fb
Definition: hd.h:120
vbe_info_t::fb_start
unsigned fb_start
!= 0 if framebuffer is supported
Definition: hd.h:490
res_phys_mem_t::range
uint64_t range
Definition: hd.h:1699
res_mem_t::enabled
unsigned enabled
0: disabled, 1 enabled
Definition: hd.h:1691
vbe_info_t::ddc_ports
unsigned ddc_ports
max ports to probe
Definition: hd.h:498
hd_log
void hd_log(hd_data_t *hd_data, char *buf, ssize_t len)
Definition: hd.c:2335
vbe_info_t::vendor_name
char * vendor_name
vendor name
Definition: hd.h:492
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
memory.h
vbe_mode_info_s::win_B_attr
unsigned win_B_attr
window B attributes
Definition: hd.h:474
sc_int_main_mem
@ sc_int_main_mem
Definition: hd.h:221
s_str_list_t::str
char * str
Some string data.
Definition: hd.h:408
bc_internal
@ bc_internal
Definition: hd.h:164
hd_data_t::vm
struct vm_s * vm
(Internal) x86emu vm
Definition: hd.h:2734
vbe_mode_info_s
VESA BIOS mode information item.
Definition: hd.h:464