![]() |
coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
|
#include <arch/registers.h>
#include <console/console.h>
#include <device/pci.h>
#include <device/pci_ops.h>
#include <x86emu/regs.h>
#include "x86.h"
Go to the source code of this file.
Macros | |
#define | PCI_CONFIG_SPACE_TYPE1 (1 << 0) |
#define | PCI_SPECIAL_CYCLE_TYPE1 (1 << 4) |
Enumerations | |
enum | { PCIBIOS_SUCCESSFUL = 0x0000 , PCIBIOS_UNSUPPORTED = 0x8100 , PCIBIOS_BADVENDOR = 0x8300 , PCIBIOS_NODEV = 0x8600 , PCIBIOS_BADREG = 0x8700 } |
Functions | |
int | int10_handler (void) |
int | int12_handler (void) |
int | int16_handler (void) |
int | int1a_handler (void) |
#define PCI_CONFIG_SPACE_TYPE1 (1 << 0) |
Definition at line 98 of file x86_interrupts.c.
#define PCI_SPECIAL_CYCLE_TYPE1 (1 << 4) |
Definition at line 99 of file x86_interrupts.c.
anonymous enum |
Enumerator | |
---|---|
PCIBIOS_SUCCESSFUL | |
PCIBIOS_UNSUPPORTED | |
PCIBIOS_BADVENDOR | |
PCIBIOS_NODEV | |
PCIBIOS_BADREG |
Definition at line 15 of file x86_interrupts.c.
int int10_handler | ( | void | ) |
Definition at line 23 of file x86_interrupts.c.
References BIOS_INFO, BIOS_WARNING, printk, X86_EAX, X86_EBX, X86_ECX, and X86_EDX.
Referenced by setup_interrupt_handlers().
int int12_handler | ( | void | ) |
Definition at line 72 of file x86_interrupts.c.
References X86_EAX.
Referenced by setup_interrupt_handlers().
int int16_handler | ( | void | ) |
Definition at line 78 of file x86_interrupts.c.
References BIOS_WARNING, printk, X86_EAX, and X86_EFLAGS.
Referenced by setup_interrupt_handlers().
int int1a_handler | ( | void | ) |
Definition at line 101 of file x86_interrupts.c.
References BIOS_DEBUG, BIOS_ERR, device::bus, dev_find_device(), pci_path::devfn, device::path, device_path::pci, PCI_CONFIG_SPACE_TYPE1, pci_read_config16(), pci_read_config32(), pci_read_config8(), PCI_SPECIAL_CYCLE_TYPE1, pci_write_config16(), pci_write_config32(), pci_write_config8(), PCIBIOS_BADREG, PCIBIOS_NODEV, PCIBIOS_SUCCESSFUL, PCIBIOS_UNSUPPORTED, pcidev_path_on_bus(), printk, bus::secondary, word, X86_EAX, X86_EBX, X86_ECX, X86_EDI, X86_EDX, and X86_ESI.
Referenced by setup_interrupt_handlers().