diff options
author | Michael D Kinney <michael.d.kinney@intel.com> | 2021-02-02 16:52:05 -0800 |
---|---|---|
committer | mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> | 2021-04-15 15:58:44 +0000 |
commit | db2338af0d2746f34c8df18751116af209b202b2 (patch) | |
tree | 1fde0debfc9808866da55142218a7bf9bc57d793 /MdePkg/Library/PeiSmbusLibSmbus2Ppi | |
parent | 7cc8cd7b588964348013a3a01edf38c0182eca10 (diff) | |
download | edk2-db2338af0d2746f34c8df18751116af209b202b2.tar.gz edk2-db2338af0d2746f34c8df18751116af209b202b2.tar.bz2 edk2-db2338af0d2746f34c8df18751116af209b202b2.zip |
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>
Diffstat (limited to 'MdePkg/Library/PeiSmbusLibSmbus2Ppi')
0 files changed, 0 insertions, 0 deletions