|
Data Structures |
struct | config |
struct | pio |
struct | regs86 |
struct | i86biosRegs |
struct | console |
struct | haltpoints |
struct | device |
Defines |
#define | p_printf(f, a...) |
#define | i_printf(f, a...) |
#define | P_printf(f, a...) |
#define | FALSE 0 |
#define | TRUE 1 |
#define | IOPERM_BITS 1024 |
#define | MEM_FILE "/dev/mem" |
#define | DEFAULT_V_BIOS 0xc0000 |
#define | V_BIOS DEFAULT_V_BIOS |
Typedefs |
typedef unsigned char | CARD8 |
typedef unsigned short | CARD16 |
typedef unsigned int | CARD32 |
typedef unsigned int | memType |
typedef int | Bool |
typedef * | i86biosRegsPtr |
Enumerations |
enum | dev_type { NONE,
ISA,
PCI
} |
Functions |
void | setup_io (void) |
void | do_x86 (unsigned long bios_start, i86biosRegsPtr regs) |
int | run_bios_int (int num, struct regs86 *regs) |
CARD32 | getIntVect (int num) |
CARD32 | getIP (void) |
void | call_boot (struct device *dev) |
void | runINT (int num, i86biosRegsPtr Regs) |
void | add_hlt (unsigned long addr) |
void | del_hlt (int addr) |
void | list_hlt () |
int | port_rep_inb (CARD16 port, CARD8 *base, int d_f, CARD32 count) |
int | port_rep_inw (CARD16 port, CARD16 *base, int d_f, CARD32 count) |
int | port_rep_inl (CARD16 port, CARD32 *base, int d_f, CARD32 count) |
int | port_rep_outb (CARD16 port, CARD8 *base, int d_f, CARD32 count) |
int | port_rep_outw (CARD16 port, CARD16 *base, int d_f, CARD32 count) |
int | port_rep_outl (CARD16 port, CARD32 *base, int d_f, CARD32 count) |
CARD8 | p_inb (CARD16 port) |
CARD16 | p_inw (CARD16 port) |
CARD32 | p_inl (CARD16 port) |
void | p_outb (CARD16 port, CARD8 val) |
void | p_outw (CARD16 port, CARD16 val) |
void | p_outl (CARD16 port, CARD32 val) |
void | io_statistics (void) |
void | clear_stat (void) |
int | int_handler (int num, struct regs86 *regs) |
console | open_console (void) |
void | close_console (console) |
void | dprint (unsigned long start, unsigned long size) |
void | logon (void *ptr) |
void | logoff () |
void | lprintf (const char *f,...) |
Variables |
device | Device |
pio | P |
config | Config |
int | ioperm_list [IOPERM_BITS] |
Bool | logging |
Bool | nostdout |
char * | logfile |