audk/MdePkg/Include
Michael D Kinney db2338af0d MdePkg/Include: Allow CPU specific defines to be predefined
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 assumes a fixed set of CPU architectures.

Update EFI_REMOVABLE_MEDIA_FILE_NAME to allow it to be
predefined in tools_def.txt or a DSC file [BuildOptions]
section using a *_*_*_CC_FLAGS statement.

Add support for the following two defines.  If neither are
defines, then preserve the current behavior.  If either is
defined, then compare these 16-bit values to Machine in the
EFI_IMAGE_MACHINE_TYPE_SUPPORTED(Machine) and
EFI_IMAGE_MACHINE_CROSS_TYPE_SUPPORTED(Machine) macros.

* EFI_IMAGE_MACHINE_TYPE_VALUE
* EFI_IMAGE_MACHINE_CROSS_TYPE_VALUE

Cc: Liming Gao <gaoliming@byosoft.com.cn>
Cc: Zhiguang Liu <zhiguang.liu@intel.com>
Cc: Andrew Fish <afish@apple.com>
Cc: Abner Chang <abner.chang@hpe.com>
Signed-off-by: Michael D Kinney <michael.d.kinney@intel.com>
Reviewed-by: Abner Chang <abner.chang@hpe.com>
Reviewed-by: Liming Gao <gaoliming@byosoft.com.cn>
2021-04-15 15:58:44 +00:00
..
AArch64 MdePkg: Replace BSD License with BSD+Patent License 2019-04-09 10:58:13 -07:00
Arm MdePkg: Replace BSD License with BSD+Patent License 2019-04-09 10:58:13 -07:00
Ebc MdePkg: Replace BSD License with BSD+Patent License 2019-04-09 10:58:13 -07:00
Guid MdePkg/SystemResourceTable.h: Add vendor range values 2020-10-28 06:05:52 +00:00
Ia32 MdePkg/Nasm.inc: add macros for C types used in structure definition 2021-03-08 02:22:37 +00:00
IndustryStandard MdePkg: Update IndustryStandard/SmBios.h with processor status data 2021-02-08 19:35:23 +00:00
Library MdePkg/BaseLib: Add support for the XSETBV instruction 2021-04-06 00:43:49 +00:00
Pi MdePkg: Updates to PI 1.7 Revision numbers 2020-05-15 08:06:09 +00:00
Ppi MdePkg: Added header file for Delayed Dispatch PPI 2020-05-15 08:06:09 +00:00
Protocol RedfishPkg/RestJsonStructureDxe: Fix typo in function header 2021-04-15 07:33:32 +00:00
Register MdePkg/Cpuid.h: Change and add some macro definitions. 2021-01-26 04:14:10 +00:00
RiscV64 MdePkg: Add RISC-V RISCV64 binding 2020-05-07 03:17:15 +00:00
Uefi MdePkg/Include: Allow CPU specific defines to be predefined 2021-04-15 15:58:44 +00:00
X64 MdePkg/Nasm.inc: add macros for C types used in structure definition 2021-03-08 02:22:37 +00:00
Base.h MdePkg Base.h: Delete prototype for __builtin_return_address 2020-07-28 00:28:14 +00:00
PiDxe.h MdePkg: Replace BSD License with BSD+Patent License 2019-04-09 10:58:13 -07:00
PiMm.h MdePkg: Replace BSD License with BSD+Patent License 2019-04-09 10:58:13 -07:00
PiPei.h MdePkg: Replace BSD License with BSD+Patent License 2019-04-09 10:58:13 -07:00
PiSmm.h MdePkg: Replace BSD License with BSD+Patent License 2019-04-09 10:58:13 -07:00
Uefi.h MdePkg: Replace BSD License with BSD+Patent License 2019-04-09 10:58:13 -07:00