git: kernel/acpi: Solve ACPI_DEBUG_{CACHE, LOCKS, MEMMAP} building better.

Sascha Wildner swildner at
Sat Jun 28 06:32:07 PDT 2014

commit 510bcfa42f5b3cb934688b3150a1f61dcf5e4b1b
Author: Sascha Wildner <saw at>
Date:   Sat Jun 28 15:31:31 2014 +0200

    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).

Summary of changes:
 sys/contrib/dev/acpica/source/include/acpiosxf.h   | 31 --------------
 .../platform/acdragonflyex.h}                      | 47 +++++++++++++++++-----
 .../dev/acpica/source/include/platform/acenvex.h   |  3 ++
 3 files changed, 39 insertions(+), 42 deletions(-)
 copy sys/contrib/dev/acpica/source/{tools/examples/examples.h => include/platform/acdragonflyex.h} (73%)

DragonFly BSD source repository

More information about the Commits mailing list