ACPICA: OSL: Add portable file IO to improve portability
authorLv Zheng <lv.zheng@intel.com>
Tue, 8 Jul 2014 02:06:53 +0000 (10:06 +0800)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Tue, 8 Jul 2014 12:22:25 +0000 (14:22 +0200)
commit7824f44ecfef4f05caaa8f9536c523b8d645f102
tree320c0c30a153123fb69e84bff660c18d5ebb241f
parent83b80bace4bdfc61abd16ca6ad0a51734a0f57f0
ACPICA: OSL: Add portable file IO to improve portability

This patch adds portable file IO to generic OSL to improve the portability
of the applications.

A portable application may use different file IO interfaces than the
standard C library ones. This patch thus introduces an abstract file IO
layer into the generic OSL.

Note that this patch does not introduce users of such interfaces, further
patches should introduce users one by one carefully with build tests
performed. 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>
include/acpi/acpiosxf.h
include/acpi/actypes.h
tools/power/acpi/os_specific/service_layers/oslibcfs.c [new file with mode: 0644]