#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] |
| void void get_vbe_info | ( | hd_data_t * | hd_data, | |
| vbe_info_t * | vbe | |||
| ) |
| void log_err | ( | char * | format, | |
| ... | ||||
| ) |
| void read_vbe_info | ( | hd_data_t * | hd_data, | |
| vbe_info_t * | vbe, | |||
| unsigned char * | vbeinfo, | |||
| unsigned | cpuemu | |||
| ) | [static] |
| unsigned segofs2addr | ( | unsigned char * | segofs | ) | [static] |
hd_data_t* log_hd_data [static] |