acpi: Add IPMI table entries
authorCorey Minyard <cminyard@mvista.com>
Fri, 10 Jun 2016 09:15:42 +0000 (04:15 -0500)
committerMichael S. Tsirkin <mst@redhat.com>
Fri, 24 Jun 2016 02:13:57 +0000 (05:13 +0300)
commit86e91dd713414dda40bb16aabe2f1fc9ba95a3a7
treea4d03ce0a965701c3e4b6d65531127fe906502df
parent35658f6e0c3dacfdb22198ee3917c0c28914d81d
acpi: Add IPMI table entries

Use the ACPI table construction tools to create an ACPI entry
for IPMI.  This adds a function called build_acpi_ipmi_devices
to add an DSDT entry for IPMI if IPMI is compiled in and an
IPMI device exists.  It also adds a dummy function if IPMI
is not compiled in.

This conforms to section "C3-2 Locating IPMI System Interfaces in
ACPI Name Space" in the IPMI 2.0 specification.

Signed-off-by: Corey Minyard <cminyard@mvista.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
hw/acpi/Makefile.objs
hw/acpi/ipmi.c [new file with mode: 0644]
hw/i386/acpi-build.c
include/hw/acpi/ipmi.h [new file with mode: 0644]
stubs/Makefile.objs
stubs/ipmi.c [new file with mode: 0644]