xref: /openbmc/qemu/hw/acpi/ghes-stub.c (revision 7d87775f)
1 /*
2  * Support for generating APEI tables and recording CPER for Guests:
3  * stub functions.
4  *
5  * Copyright (c) 2021 Linaro, Ltd
6  *
7  * This work is licensed under the terms of the GNU GPL, version 2 or later.
8  * See the COPYING file in the top-level directory.
9  */
10 
11 #include "qemu/osdep.h"
12 #include "hw/acpi/ghes.h"
13 
14 int acpi_ghes_record_errors(uint8_t source_id, uint64_t physical_address)
15 {
16     return -1;
17 }
18 
19 bool acpi_ghes_present(void)
20 {
21     return false;
22 }
23