Skip to content

Commit

Permalink
ACPICA: Add support for extra, optional OS-specific header file.
Browse files Browse the repository at this point in the history
If OSPMs have something should appear after actypes.h to reference type
definitions, the platform/acxxx.h is not sufficient as it is included by
platform/acenv.h before including actypes.h.

This patch introduces an OSPMs declarable headers to allow OSPMs to handle
such requirement for their own purposes.

This kind of header can also be used by Linux to collect the divergences
that haven't been back ported yet.  Lv Zheng.

Signed-off-by: Lv Zheng <lv.zheng@intel.com>
Signed-off-by: Bob Moore <robert.moore@intel.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
  • Loading branch information
Lv Zheng authored and Rafael J. Wysocki committed Feb 10, 2014
1 parent 3334861 commit 9036f60
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions include/acpi/acpi.h
Original file line number Diff line number Diff line change
Expand Up @@ -62,5 +62,8 @@
#include <acpi/acrestyp.h> /* Resource Descriptor structs */
#include <acpi/acpiosxf.h> /* OSL interfaces (ACPICA-to-OS) */
#include <acpi/acpixf.h> /* ACPI core subsystem external interfaces */
#ifdef ACPI_NATIVE_INTERFACE_HEADER
#include ACPI_NATIVE_INTERFACE_HEADER
#endif

#endif /* __ACPI_H__ */

0 comments on commit 9036f60

Please sign in to comment.