OpenCloudOS-Kernel/include/acpi/platform
Lv Zheng 65082bfcb4 ACPICA: CLib: Add short multiply/shift support
ACPICA commit 01b8f5a2350b9cc329cd8402ac8faec36fc501f5

In order to build ACPICA EFI tools with EDK-II on Windows, 64-bit
multiply/shift supports are also required to be implemented. Otherwise,
MSVC complains:
 acpidump.lib(utstrtoul64.obj) : error LNK2001: unresolved external symbol __allmul
 acpidump.lib(uthex.obj) : error LNK2001: unresolved external symbol __aullshr

Note:
1. This patch also splits _EDK2_EFI from _GNU_EFI as they might have
   different math64 supports.
2. Support of gcc math64 is not included in this patch.
3. Support of EDK2 arch independent math64 is done via linking to base_lib.

This patch fixes this issue. Reported by Shao Ming, fixed by Lv Zheng.

For Linux kernel, this patch is a functional no-op.

Link: https://github.com/acpica/acpica/commit/01b8f5a2
Tested-by: "Shao, Ming" <smbest163@163.com>
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>
2017-08-03 23:34:16 +02:00
..
acenv.h Back port of "ACPICA: Use designated initializers" 2017-07-20 16:38:24 +02:00
acenvex.h ACPICA: Source tree: Update copyright notices to 2017 2017-02-09 14:47:02 +01:00
acgcc.h ACPICA: CLib: Add short multiply/shift support 2017-08-03 23:34:16 +02:00
acgccex.h ACPICA: Source tree: Update copyright notices to 2017 2017-02-09 14:47:02 +01:00
acintel.h ACPICA: OSL: Add support to exclude stdarg.h 2017-06-12 14:58:40 +02:00
aclinux.h ACPICA: CLib: Add short multiply/shift support 2017-08-03 23:34:16 +02:00
aclinuxex.h ACPICA: Source tree: Update copyright notices to 2017 2017-02-09 14:47:02 +01:00