![]() |
coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
|
#include <arch/io.h>
#include <arch/romstage.h>
#include <device/mmio.h>
#include <device/pci_ops.h>
#include <console/console.h>
#include <cbmem.h>
#include <elog.h>
#include <romstage_handoff.h>
#include <string.h>
#include <timestamp.h>
#include <soc/iomap.h>
#include <soc/msr.h>
#include <soc/pci_devs.h>
#include <soc/pm.h>
#include <soc/romstage.h>
Go to the source code of this file.
Functions | |
static void | migrate_power_state (int is_recovery) |
static struct chipset_power_state * | fill_power_state (void) |
static int | chipset_prev_sleep_state (const struct chipset_power_state *ps) |
void | mainboard_romstage_entry (void) |
Variables | |
static struct chipset_power_state | power_state |
|
static |
Definition at line 62 of file romstage.c.
References ACPI_BASE_ADDRESS, ACPI_S0, ACPI_S3, ACPI_S5, CONFIG, chipset_power_state::gen_pmcon1, outl(), PM1_CNT, chipset_power_state::pm1_cnt, chipset_power_state::pm1_sts, prev_sleep_state(), PWR_FLR, SLP_TYP, SUS_PWR_FLR, and WAK_STS.
Referenced by mainboard_romstage_entry().
|
static |
Definition at line 37 of file romstage.c.
References ACPI_BASE_ADDRESS, BIOS_DEBUG, GEN_PMCON1, chipset_power_state::gen_pmcon1, GEN_PMCON2, chipset_power_state::gen_pmcon2, GPE0_EN, chipset_power_state::gpe0_en, GPE0_STS, chipset_power_state::gpe0_sts, inl(), inw(), PM1_CNT, chipset_power_state::pm1_cnt, PM1_EN, chipset_power_state::pm1_en, PM1_STS, chipset_power_state::pm1_sts, PMC_BASE_ADDRESS, power_state, printk, PRSTS, chipset_power_state::prsts, read32(), TCO_STS, and chipset_power_state::tco_sts.
Referenced by mainboard_romstage_entry().
Definition at line 89 of file romstage.c.
References ACPI_S3, BIOS_DEBUG, chipset_prev_sleep_state(), elog_boot_notify(), fill_power_state(), gfx_init(), mainboard_fill_mrc_params(), memset(), prev_sleep_state(), printk, punit_init(), raminit(), romstage_handoff_init(), set_max_freq(), timestamp_add_now(), TS_INITRAM_END, and TS_INITRAM_START.
|
static |
Definition at line 21 of file romstage.c.
References BIOS_DEBUG, cbmem_add(), CBMEM_ID_POWER_STATE, memcpy(), NULL, power_state, and printk.
|
static |
Definition at line 1 of file romstage.c.
Referenced by ec_init(), fill_power_state(), mainboard_romstage_entry(), migrate_power_state(), and perform_raminit().