coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
|
#include <types.h>
Go to the source code of this file.
Macros | |
#define | IO_APIC_ADDR 0xfec00000 |
#define | VIO_APIC_VADDR ((u8 *)IO_APIC_ADDR) |
#define | IO_APIC_INTERRUPTS 24 |
#define | ALL (0xff << 24) |
#define | NONE (0) |
#define | INT_DISABLED (1 << 16) |
#define | INT_ENABLED (0 << 16) |
#define | TRIGGER_EDGE (0 << 15) |
#define | TRIGGER_LEVEL (1 << 15) |
#define | POLARITY_HIGH (0 << 13) |
#define | POLARITY_LOW (1 << 13) |
#define | PHYSICAL_DEST (0 << 11) |
#define | LOGICAL_DEST (1 << 11) |
#define | ExtINT (7 << 8) |
#define | NMI (4 << 8) |
#define | SMI (2 << 8) |
#define | INT (1 << 8) |
Functions | |
u32 | io_apic_read (void *ioapic_base, u32 reg) |
void | io_apic_write (void *ioapic_base, u32 reg, u32 value) |
void | set_ioapic_id (void *ioapic_base, u8 ioapic_id) |
u8 | get_ioapic_id (void *ioapic_base) |
u8 | get_ioapic_version (void *ioapic_base) |
unsigned int | ioapic_get_max_vectors (void *ioapic_base) |
void | ioapic_set_max_vectors (void *ioapic_base, int mre_count) |
void | ioapic_lock_max_vectors (void *ioapic_base) |
void | setup_ioapic (void *ioapic_base, u8 ioapic_id) |
void | ioapic_set_boot_config (void *ioapic_base, bool irq_on_fsb) |
#define VIO_APIC_VADDR ((u8 *)IO_APIC_ADDR) |
Definition at line 133 of file ioapic.c.
References io_apic_read().
Referenced by isa_init(), and smp_write_ioapic_from_hw().
Definition at line 138 of file ioapic.c.
References io_apic_read().
Referenced by smp_write_ioapic_from_hw().
Definition at line 9 of file ioapic.c.
References read32(), and write32().
Referenced by clear_vectors(), get_ioapic_id(), get_ioapic_version(), ioapic_get_max_vectors(), ioapic_set_boot_config(), ioapic_set_max_vectors(), route_i8259_irq0(), and set_ioapic_id().
Definition at line 15 of file ioapic.c.
References value, and write32().
Referenced by ioapic_set_boot_config(), ioapic_set_max_vectors(), set_ioapic_id(), and write_vector().
Definition at line 32 of file ioapic.c.
References BIOS_DEBUG, count, io_apic_read(), and printk.
Referenced by setup_ioapic().
Definition at line 65 of file ioapic.c.
References ioapic_set_max_vectors().
Referenced by i82801ix_enable_apic(), i82801jx_enable_apic(), and pch_enable_ioapic().
Definition at line 143 of file ioapic.c.
References BIOS_DEBUG, io_apic_read(), io_apic_write(), and printk.
Referenced by i82801dx_enable_ioapic().
Definition at line 51 of file ioapic.c.
References count, io_apic_read(), and io_apic_write().
Referenced by ioapic_lock_max_vectors(), and pch_enable_ioapic().
Definition at line 111 of file ioapic.c.
References BIOS_DEBUG, BIOS_SPEW, io_apic_read(), io_apic_write(), and printk.
Referenced by setup_ioapic().
Definition at line 160 of file ioapic.c.
References clear_vectors(), ioapic_get_max_vectors(), route_i8259_irq0(), and set_ioapic_id().
Referenced by fch_ioapic_init(), i82801dx_enable_ioapic(), i82801gx_enable_ioapic(), i82801ix_enable_apic(), i82801jx_enable_apic(), ioapic_init(), isa_init(), northbridge_init(), pch_enable_ioapic(), root_complex_init(), sb800_enable(), and sm_init().