From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mga06.intel.com (mga06.intel.com [134.134.136.31]) by mx.groups.io with SMTP id smtpd.web11.4376.1617863574613824727 for ; Wed, 07 Apr 2021 23:32:54 -0700 Authentication-Results: mx.groups.io; dkim=missing; spf=pass (domain: intel.com, ip: 134.134.136.31, mailfrom: michael.d.kinney@intel.com) IronPort-SDR: 3Io4pFaBf3yz7vIXmjByiEwc96X79gyCASzb3TVqidX2JOLbXqcd4UlYlaTrKB7EWMLNj7jLUS n+jPUApJVsqQ== X-IronPort-AV: E=McAfee;i="6000,8403,9947"; a="254810022" X-IronPort-AV: E=Sophos;i="5.82,205,1613462400"; d="scan'208";a="254810022" Received: from orsmga004.jf.intel.com ([10.7.209.38]) by orsmga104.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 07 Apr 2021 23:32:53 -0700 IronPort-SDR: /W40MICKzjV+JMEol1PIuT6M5thJRnc1A+3oREb57m1AK/xrVakA7XHlA4lAcLZFfVTPEuJblf wBXRX9dKhEKg== X-IronPort-AV: E=Sophos;i="5.82,205,1613462400"; d="scan'208";a="530488465" Received: from mdkinney-mobl2.amr.corp.intel.com ([10.252.133.10]) by orsmga004-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 07 Apr 2021 23:32:48 -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 0/3] Remove fixed CPU architecture list assumptions Date: Wed, 7 Apr 2021 23:32:37 -0700 Message-Id: <20210408063240.877-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 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 (3): MdePkg/Include: Allow CPU specific defines to be predefined CryptoPkg/Library/Include: Allow CPU specific defines to be predefined BaseTools/Source: 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 | 2 ++ MdePkg/Include/Uefi/UefiBaseType.h | 4 +++- MdePkg/Include/Uefi/UefiSpec.h | 4 +++- 8 files changed, 17 insertions(+), 15 deletions(-) -- 2.31.1.windows.1