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