![]() |
coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
|
#include <acpi/acpi_gnvs.h>
#include <acpi/acpi_pm.h>
#include <amdblocks/acpi.h>
#include <bootstate.h>
#include <soc/acpi.h>
#include <soc/nvs.h>
#include <soc/southbridge.h>
#include <types.h>
Go to the source code of this file.
Functions | |
static int | get_index_bit (uint32_t value, uint16_t limit) |
static void | pm_fill_gnvs (struct global_nvs *gnvs, const struct acpi_pm_gpe_state *state) |
static void | acpi_save_wake_source (void *unused) |
BOOT_STATE_INIT_ENTRY (BS_PRE_DEVICE, BS_ON_ENTRY, acpi_save_wake_source, NULL) | |
Definition at line 46 of file pm_state.c.
References acpi_pm_state_for_wake(), acpi_reset_gnvs_for_wake(), gnvs, chipset_power_state::gpe_state, and pm_fill_gnvs().
BOOT_STATE_INIT_ENTRY | ( | BS_PRE_DEVICE | , |
BS_ON_ENTRY | , | ||
acpi_save_wake_source | , | ||
NULL | |||
) |
Definition at line 12 of file pm_state.c.
References TOTAL_BITS, and value.
Referenced by pm_fill_gnvs().
|
static |
Definition at line 33 of file pm_state.c.
References get_index_bit(), gnvs, GPE0_LIMIT, global_nvs::gpei, PM1_LIMIT, and global_nvs::pm1i.
Referenced by acpi_save_wake_source().