#include <stdio.h>
Go to the source code of this file.
Functions |
void | setup_io (void) |
void | do_x86 (unsigned long bios_start, i86biosRegsPtr regs, int cpuemu) |
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,...) |
Macro Definition Documentation
#define DEFAULT_V_BIOS 0xc0000 |
#define i_printf |
( |
|
f, |
|
|
|
a... |
|
) |
| |
#define MEM_FILE "/dev/mem" |
#define p_printf |
( |
|
f, |
|
|
|
a... |
|
) |
| |
#define P_printf |
( |
|
f, |
|
|
|
a... |
|
) |
| |
Typedef Documentation
typedef unsigned char CARD8 |
Enumeration Type Documentation
Function Documentation
void add_hlt |
( |
unsigned long |
addr | ) |
|
void dprint |
( |
unsigned long |
start, |
|
|
unsigned long |
size |
|
) |
| |
int int_handler |
( |
int |
num, |
|
|
struct regs86 * |
regs |
|
) |
| |
void lprintf |
( |
const char * |
f, |
|
|
|
... |
|
) |
| |
int run_bios_int |
( |
int |
num, |
|
|
struct regs86 * |
regs |
|
) |
| |
References CPU_REG, CPU_REG_LW, regs86::cs, dprint(), regs86::eflags, regs86::eip, regs86::esp, IF_MASK, INT2PTR, NT_MASK, pushw, regs86::ss, TF_MASK, and VIF_MASK.
Referenced by vm86_do_int().
Variable Documentation