coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
acpi_wake_source.h
Go to the documentation of this file.
1 /* SPDX-License-Identifier: GPL-2.0-only */
2 
3 #ifndef _INTEL_COMMON_ACPI_H_
4 #define _INTEL_COMMON_ACPI_H_
5 
6 #include <stdint.h>
7 
8 /*
9  * SOC specific handler to provide the wake source data for ACPI _SWS.
10  *
11  * @pm1: PM1_STS register with only enabled events set
12  * @gpe0: GPE0_STS registers with only enabled events set
13  *
14  * return the number of registers in the gpe0 array or -1 if nothing
15  * is provided by this function.
16  */
17 int soc_fill_acpi_wake(const struct chipset_power_state *ps, uint32_t *pm1, uint32_t **gpe0);
18 
19 #endif /* _INTEL_COMMON_ACPI_H_ */
int soc_fill_acpi_wake(const struct chipset_power_state *ps, uint32_t *pm1, uint32_t **gpe0)
Definition: ramstage.c:121
unsigned int uint32_t
Definition: stdint.h:14