![]() |
coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
|
#include <acpi/acpi.h>
#include <cpu/x86/mp.h>
#include <cpu/x86/msr.h>
#include <cpu/amd/msr.h>
#include <bootstate.h>
#include <console/console.h>
#include <amdblocks/acpi.h>
#include <types.h>
Go to the source code of this file.
Functions | |
static void | per_core_finalize (void *unused) |
static void | finalize_cores (void) |
static void | soc_finalize (void *unused) |
BOOT_STATE_INIT_ENTRY (BS_OS_RESUME, BS_ON_ENTRY, soc_finalize, NULL) | |
BOOT_STATE_INIT_ENTRY (BS_PAYLOAD_LOAD, BS_ON_EXIT, soc_finalize, NULL) | |
BOOT_STATE_INIT_ENTRY | ( | BS_OS_RESUME | , |
BS_ON_ENTRY | , | ||
soc_finalize | , | ||
NULL | |||
) |
BOOT_STATE_INIT_ENTRY | ( | BS_PAYLOAD_LOAD | , |
BS_ON_EXIT | , | ||
soc_finalize | , | ||
NULL | |||
) |
Definition at line 31 of file finalize.c.
References BIOS_SPEW, BIOS_WARNING, CB_SUCCESS, mp_run_on_all_cpus(), NULL, per_core_finalize(), and printk.
Referenced by soc_finalize().
Definition at line 12 of file finalize.c.
References CONFIG, HWCR_MSR, msr_struct::lo, mask, rdmsr(), SMM_LOCK, SMM_MASK_MSR, SMM_TSEG_VALID, and wrmsr().
Referenced by finalize_cores().
Definition at line 39 of file finalize.c.
References acpi_clear_pm_gpe_status(), acpi_disable_sci(), acpi_enable_sci(), acpi_is_wakeup_s3(), CONFIG, finalize_cores(), post_code, and POST_OS_BOOT.