xref: /openbmc/qemu/include/hw/acpi/ipmi.h (revision f7160f32)
1 /*
2  * QEMU IPMI ACPI handling
3  *
4  * Copyright (c) 2015,2016 Corey Minyard <cminyard@mvista.com>
5  *
6  * This work is licensed under the terms of the GNU GPL, version 2 or later.
7  * See the COPYING file in the top-level directory.
8  */
9 #ifndef HW_ACPI_IPMI_H
10 #define HW_ACPI_IPMI_H
11 
12 #include "hw/acpi/aml-build.h"
13 
14 /*
15  * Add ACPI IPMI entries for all registered IPMI devices whose parent
16  * bus matches the given bus.  The resource is the ACPI resource that
17  * contains the IPMI device, this is required for the I2C CRS.
18  */
19 void build_acpi_ipmi_devices(Aml *table, BusState *bus, const char *resource);
20 
21 #endif /* HW_ACPI_IPMI_H */
22