]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
ACPICA: EFI: Add EFI interface definitions to eliminate dependency of GNU EFI
authorLv Zheng <lv.zheng@intel.com>
Wed, 1 Jul 2015 06:43:50 +0000 (14:43 +0800)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Wed, 1 Jul 2015 21:17:53 +0000 (23:17 +0200)
commit07cf6ce595882c71cc5bd6c551820398b9e7f613
tree117285126b8080086e22e8a68493b9958380d951
parent7b09d8fdede65ea0ff4dc79654d10856f0aff0b8
ACPICA: EFI: Add EFI interface definitions to eliminate dependency of GNU EFI

ACPICA commit 5d00e67a74542d030f0a55e7a947a020ef0d9693

This patch copies EFI interface definitions to the ACPICA code base so that
the EFI utility support can be ported to other EFI implementation.

Known issues:
1. MS Builds of uefi_call_wrapper()
   The uefi_call_wrapper() in GNU EFI is implemented in a the way to work
   around the ABI difference between Unix and MS. While I don't have
   environment to test the MS builds.

In order to port the ACPICA utilities to other EFI implementation, all that
need to be done is to impelement the 64-bit division support and the
program entry point where the efi_main() is invoked. Code to impelement
these is platform specific, and ACPICA currently choose to hide such
platform specific code within the specific EFI impelementation. Lv Zheng.

This patch doesn't affect Linux kernel.

Link: https://github.com/acpica/acpica/commit/5d00e67a
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/platform/acenvex.h