![]() |
coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
|
#include <assert.h>
#include <cpu/cpu.h>
#include <cpu/x86/lapic.h>
#include <cpu/x86/lapic_def.h>
#include <cpu/x86/msr.h>
#include <console/console.h>
#include <smp/node.h>
#include <stdint.h>
Go to the source code of this file.
Functions | |
void | enable_lapic (void) |
void | disable_lapic (void) |
uintptr_t | cpu_get_lapic_addr (void) |
void | setup_lapic_interrupts (void) |
Definition at line 63 of file lapic.c.
References LAPIC_DEFAULT_BASE.
Referenced by acpi_create_madt(), cpu_pci_domain_read_resources(), and mptable_init().
Definition at line 55 of file lapic.c.
References LAPIC_BASE_MSR, LAPIC_BASE_MSR_ENABLE, LAPIC_BASE_MSR_X2APIC_MODE, msr_struct::lo, rdmsr(), and wrmsr().
Referenced by initialize_cpus().
Definition at line 12 of file lapic.c.
References ASSERT, BIOS_INFO, CONFIG, cpu_get_feature_flags_ecx(), CPUID_X2APIC, die(), msr_struct::hi, LAPIC_BASE_MSR, LAPIC_BASE_MSR_ADDR_MASK, LAPIC_BASE_MSR_ENABLE, LAPIC_BASE_MSR_X2APIC_MODE, LAPIC_DEFAULT_BASE, lapicid(), msr_struct::lo, printk, rdmsr(), and wrmsr().
Referenced by ap_bootblock_c_entry(), ap_init(), bootblock_c_entry(), init_bsp(), initialize_cpus(), and secondary_cpu_init().
Definition at line 68 of file lapic.c.
References boot_cpu(), LAPIC_DELIVERY_MODE_EXTINT, LAPIC_DELIVERY_MODE_MASK, LAPIC_DELIVERY_MODE_NMI, LAPIC_INPUT_POLARITY, LAPIC_LVT0, LAPIC_LVT1, LAPIC_LVT_LEVEL_TRIGGER, LAPIC_LVT_MASKED, LAPIC_SPIV, LAPIC_SPIV_ENABLE, LAPIC_TASKPRI, LAPIC_TPRI_MASK, lapic_update32(), LAPIC_VECTOR_MASK, and mask.
Referenced by ap_init(), init_bsp(), initialize_cpus(), and secondary_cpu_init().