coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
uart_acpi.c
Go to the documentation of this file.
1 /* SPDX-License-Identifier: GPL-2.0-only */
2 
3 #include <acpi/acpigen.h>
4 #include <amdblocks/uart.h>
5 #include <device/device.h>
6 
7 /* This gets called for both enabled and disabled devices. */
8 void uart_inject_ssdt(const struct device *dev)
9 {
11 
13 
14  acpigen_pop_len(); /* Scope */
15 }
const char * acpi_device_path(const struct device *dev)
Definition: device.c:144
int acpi_device_status(const struct device *dev)
Definition: device.c:193
void acpigen_pop_len(void)
Definition: acpigen.c:37
void acpigen_write_scope(const char *name)
Definition: acpigen.c:326
void acpigen_write_STA(uint8_t status)
Definition: acpigen.c:783
Definition: device.h:107
void uart_inject_ssdt(const struct device *dev)
Definition: uart_acpi.c:8