]> Git Repo - qemu.git/blame - include/hw/acpi/erst.h
works with less than base ISA qemu-system-riscv32 -M virt -bios none -kernel output...
[qemu.git] / include / hw / acpi / erst.h
CommitLineData
fb1c8f89
ED
1/*
2 * ACPI Error Record Serialization Table, ERST, Implementation
3 *
4 * ACPI ERST introduced in ACPI 4.0, June 16, 2009.
5 * ACPI Platform Error Interfaces : Error Serialization
6 *
7 * Copyright (c) 2021 Oracle and/or its affiliates.
8 *
9 * SPDX-License-Identifier: GPL-2.0-or-later
10 */
11#ifndef HW_ACPI_ERST_H
12#define HW_ACPI_ERST_H
13
7a5951f6
MA
14#include "hw/acpi/bios-linker-loader.h"
15#include "qom/object.h"
16
fb1c8f89
ED
17void build_erst(GArray *table_data, BIOSLinker *linker, Object *erst_dev,
18 const char *oem_id, const char *oem_table_id);
19
20#define TYPE_ACPI_ERST "acpi-erst"
21
8486f12f
ED
22/* returns NULL unless there is exactly one device */
23static inline Object *find_erst_dev(void)
24{
25 return object_resolve_path_type("", TYPE_ACPI_ERST, NULL);
26}
fb1c8f89 27#endif
This page took 0.102729 seconds and 4 git commands to generate.