|
libhd 5.0
|
#include <stdio.h>#include <stdlib.h>#include <unistd.h>#include <string.h>#include <stdarg.h>#include "vbios.h"#include "hd.h"#include "hd_int.h"#include "bios.h"Functions | |
| static unsigned | segofs2addr (unsigned char *segofs) |
| static unsigned | get_data (unsigned char *buf, unsigned buf_size, unsigned addr) |
| static void | read_vbe_info (hd_data_t *hd_data, vbe_info_t *vbe, unsigned char *vbeinfo, unsigned cpuemu) |
| void | log_err (char *format,...) __attribute__((format(printf |
| void void | get_vbe_info (hd_data_t *hd_data, vbe_info_t *vbe) |
Variables | |
| static hd_data_t * | log_hd_data |
| unsigned get_data | ( | unsigned char * | buf, |
| unsigned | buf_size, | ||
| unsigned | addr | ||
| ) | [static] |
Referenced by read_vbe_info().
| void void get_vbe_info | ( | hd_data_t * | hd_data, |
| vbe_info_t * | vbe | ||
| ) |
References ADD2LOG, u_hd_smbios_t::any, CallInt10(), smbios_chassis_t::ch_type, u_hd_smbios_t::chassis, FreeInt10(), get_probe_val_int(), hd_data, hd_probe_feature(), hexdump(), hd_id_t::id, InitInt10(), smbios_sysinfo_t::manuf, u_hd_smbios_t::next, pr_bios_ddc, pr_bios_ddc_ports, pr_bios_fb, pr_bios_mode, pr_cpuemu_debug, PROGRESS, read_vbe_info(), sm_chassis, sm_sysinfo, u_hd_smbios_t::sysinfo, and smbios_any_t::type.
| void log_err | ( | char * | format, |
| ... | |||
| ) |
| void read_vbe_info | ( | hd_data_t * | hd_data, |
| vbe_info_t * | vbe, | ||
| unsigned char * | vbeinfo, | ||
| unsigned | cpuemu | ||
| ) | [static] |
References ADD2LOG, vbe_mode_info_s::attributes, vbe_mode_info_s::bytes_p_line, CallInt10(), canon_str(), vbe_info_t::fb_start, vbe_mode_info_s::fb_start, get_data(), vbe_mode_info_s::height, vbe_info_t::memory, vbe_info_t::mode, vbe_info_t::modes, new_mem(), vbe_mode_info_s::number, vbe_info_t::oem_name, vbe_info_t::oem_version, vbe_info_t::ok, vbe_mode_info_s::pixel_clock, vbe_mode_info_s::pixel_size, vbe_info_t::product_name, vbe_info_t::product_revision, segofs2addr(), vbe_info_t::vendor_name, vbe_info_t::version, vbe_mode_info_s::width, vbe_mode_info_s::win_A_attr, vbe_mode_info_s::win_A_start, vbe_mode_info_s::win_B_attr, vbe_mode_info_s::win_B_start, vbe_mode_info_s::win_gran, and vbe_mode_info_s::win_size.
Referenced by get_vbe_info().
| unsigned segofs2addr | ( | unsigned char * | segofs | ) | [static] |
Referenced by read_vbe_info().
hd_data_t* log_hd_data [static] |