From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by mx.groups.io with SMTP id smtpd.web08.8028.1618370887686814136 for ; Tue, 13 Apr 2021 20:28:07 -0700 Authentication-Results: mx.groups.io; dkim=missing; spf=pass (domain: intel.com, ip: 134.134.136.20, mailfrom: michael.d.kinney@intel.com) IronPort-SDR: BqIuzmFNdShCwpm5Jsy1k+59bZ7hiEtocWeJY4QGbradSNRqh4kfJOCV85HcCUfdzhsjZI017u SEIvXixpP/Ow== X-IronPort-AV: E=McAfee;i="6200,9189,9953"; a="181679501" X-IronPort-AV: E=Sophos;i="5.82,221,1613462400"; d="scan'208";a="181679501" Received: from fmsmga008.fm.intel.com ([10.253.24.58]) by orsmga101.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 13 Apr 2021 20:28:06 -0700 IronPort-SDR: lHx9Lsz63eequWxAqSXlZCmyiIIGwEo2mp7lKIuo1UOkBnNp22cuOWdylvjjxh2KY338StDWDo DE+NYwfSdquQ== X-IronPort-AV: E=Sophos;i="5.82,221,1613462400"; d="scan'208";a="418124844" Received: from mdkinney-mobl2.amr.corp.intel.com ([10.255.231.15]) by fmsmga008-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 13 Apr 2021 20:28:05 -0700 From: "Michael D Kinney" To: devel@edk2.groups.io Cc: Jiewen Yao , Jian J Wang , Xiaoyu Lu , Guomin Jiang , Liming Gao , Zhiguang Liu , Bob Feng , Yuwei Chen , Andrew Fish , Abner Chang Subject: [Patch v2 0/4] Remove fixed CPU architecture list assumptions Date: Tue, 13 Apr 2021 20:27:54 -0700 Message-Id: <20210414032758.1818-1-michael.d.kinney@intel.com> X-Mailer: git-send-email 2.31.1.windows.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3308 New in V2 ========= * Support all combinations of EFI_IMAGE_MACHINE_TYPE_SUPPORTED and EFI_IMAGE_MACHINE_CROSS_TYPE_SUPPORTED. Also update the way these macros are supported that is compatible with all toolchains by introducing two new optional #defines called EFI_IMAGE_MACHINE_TYPE_VALUE and EFI_IMAGE_MACHINE_CROSS_TYPE_VALUE * Missing copyright update in CryptoPkg * Split BaseTools patch into 2 patches. One for C code and one for Python. The EDK II Build Specifications do not restrict the set of CPU architectures that can be supported. Remove places in the EDK II that assume a fixed set of CPU architectures. Remove build breaks in the following tools and DEFINES when a check against a fixed set of CPU architectures is made. * Build * GenFds * TargetTool * GenFw * SIXTY_FOUR_BIT and THIRTY_TWO_BIT * EFI_IMAGE_MACHINE_TYPE_SUPPORTED * EFI_IMAGE_MACHINE_CROSS_TYPE_SUPPORTED * EFI_REMOVABLE_MEDIA_FILE_NAME Cc: Jiewen Yao Cc: Jian J Wang Cc: Xiaoyu Lu Cc Cc: Guomin Jiang Cc: Liming Gao Cc: Zhiguang Liu Cc: Bob Feng Cc: Yuwei Chen Cc: Andrew Fish Cc: Abner Chang Signed-off-by: Michael D Kinney Michael D Kinney (4): MdePkg/Include: Allow CPU specific defines to be predefined CryptoPkg/Library/Include: Allow CPU specific defines to be predefined BaseTools/Source/C: Remove CPU architecture assumptions BaseTools/Source/Python: Remove CPU architecture assumptions BaseTools/Source/C/GenFw/Elf32Convert.c | 5 ++--- BaseTools/Source/C/GenFw/Elf64Convert.c | 5 ++--- BaseTools/Source/Python/GenFds/FdfParser.py | 4 +--- BaseTools/Source/Python/TargetTool/TargetTool.py | 4 ++-- BaseTools/Source/Python/build/buildoptions.py | 4 ++-- CryptoPkg/Library/Include/CrtLibSupport.h | 4 +++- MdePkg/Include/Uefi/UefiBaseType.h | 15 ++++++++++++++- MdePkg/Include/Uefi/UefiSpec.h | 4 +++- 8 files changed, 29 insertions(+), 16 deletions(-) -- 2.31.1.windows.1