coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
smihandler.c
Go to the documentation of this file.
1 /* SPDX-License-Identifier: GPL-2.0-only */
2 
3 #include <acpi/acpi.h>
5 #include <cpu/x86/smm.h>
8 #include <soc/nvs.h>
11 
12 #include "onboard.h"
13 
14 void mainboard_smi_sleep(u8 slp_typ)
15 {
16  switch (slp_typ) {
17  case ACPI_S3:
19  break;
20  case ACPI_S4:
21  case ACPI_S5:
23  break;
24  default:
25  break;
26  }
27  return;
28 }
void __weak mainboard_smi_sleep(u8 slp_typ)
Definition: smihandler.c:210
@ LED_BLINK
Definition: onboard.h:39
@ LED_OFF
Definition: onboard.h:37
void set_power_led(int state)
Definition: led.c:6
@ ACPI_S5
Definition: acpi.h:1385
@ ACPI_S4
Definition: acpi.h:1384
@ ACPI_S3
Definition: acpi.h:1383
uint8_t u8
Definition: stdint.h:45