kernel/acpi: Solve ACPI_DEBUG_{CACHE,LOCKS,MEMMAP} building better.
authorSascha Wildner <saw@online.de>
Sat, 28 Jun 2014 13:31:31 +0000 (15:31 +0200)
committerSascha Wildner <saw@online.de>
Sat, 28 Jun 2014 13:31:52 +0000 (15:31 +0200)
commit510bcfa42f5b3cb934688b3150a1f61dcf5e4b1b
tree5375230a2586f20a6d208a6d39452210c98be79f
parenta645dd951b68e7c122d067842761d5074352f2be
kernel/acpi: Solve ACPI_DEBUG_{CACHE,LOCKS,MEMMAP} building better.

ACPICA 20140627 added a mechanism for having a platform dependent
header that is included _after_ ACPICA headers are included.

So we can now solve compilation with ACPI_DEBUG_{CACHE,LOCKS,MEMMAP}
by adding a new acdragonflyex.h header for the prototypes of the
debug flavors of AcpiOsReleaseObject(), AcpiOsAcquireLock(),
AcpiOsMapMemory() and AcpiOsUnmapMemory() instead of having to put
them into the vendor code (like I did in 3b92a84dc0def, which this
commit reverts).
sys/contrib/dev/acpica/source/include/acpiosxf.h
sys/contrib/dev/acpica/source/include/platform/acdragonflyex.h [copied from sys/contrib/dev/acpica/source/include/platform/acenvex.h with 73% similarity]
sys/contrib/dev/acpica/source/include/platform/acenvex.h