EFI: fix build for AARCH64
Leif Lindholm
PATCH v2 1/1 EFI: fix build for AARCH64
AARCH64 build was left out of initial version, so add to .dsc and set ACPI_MACHINE_WIDTH correctly.
Also, acpidump.inf specified explicit per-architecture (but identical) CFLAGS. Rather than duplicating this further, use the same setting for all architectures until there is actually a need to diverge.
Also update README to make it obvious AArch64 is supported.
---
v2 contains a fix for a non-functional issue, which could generate warnings when building with CLANG.
generate/efi/AcpiPkg.dsc | 2 +- generate/efi/README | 1 + generate/efi/acpidump/acpidump.inf | 6 ++---- source/include/platform/acefi.h | 2 +- 4 files changed, 5 insertions(+), 6 deletions(-)
generate/efi/AcpiPkg.dsc +1 -1
@@ -18,7 +18,7 @@ PLATFORM_VERSION = 1.0 DSC_SPECIFICATION = 0x00010005 OUTPUT_DIRECTORY = Build/Acpi - SUPPORTED_ARCHITECTURES = IA32|X64 + SUPPORTED_ARCHITECTURES = AARCH64|IA32|X64 BUILD_TARGETS = DEBUG|RELEASE SKUID_IDENTIFIER = DEFAULT
generate/efi/README +1 -0
@@ -20,6 +20,7 @@ But the porting has only been tested in a Linux environment. You can find built EFI binaries (e.x., acpidump.efi) in the following folders: + Build/Acpi/DEBUG_GCC47/AARCH64: aarch64 targets Build/Acpi/DEBUG_GCC47/IA32: i386 targets Build/Acpi/DEBUG_GCC47/X64: x86_64 targets
generate/efi/acpidump/acpidump.inf +2 -4
@@ -55,7 +55,5 @@ BaseLib [BuildOptions] - MSFT:*_*_IA32_CC_FLAGS = /Oi- /WX- /D_EDK2_EFI /DACPI_DUMP_APP - MSFT:*_*_X64_CC_FLAGS = /Oi- /WX- /D_EDK2_EFI /DACPI_DUMP_APP - GCC:*_*_IA32_CC_FLAGS = -U__linux__ -U_LINUX -D_EDK2_EFI -DACPI_DUMP_APP -fno-builtin -iwithprefix include - GCC:*_*_X64_CC_FLAGS = -U__linux__ -U_LINUX -D_EDK2_EFI -DACPI_DUMP_APP -fno-builtin -iwithprefix include + MSFT:*_*_*_CC_FLAGS = /Oi- /WX- /D_EDK2_EFI /DACPI_DUMP_APP + GCC:*_*_*_CC_FLAGS = -U__linux__ -U_LINUX -D_EDK2_EFI -DACPI_DUMP_APP -fno-builtin -iwithprefix include
source/include/platform/acefi.h +1 -1
@@ -140,7 +140,7 @@#define VOID void -#if defined(__ia64__) || defined(__x86_64__) +#if defined(__aarch64__) || defined(__ia64__) || defined(__x86_64__)#define ACPI_MACHINE_WIDTH 64
Signature · 1 line
2.10.2
Leif Lindholm
PATCH v2 1/1 EFI: fix build for AARCH64
AARCH64 build was left out of initial version, so add to .dsc and set ACPI_MACHINE_WIDTH correctly.
Also, acpidump.inf specified explicit per-architecture (but identical) CFLAGS. Rather than duplicating this further, use the same setting for all architectures until there is actually a need to diverge.
Also update README to make it obvious AArch64 is supported.
---
v2 contains a fix for a non-functional issue, which could generate warnings when building with CLANG.
generate/efi/AcpiPkg.dsc | 2 +- generate/efi/README | 1 + generate/efi/acpidump/acpidump.inf | 6 ++---- source/include/platform/acefi.h | 2 +- 4 files changed, 5 insertions(+), 6 deletions(-)
generate/efi/AcpiPkg.dsc +1 -1
@@ -18,7 +18,7 @@ PLATFORM_VERSION = 1.0 DSC_SPECIFICATION = 0x00010005 OUTPUT_DIRECTORY = Build/Acpi - SUPPORTED_ARCHITECTURES = IA32|X64 + SUPPORTED_ARCHITECTURES = AARCH64|IA32|X64 BUILD_TARGETS = DEBUG|RELEASE SKUID_IDENTIFIER = DEFAULT
generate/efi/README +1 -0
@@ -20,6 +20,7 @@ But the porting has only been tested in a Linux environment. You can find built EFI binaries (e.x., acpidump.efi) in the following folders: + Build/Acpi/DEBUG_GCC47/AARCH64: aarch64 targets Build/Acpi/DEBUG_GCC47/IA32: i386 targets Build/Acpi/DEBUG_GCC47/X64: x86_64 targets
generate/efi/acpidump/acpidump.inf +2 -4
@@ -55,7 +55,5 @@ BaseLib [BuildOptions] - MSFT:*_*_IA32_CC_FLAGS = /Oi- /WX- /D_EDK2_EFI /DACPI_DUMP_APP - MSFT:*_*_X64_CC_FLAGS = /Oi- /WX- /D_EDK2_EFI /DACPI_DUMP_APP - GCC:*_*_IA32_CC_FLAGS = -U__linux__ -U_LINUX -D_EDK2_EFI -DACPI_DUMP_APP -fno-builtin -iwithprefix include - GCC:*_*_X64_CC_FLAGS = -U__linux__ -U_LINUX -D_EDK2_EFI -DACPI_DUMP_APP -fno-builtin -iwithprefix include + MSFT:*_*_*_CC_FLAGS = /Oi- /WX- /D_EDK2_EFI /DACPI_DUMP_APP + GCC:*_*_*_CC_FLAGS = -U__linux__ -U_LINUX -D_EDK2_EFI -DACPI_DUMP_APP -fno-builtin -iwithprefix include
source/include/platform/acefi.h +1 -1
@@ -140,7 +140,7 @@#define VOID void -#if defined(__ia64__) || defined(__x86_64__) +#if defined(__aarch64__) || defined(__ia64__) || defined(__x86_64__)#define ACPI_MACHINE_WIDTH 64
Signature · 1 line
2.10.2
Al Stone
Quoted 66 lines · Leif Lindholm
AARCH64 build was left out of initial version, so add to .dsc and set
ACPI_MACHINE_WIDTHcorrectly.Also, acpidump.inf specified explicit per-architecture (but identical) CFLAGS. Rather than duplicating this further, use the same setting for all architectures until there is actually a need to diverge.
Also update README to make it obvious AArch64 is supported.
Signed-off-by Leif Lindholm <leif.lindholm(a)linaro.org>---
v2 contains a fix for a non-functional issue, which could generate warnings when building with CLANG.
generate/efi/AcpiPkg.dsc | 2 +- generate/efi/README | 1 + generate/efi/acpidump/acpidump.inf | 6 ++---- source/include/platform/acefi.h | 2 +- 4 files changed, 5 insertions(+), 6 deletions(-)generate/efi/AcpiPkg.dsc +1
-1@@ -18,7 +18,7 @@ PLATFORM_VERSION = 1.0 DSC_SPECIFICATION = 0x00010005 OUTPUT_DIRECTORY = Build/Acpi - SUPPORTED_ARCHITECTURES = IA32|X64 + SUPPORTED_ARCHITECTURES = AARCH64|IA32|X64 BUILD_TARGETS = DEBUG|RELEASE SKUID_IDENTIFIER = DEFAULTgenerate/efi/README +1
-0@@ -20,6 +20,7 @@ But the porting has only been tested in a Linux environment. You can find built EFI binaries (e.x., acpidump.efi) in the following folders: + Build/Acpi/DEBUG_GCC47/AARCH64: aarch64 targets Build/Acpi/DEBUG_GCC47/IA32: i386 targets Build/Acpi/DEBUG_GCC47/X64: x86_64 targetsgenerate/efi/acpidump/acpidump.inf +2
-4@@ -55,7 +55,5 @@ BaseLib [BuildOptions] - MSFT:*_*_IA32_CC_FLAGS = /Oi- /WX- /D_EDK2_EFI /DACPI_DUMP_APP - MSFT:*_*_X64_CC_FLAGS = /Oi- /WX- /D_EDK2_EFI /DACPI_DUMP_APP - GCC:*_*_IA32_CC_FLAGS = -U__linux__ -U_LINUX -D_EDK2_EFI -DACPI_DUMP_APP -fno-builtin -iwithprefix include - GCC:*_*_X64_CC_FLAGS = -U__linux__ -U_LINUX -D_EDK2_EFI -DACPI_DUMP_APP -fno-builtin -iwithprefix include + MSFT:*_*_*_CC_FLAGS = /Oi- /WX- /D_EDK2_EFI /DACPI_DUMP_APP + GCC:*_*_*_CC_FLAGS = -U__linux__ -U_LINUX -D_EDK2_EFI -DACPI_DUMP_APP -fno-builtin -iwithprefix includesource/include/platform/acefi.h +0
-0
source/include/platform/acefi.h line 146
Quoted 8 lines
source/include/platform/acefi.h +1
-1@@ -140,7 +140,7 @@#define VOID void -#if defined(__ia64__) || defined(__x86_64__) +#if defined(__aarch64__) || defined(__ia64__) || defined(__x86_64__)#define ACPI_MACHINE_WIDTH 64
It's been over a month since this really very simple patch was submitted. In the meantime, acpidump.efi does not build without it. Any particular reason this has not been merged? Leif isn't the only user that needs it.
Thanks.
Signature · 8 lines
ciao, al ----------------------------------- Al Stone Software Engineer Red Hat, Inc. ahs3(a)redhat.com -----------------------------------
Zheng
Hi, Guys
Thanks for the reminder.
Here goes my opinions.
Quoted 45 lines
From: Devel [mailto:devel-bounces(a)acpica.org] On Behalf Of Al Stone
Sent: Friday, January 27, 2017 1:05 AM
Subject: Re: [Devel] [PATCH v2] EFI: fix build for AARCH64Quoted 40 lines · Leif Lindholm
AARCH64 build was left out of initial version, so add to .dsc and set
ACPI_MACHINE_WIDTHcorrectly.Also, acpidump.inf specified explicit per-architecture (but identical) CFLAGS. Rather than duplicating this further, use the same setting for all architectures until there is actually a need to diverge.
Also update README to make it obvious AArch64 is supported.
Signed-off-by Leif Lindholm <leif.lindholm(a)linaro.org>---
v2 contains a fix for a non-functional issue, which could generate warnings when building with CLANG.
generate/efi/AcpiPkg.dsc | 2 +- generate/efi/README | 1 + generate/efi/acpidump/acpidump.inf | 6 ++---- source/include/platform/acefi.h | 2 +- 4 files changed, 5 insertions(+), 6 deletions(-)generate/efi/AcpiPkg.dsc +1
-1@@ -18,7 +18,7 @@ PLATFORM_VERSION = 1.0 DSC_SPECIFICATION = 0x00010005 OUTPUT_DIRECTORY = Build/Acpi - SUPPORTED_ARCHITECTURES = IA32|X64 + SUPPORTED_ARCHITECTURES = AARCH64|IA32|X64 BUILD_TARGETS = DEBUG|RELEASE SKUID_IDENTIFIER = DEFAULTgenerate/efi/README +0
-0@@ -20,6 +20,7 @@ But the porting has only been tested in a Linux environment.
Quoted 5 lines
generate/efi/README But the porting has only been tested in a Linux environment. · line 25
Quoted 5 lines
generate/efi/README +1
-0You can find built EFI binaries (e.x., acpidump.efi) in the following folders: + Build/Acpi/DEBUG_GCC47/AARCH64: aarch64 targets Build/Acpi/DEBUG_GCC47/IA32: i386 targets Build/Acpi/DEBUG_GCC47/X64: x86_64 targets
Could you reorder this list in the README file?
New support should be listed below the old supports.
And I believe EFI is much more widely used on IA32 and X64 platforms.
Quoted 13 lines
generate/efi/acpidump/acpidump.inf line 60
Quoted 12 lines
generate/efi/acpidump/acpidump.inf +0
-3@@ -55,7 +55,5 @@ BaseLib [BuildOptions] - MSFT:*_*_IA32_CC_FLAGS = /Oi- /WX- /D_EDK2_EFI /DACPI_DUMP_APP - MSFT:*_*_X64_CC_FLAGS = /Oi- /WX- /D_EDK2_EFI /DACPI_DUMP_APP - GCC:*_*_IA32_CC_FLAGS = -U__linux__ -U_LINUX -D_EDK2_EFI -DACPI_DUMP_APP -fno-builtin -iwithprefix include
Quoted 5 lines
generate/efi/acpidump/acpidump.inf line 61
Quoted 1 line
generate/efi/acpidump/acpidump.inf +0
-1- GCC:*_*_X64_CC_FLAGS = -U__linux__ -U_LINUX -D_EDK2_EFI -DACPI_DUMP_APP -fno-builtin -iwithprefix include
generate/efi/acpidump/acpidump.inf line 59
Quoted 2 lines
generate/efi/acpidump/acpidump.inf +2
-0+ MSFT:*_*_*_CC_FLAGS = /Oi- /WX- /D_EDK2_EFI /DACPI_DUMP_APP + GCC:*_*_*_CC_FLAGS = -U__linux__ -U_LINUX -D_EDK2_EFI -DACPI_DUMP_APP -fno-builtin -iwithprefixinclude
Maybe this should be in a separate patch.
Quoted 6 lines
Quoted 6 lines
source/include/platform/acefi.h +0
-0@@ -140,7 +140,7 @@
Quoted 8 lines
source/include/platform/acefi.h line 146
Quoted 8 lines
source/include/platform/acefi.h +1
-1#define VOID void -#if defined(__ia64__) || defined(__x86_64__) +#if defined(__aarch64__) || defined(__ia64__) || defined(__x86_64__)#define ACPI_MACHINE_WIDTH 64
TBH, I don't have any idea on how aarch64 EFI wrapper should be. So what we can do is just relying on the community.
So I'm OK with this change.
But it seems this commit should also define __aarch64__ in accygwin.h. Is this a mistake?
Thanks and best regards
Lv
Quoted 20 lines
It's been over a month since this really very simple patch was submitted. In the meantime, acpidump.efi does not build without it. Any particular reason this has not been merged? Leif isn't the only user that needs it.
Thanks.
--
ciao,
al
-----------------------------------
Al Stone
Software Engineer
Red Hat, Inc.
ahs3(a)redhat.com
-----------------------------------
_______________________________________________
Devel mailing list
Devel(a)acpica.org
https://lists.acpica.org/mailman/listinfo/devel
Leif Lindholm
Hi Lv,
Many thanks for review.
Quoted 50 lines · Lv
Hi, Guys
Thanks for the reminder.
Here goes my opinions.Quoted 45 lines
From: Devel [mailto:devel-bounces(a)acpica.org] On Behalf Of Al Stone
Sent: Friday, January 27, 2017 1:05 AM
Subject: Re: [Devel] [PATCH v2] EFI: fix build for AARCH64Quoted 40 lines · Leif Lindholm
AARCH64 build was left out of initial version, so add to .dsc and set
ACPI_MACHINE_WIDTHcorrectly.Also, acpidump.inf specified explicit per-architecture (but identical) CFLAGS. Rather than duplicating this further, use the same setting for all architectures until there is actually a need to diverge.
Also update README to make it obvious AArch64 is supported.
Signed-off-by Leif Lindholm <leif.lindholm(a)linaro.org>---
v2 contains a fix for a non-functional issue, which could generate warnings when building with CLANG.
generate/efi/AcpiPkg.dsc | 2 +- generate/efi/README | 1 + generate/efi/acpidump/acpidump.inf | 6 ++---- source/include/platform/acefi.h | 2 +- 4 files changed, 5 insertions(+), 6 deletions(-)generate/efi/AcpiPkg.dsc +1
-1@@ -18,7 +18,7 @@ PLATFORM_VERSION = 1.0 DSC_SPECIFICATION = 0x00010005 OUTPUT_DIRECTORY = Build/Acpi - SUPPORTED_ARCHITECTURES = IA32|X64 + SUPPORTED_ARCHITECTURES = AARCH64|IA32|X64 BUILD_TARGETS = DEBUG|RELEASE SKUID_IDENTIFIER = DEFAULTgenerate/efi/README +0
-0@@ -20,6 +20,7 @@ But the porting has only been tested in a Linux environment.
Quoted 9 lines
Quoted 5 lines
generate/efi/README But the porting has only been tested in a Linux environment. · line 25
Quoted 5 lines
generate/efi/README +1
-0You can find built EFI binaries (e.x., acpidump.efi) in the following folders: + Build/Acpi/DEBUG_GCC47/AARCH64: aarch64 targets Build/Acpi/DEBUG_GCC47/IA32: i386 targets Build/Acpi/DEBUG_GCC47/X64: x86_64 targetsCould you reorder this list in the README file?
New support should be listed below the old supports.
And I believe EFI is much more widely used on IA32 and X64 platforms.
That's probably true, I was going for alphabetical order :) If we are sorting by order of most widely used, I would think x86_64 should go first. So please clarify which order you would prefer.
Quoted 13 lines
Quoted 13 lines
generate/efi/acpidump/acpidump.inf line 60
Quoted 12 lines
generate/efi/acpidump/acpidump.inf +0
-3@@ -55,7 +55,5 @@ BaseLib [BuildOptions] - MSFT:*_*_IA32_CC_FLAGS = /Oi- /WX- /D_EDK2_EFI /DACPI_DUMP_APP - MSFT:*_*_X64_CC_FLAGS = /Oi- /WX- /D_EDK2_EFI /DACPI_DUMP_APP - GCC:*_*_IA32_CC_FLAGS = -U__linux__ -U_LINUX -D_EDK2_EFI -DACPI_DUMP_APP -fno-builtin -iwithprefix include
Quoted 7 lines
Quoted 5 lines
generate/efi/acpidump/acpidump.inf line 61
Quoted 1 line
generate/efi/acpidump/acpidump.inf +0
-1- GCC:*_*_X64_CC_FLAGS = -U__linux__ -U_LINUX -D_EDK2_EFI -DACPI_DUMP_APP -fno-builtin -iwithprefix include
generate/efi/acpidump/acpidump.inf line 59
Quoted 2 lines
generate/efi/acpidump/acpidump.inf +2
-0+ MSFT:*_*_*_CC_FLAGS = /Oi- /WX- /D_EDK2_EFI /DACPI_DUMP_APP + GCC:*_*_*_CC_FLAGS = -U__linux__ -U_LINUX -D_EDK2_EFI -DACPI_DUMP_APP -fno-builtin -iwithprefixinclude
Maybe this should be in a separate patch.
I could, but this is actually part of the main build fix. It's been a while since I wrote it, but I think the -U_LINUX was the change that made it possible to build at all, whereas the changes below made the application function properly.
Quoted 11 lines
Quoted 11 lines
Quoted 11 lines
source/include/platform/acefi.h +1
-1@@ -140,7 +140,7 @@#define VOID void -#if defined(__ia64__) || defined(__x86_64__) +#if defined(__aarch64__) || defined(__ia64__) || defined(__x86_64__)
Quoted 9 lines
Quoted 3 lines
source/include/platform/acefi.h line 146
Quoted 3 lines
source/include/platform/acefi.h +0
-0#define ACPI_MACHINE_WIDTH 64TBH, I don't have any idea on how aarch64 EFI wrapper should be. So what we can do is just relying on the community.
So I'm OK with this change.
But it seems this commit should also define__aarch64__inaccygwin.h. Is this a mistake?
That is possibly true, but I don't have a Windows environment available to test in.
Evan, Alexei? Could either of you test this?
Best Regards,
Leif
Quoted 25 lines
Thanks and best regards
LvQuoted 20 lines
It's been over a month since this really very simple patch was submitted. In the meantime, acpidump.efi does not build without it. Any particular reason this has not been merged? Leif isn't the only user that needs it.
Thanks.
--
ciao,
al
-----------------------------------
Al Stone
Software Engineer
Red Hat, Inc.
ahs3(a)redhat.com
-----------------------------------
_______________________________________________
Devel mailing list
Devel(a)acpica.org
https://lists.acpica.org/mailman/listinfo/devel
Zheng
Hi,
Thanks for the contribution.
Quoted 68 lines
From: Leif Lindholm [mailto:leif.lindholm(a)linaro.org]
Subject: Re: [Devel] [PATCH v2] EFI: fix build for AARCH64Hi Lv,
Many thanks for review.
Quoted 50 lines · Lv
Hi, Guys
Thanks for the reminder.
Here goes my opinions.Quoted 45 lines
From: Devel [mailto:devel-bounces(a)acpica.org] On Behalf Of Al Stone
Sent: Friday, January 27, 2017 1:05 AM
Subject: Re: [Devel] [PATCH v2] EFI: fix build for AARCH64Quoted 40 lines · Leif Lindholm
AARCH64 build was left out of initial version, so add to .dsc and set
ACPI_MACHINE_WIDTHcorrectly.Also, acpidump.inf specified explicit per-architecture (but identical) CFLAGS. Rather than duplicating this further, use the same setting for all architectures until there is actually a need to diverge.
Also update README to make it obvious AArch64 is supported.
Signed-off-by Leif Lindholm <leif.lindholm(a)linaro.org>---
v2 contains a fix for a non-functional issue, which could generate warnings when building with CLANG.
generate/efi/AcpiPkg.dsc | 2 +- generate/efi/README | 1 + generate/efi/acpidump/acpidump.inf | 6 ++---- source/include/platform/acefi.h | 2 +- 4 files changed, 5 insertions(+), 6 deletions(-)generate/efi/AcpiPkg.dsc +1
-1@@ -18,7 +18,7 @@ PLATFORM_VERSION = 1.0 DSC_SPECIFICATION = 0x00010005 OUTPUT_DIRECTORY = Build/Acpi - SUPPORTED_ARCHITECTURES = IA32|X64 + SUPPORTED_ARCHITECTURES = AARCH64|IA32|X64 BUILD_TARGETS = DEBUG|RELEASE SKUID_IDENTIFIER = DEFAULTgenerate/efi/README +0
-0@@ -20,6 +20,7 @@ But the porting has only been tested in a Linux environment.Quoted 9 lines
Quoted 5 lines
generate/efi/README But the porting has only been tested in a Linux environment. · line 25
Quoted 5 lines
generate/efi/README +1
-0You can find built EFI binaries (e.x., acpidump.efi) in the following folders: + Build/Acpi/DEBUG_GCC47/AARCH64: aarch64 targets Build/Acpi/DEBUG_GCC47/IA32: i386 targets Build/Acpi/DEBUG_GCC47/X64: x86_64 targetsCould you reorder this list in the README file?
New support should be listed below the old supports.
And I believe EFI is much more widely used on IA32 and X64 platforms.
Quoted 3 lines
That's probably true, I was going for alphabetical order :) If we are sorting by order of most widely used, I would think
x86_64should go first. So please clarify which order you would prefer.
I agreed.
Then this is OK to me and it is really trivial.
Quoted 19 lines
Quoted 14 lines
Quoted 14 lines
generate/efi/acpidump/acpidump.inf line 60
Quoted 13 lines
generate/efi/acpidump/acpidump.inf +0
-3@@ -55,7 +55,5 @@ BaseLib [BuildOptions] - MSFT:*_*_IA32_CC_FLAGS = /Oi- /WX- /D_EDK2_EFI /DACPI_DUMP_APP - MSFT:*_*_X64_CC_FLAGS = /Oi- /WX- /D_EDK2_EFI /DACPI_DUMP_APP - GCC:*_*_IA32_CC_FLAGS = -U__linux__ -U_LINUX -D_EDK2_EFI -DACPI_DUMP_APP -fno-builtin -iwithprefix include
Quoted 4 lines
Quoted 4 lines
generate/efi/acpidump/acpidump.inf line 61
Quoted 1 line
generate/efi/acpidump/acpidump.inf +0
-1- GCC:*_*_X64_CC_FLAGS = -U__linux__ -U_LINUX -D_EDK2_EFI -DACPI_DUMP_APP -fno-builtin -iwithprefix include
Quoted 2 lines
generate/efi/acpidump/acpidump.inf +2
-0+ MSFT:*_*_*_CC_FLAGS = /Oi- /WX- /D_EDK2_EFI /DACPI_DUMP_APP + GCC:*_*_*_CC_FLAGS = -U__linux__ -U_LINUX -D_EDK2_EFI -DACPI_DUMP_APP -fno-builtin -iwithprefix
Quoted 8 lines
Quoted 3 lines
Quoted 1 line
include
Maybe this should be in a separate patch.
I could, but this is actually part of the main build fix. It's been a while since I wrote it, but I think the -U_LINUX was the change that made it possible to build at all, whereas the changes below made the application function properly.
I don't understand here.
Both
- GCC:*_*_X64_CC_FLAGS
- GCC:*_*_IA32_CC_FLAGS
And
+ GCC:*_*_*_CC_FLAGS
Lines contain "-U__linux__ -U_LINUX".
So this change is only a cleanup to convert:
*_*_IA32_XXX/*_*_X64_XXX
Into:
*_*_*_XXX
Which can be done in a separate patch.
And if AARCH64 support is dependent on it, you can rebase AARCH64 support on top of this patch.
It's just an upstream philosophy that one patch should only do one thing and do it perfectly. So that fix can be easily back ported and when regression is triggered, only affection wrong parts are reverted.
Thanks and best regards
Lv
Quoted 56 lines
Quoted 12 lines
Quoted 12 lines
Quoted 12 lines
source/include/platform/acefi.h +1
-1@@ -140,7 +140,7 @@#define VOID void -#if defined(__ia64__) || defined(__x86_64__) +#if defined(__aarch64__) || defined(__ia64__) || defined(__x86_64__)Quoted 9 lines
Quoted 3 lines
source/include/platform/acefi.h line 146
Quoted 3 lines
source/include/platform/acefi.h +0
-0#define ACPI_MACHINE_WIDTH 64TBH, I don't have any idea on how aarch64 EFI wrapper should be. So what we can do is just relying on the community.
So I'm OK with this change.
But it seems this commit should also define__aarch64__inaccygwin.h. Is this a mistake?That is possibly true, but I don't have a Windows environment available to test in.
Evan, Alexei? Could either of you test this?
Best Regards,
Leif
Quoted 25 lines
Thanks and best regards
LvQuoted 20 lines
It's been over a month since this really very simple patch was submitted. In the meantime, acpidump.efi does not build without it. Any particular reason this has not been merged? Leif isn't the only user that needs it.
Thanks.
--
ciao,
al
-----------------------------------
Al Stone
Software Engineer
Red Hat, Inc.
ahs3(a)redhat.com
-----------------------------------
_______________________________________________
Devel mailing list
Devel(a)acpica.org
https://lists.acpica.org/mailman/listinfo/devel