diff options
author | Christopher Zurcher <christopher.zurcher@microsoft.com> | 2021-07-21 06:06:45 +0800 |
---|---|---|
committer | mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> | 2021-07-26 07:30:11 +0000 |
commit | 878a92a887ef4ca879d336f323e91b13cc767a59 (patch) | |
tree | e04ac8f5d3fd104f39c087a924ec522367e0da28 /CryptoPkg/CryptoPkg.ci.yaml | |
parent | 4d28a1c2fdf3673650018cf16f76cfc9796e78af (diff) | |
download | edk2-878a92a887ef4ca879d336f323e91b13cc767a59.tar.gz |
CryptoPkg/OpensslLib: Add native instruction support for X64
BZ: https://bugzilla.tianocore.org/show_bug.cgi?id=2507
Adding OpensslLibX64.inf and modifying process_files.pl to process this
file and generate the necessary assembly files.
Adding OpensslLibX64Gcc.inf to allow building with GCC toolchain.
ApiHooks.c contains a stub function for a Windows API call.
uefi-asm.conf contains the limited assembly configurations for OpenSSL.
Cc: Jiewen Yao <jiewen.yao@intel.com>
Cc: Jian J Wang <jian.j.wang@intel.com>
Cc: Xiaoyu Lu <xiaoyux.lu@intel.com>
Cc: Mike Kinney <michael.d.kinney@intel.com>
Cc: Ard Biesheuvel <ardb@kernel.org>
Signed-off-by: Christopher Zurcher <christopher.zurcher@microsoft.com>
Reviewed-by: Jiewen Yao <Jiewen.yao@intel.com>
Diffstat (limited to 'CryptoPkg/CryptoPkg.ci.yaml')
-rw-r--r-- | CryptoPkg/CryptoPkg.ci.yaml | 21 |
1 files changed, 17 insertions, 4 deletions
diff --git a/CryptoPkg/CryptoPkg.ci.yaml b/CryptoPkg/CryptoPkg.ci.yaml index 5d7c340ae5..1448299073 100644 --- a/CryptoPkg/CryptoPkg.ci.yaml +++ b/CryptoPkg/CryptoPkg.ci.yaml @@ -7,7 +7,11 @@ ##
{
"LicenseCheck": {
- "IgnoreFiles": []
+ "IgnoreFiles": [
+ # These directories contain auto-generated OpenSSL content
+ "Library/OpensslLib/X64",
+ "Library/OpensslLib/X64Gcc"
+ ]
},
"EccCheck": {
## Exception sample looks like below:
@@ -23,8 +27,13 @@ "Test/UnitTest",
# This has OpenSSL interfaces that aren't UEFI spec compliant
"Library/BaseCryptLib/SysCall/UnitTestHostCrtWrapper.c",
- # this has OpenSSL interfaces that aren't UEFI spec compliant
- "Library/OpensslLib/rand_pool.c"
+ # This has OpenSSL interfaces that aren't UEFI spec compliant
+ "Library/OpensslLib/rand_pool.c",
+ # This has OpenSSL interfaces that aren't UEFI spec compliant
+ "Library/Include/CrtLibSupport.h",
+ # These directories contain auto-generated OpenSSL content
+ "Library/OpensslLib/X64",
+ "Library/OpensslLib/X64Gcc"
]
},
"CompilerPlugin": {
@@ -51,7 +60,11 @@ },
"DscCompleteCheck": {
"DscPath": "CryptoPkg.dsc",
- "IgnoreInf": []
+ "IgnoreInf": [
+ # These are alternatives to OpensslLib.inf
+ "CryptoPkg/Library/OpensslLib/OpensslLibX64.inf",
+ "CryptoPkg/Library/OpensslLib/OpensslLibX64Gcc.inf"
+ ]
},
"GuidCheck": {
"IgnoreGuidName": [],
|