Elf64 convert solution\r
\r
Copyright (c) 2010 - 2021, Intel Corporation. All rights reserved.<BR>\r
-Portions copyright (c) 2013-2014, ARM Ltd. All rights reserved.<BR>\r
+Portions copyright (c) 2013-2022, ARM Ltd. All rights reserved.<BR>\r
Portions Copyright (c) 2020, Hewlett Packard Enterprise Development LP. All rights reserved.<BR>\r
\r
SPDX-License-Identifier: BSD-2-Clause-Patent\r
}\r
\r
if (mExportFlag) {\r
- if (mEhdr->e_machine != EM_X86_64) {\r
- Error (NULL, 0, 3000, "Unsupported", "--prm option currently only supports X64 arch.");\r
+ if ((mEhdr->e_machine != EM_X86_64) && (mEhdr->e_machine != EM_AARCH64)) {\r
+ Error (NULL, 0, 3000, "Unsupported", "--prm option currently only supports X64 and AArch64 archs.");\r
return FALSE;\r
}\r
}\r