Main Page | Modules | Data Structures | File List | Data Fields | Globals | Related Pages

int10.c File Reference

#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

unsigned segofs2addr (unsigned char *segofs)
unsigned get_data (unsigned char *buf, unsigned buf_size, unsigned addr)
void read_vbe_info (hd_data_t *hd_data, vbe_info_t *vbe, unsigned char *vbeinfo)
void log_err (char *format,...) __attribute__((format(printf
void get_vbe_info (hd_data_t *hd_data, vbe_info_t *vbe)

Variables

hd_data_t * log_hd_data

Function Documentation

unsigned get_data (  unsigned char *  buf,
unsigned  buf_size,
unsigned  addr
)  [static]
 

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
)  [static]
 

unsigned segofs2addr (  unsigned char *  segofs  )  [static]
 


Variable Documentation

hd_data_t* log_hd_data [static]