![]() |
coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
|
#include <string.h>
#include <types.h>
#include "debug.h"
#include <x86emu/x86emu.h>
#include <x86emu/regs.h>
#include "../x86emu/prim_ops.h"
#include "biosemu.h"
#include "io.h"
#include "mem.h"
#include "interrupt.h"
#include "device.h"
#include "pmm.h"
#include <device/device.h>
#include "compat/rtas.h"
Go to the source code of this file.
Functions | |
void | mainboard_interrupt_handlers (int interrupt, yabel_handleIntFunc func) |
u32 | biosemu (u8 *biosmem, u32 biosmem_size, struct device *dev, unsigned long rom_addr) |
Variables | |
static X86EMU_memFuncs | my_mem_funcs |
static X86EMU_pioFuncs | my_pio_funcs |
yabel_handleIntFunc | yabel_intFuncArray [256] |
Definition at line 87 of file biosemu.c.
References BIOS_DATA_SEGMENT, bios_device, biosemu_add_special_memory(), biosemu_dev_check_exprom(), biosemu_dev_init(), biosmem, biosmem_size, biosemu_device_t::bus, c, CHECK_DBG, clr_ci(), DATA_SEGMENT, DEBUG_CHECK_VMEM_ACCESS, DEBUG_DECODE_F, DEBUG_DECODE_NOPRINT_F, DEBUG_DISK, debug_flags, DEBUG_INTR, DEBUG_IO, DEBUG_JMP, DEBUG_MEM, DEBUG_PMM, DEBUG_PNP, DEBUG_PRINT_INT10, DEBUG_PRINTF, DEBUG_PRINTF_CS_IP, DEBUG_SAVE_IP_CS_F, DEBUG_TRACE_X86EMU, DEBUG_TRACECALL_F, DEBUG_TRACECALL_REGS_F, DEBUG_TRACEJMP_F, DEBUG_TRACEJMP_REGS_F, DEBUG_VBE, biosemu_device_t::devfn, dump, handleInterrupt(), biosemu_device_t::img_addr, biosemu_device_t::img_size, INITIAL_EBDA_SEGMENT, INITIAL_EBDA_SIZE, M, memcmp(), memcpy(), memset(), MIN_REQUIRED_VMEM_SIZE, my_mem_funcs, my_pio_funcs, my_wrb(), my_wrl(), my_wrw(), OPTION_ROM_CODE_SEGMENT, pmm_setup(), pmm_test(), pop_word(), printf, push_word(), set_ci(), STACK_SEGMENT, STACK_START_OFFSET, X86EMU_exec(), X86EMU_setMemBase(), X86EMU_setupIntrFuncs(), X86EMU_setupMemFuncs(), X86EMU_setupPioFuncs(), and X86EMU_trace_on().
Referenced by run_bios().
void mainboard_interrupt_handlers | ( | int | interrupt, |
yabel_handleIntFunc | func | ||
) |
Definition at line 74 of file biosemu.c.
References yabel_intFuncArray.
|
static |
|
static |
yabel_handleIntFunc yabel_intFuncArray[256] |
Definition at line 71 of file biosemu.c.
Referenced by handleInterrupt(), and mainboard_interrupt_handlers().