![]() |
coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
|
#include <types.h>
#include "compat/rtas.h"
#include "biosemu.h"
#include "mem.h"
#include "device.h"
#include "debug.h"
#include "pmm.h"
#include "interrupt.h"
#include <x86emu/x86emu.h>
#include "../x86emu/prim_ops.h"
#include <device/pci.h>
#include <device/pci_ops.h>
Go to the source code of this file.
Functions | |
static void | setupInt (int intNum) |
static void | handleInt10 (void) |
static void | translate_keycode (u64 *keycode) |
static void | handleInt16 (void) |
static void | handleInt1a (void) |
void | handleInterrupt (int intNum) |
void | runInt10 (void) |
void | runInt13 (void) |
Variables | |
static u8 | keycode_table [256] |
Definition at line 72 of file interrupt.c.
References CHECK_DBG, DEBUG_PRINT_INT10, DEBUG_PRINTF_INTR, HALT_SYS, M, my_rdb(), my_rdw(), my_wrb(), my_wrw(), and printf.
Referenced by handleInterrupt().
Definition at line 255 of file interrupt.c.
References c, CLEAR_FLAG, DEBUG_PRINTF, DEBUG_PRINTF_INTR, F_ZF, HALT_SYS, M, printf, SET_FLAG, and translate_keycode().
Referenced by handleInterrupt().
Definition at line 341 of file interrupt.c.
References bios_device, biosemu_device_t::bus, device::bus, CLEAR_FLAG, CONFIG, DEBUG_PRINTF_INTR, biosemu_device_t::dev, dev_find_device(), dev_path(), biosemu_device_t::devfn, pci_path::devfn, F_CF, HALT_SYS, M, NULL, device::path, device_path::pci, biosemu_device_t::pci_device_id, pci_read_config16(), pci_read_config32(), pci_read_config8(), biosemu_device_t::pci_vendor_id, pci_write_config16(), pci_write_config32(), pci_write_config8(), pcidev_path_on_bus(), printf, biosemu_device_t::puid, rtas_pci_config_read(), rtas_pci_config_write(), bus::secondary, and SET_FLAG.
Referenced by handleInterrupt().
void handleInterrupt | ( | int | intNum | ) |
Definition at line 550 of file interrupt.c.
References DEBUG_PRINTF_INTR, HALT_SYS, handleInt10(), handleInt16(), handleInt1a(), M, my_rdl(), pmm_handleInt(), PMM_INT_NUM, printf, setupInt(), and yabel_intFuncArray.
Referenced by biosemu().
Definition at line 623 of file interrupt.c.
References CHECK_DBG, DATA_SEGMENT, DEBUG_JMP, DEBUG_PRINTF_INTR, DEBUG_TRACE_X86EMU, DEBUG_TRACECALL_F, DEBUG_TRACECALL_REGS_F, DEBUG_TRACEJMP_REGS_F, M, push_word(), setupInt(), STACK_SEGMENT, STACK_START_OFFSET, X86EMU_exec(), and X86EMU_trace_on().
Definition at line 661 of file interrupt.c.
References CHECK_DBG, DATA_SEGMENT, DEBUG_JMP, DEBUG_PRINTF_INTR, DEBUG_TRACE_X86EMU, DEBUG_TRACECALL_F, DEBUG_TRACECALL_REGS_F, DEBUG_TRACEJMP_REGS_F, M, push_word(), setupInt(), STACK_SEGMENT, STACK_START_OFFSET, X86EMU_exec(), and X86EMU_trace_on().
|
static |
Definition at line 53 of file interrupt.c.
References CLEAR_FLAG, DEBUG_PRINTF_INTR, F_IF, F_TF, M, my_rdl(), my_rdw(), and push_word().
Referenced by handleInterrupt(), runInt10(), and runInt13().
Definition at line 229 of file interrupt.c.
References keycode_table, and printf.
Referenced by handleInt16().
|
static |
Definition at line 191 of file interrupt.c.
Referenced by translate_keycode().