git: kernel/acpi: Reduce code duplication with ACPICA.

Sascha Wildner swildner at crater.dragonflybsd.org
Tue Mar 10 15:09:42 PDT 2015


commit fc673eaa749a01e148fc5f0b6e81587531576344
Author: Sascha Wildner <saw at online.de>
Date:   Tue Mar 10 22:31:02 2015 +0100

    kernel/acpi: Reduce code duplication with ACPICA.
    
    Use the types which the ACPICA framework provides whereever possible in
    our acpi_fadt and acpi_madt code. Since we do not use any actual ACPICA
    functions here, this is no problem even for code which (so far) runs
    before ACPICA is initialized.
    
    Discussed-with-and-approved-by: sephe

Summary of changes:
 sys/platform/pc64/acpica/acpi_fadt.c    |  37 ++--
 sys/platform/pc64/acpica/acpi_madt.c    | 312 +++++++++++++-------------------
 sys/platform/pc64/acpica/acpi_sdt.c     | 133 +++++---------
 sys/platform/pc64/acpica/acpi_sdt.h     |  57 ------
 sys/platform/pc64/acpica/acpi_sdt_var.h |   2 +-
 5 files changed, 187 insertions(+), 354 deletions(-)
 delete mode 100644 sys/platform/pc64/acpica/acpi_sdt.h

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/fc673eaa749a01e148fc5f0b6e81587531576344


-- 
DragonFly BSD source repository



More information about the Commits mailing list