Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix TlsMbedtlsLib #460

Open
wants to merge 319 commits into
base: OpenSSL11_EOL
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
319 commits
Select commit Hold shift + click to select a range
f5137e1
OvmfPkg: Replace the OVMF-specific SataControllerDxe
heatd Jun 1, 2023
bc59ede
OvmfPkg/Microvm: Replace the OVMF-specific SataControllerDxe
heatd Jun 1, 2023
d85b84e
OvmfPkg/Bhyve: Replace the OVMF-specific SataControllerDxe
heatd Jun 1, 2023
b26359c
OvmfPkg/CloudHv: Replace the OVMF-specific SataControllerDxe
heatd Jun 1, 2023
069d403
OvmfPkg/IntelTdx: Replace the OVMF-specific SataControllerDxe
heatd Jun 1, 2023
07c7e68
OvmfPkg/AmdSev: Replace the OVMF-specific SataControllerDxe
heatd Jun 1, 2023
77fee3a
OvmfPkg/Xen: Replace the OVMF-specific SataControllerDxe
heatd Jun 1, 2023
41abf00
OvmfPkg: Remove SataControllerDxe
heatd Jun 1, 2023
7826289
ShellPkg: Add a condition to print accurate type0 Bios Size in smbios…
thejaputta Apr 21, 2023
a8acc12
ShellPkgDisconnect: zero-initialize handles
kraxel Apr 26, 2023
0364ccf
ArmPkg: Enable AuditMode for Uncrustify CI checks
ardbiesheuvel Jun 2, 2023
4354c22
ArmPkg: add SMC defines for SiP service calls
hrw Jun 1, 2023
8fbf857
OvmfPkg/RiscVVirt: Remove unimplemented NxForStack configuration
ardbiesheuvel May 25, 2023
c1dd400
OvmfPkg: Create additional PML1 entries for large SEV-SNP VMs
Jan 26, 2023
f211292
OvmfPkg/Xen: export search of RSDP into a library function
ckoehne Jun 6, 2023
1288c54
OvmfPkg/Xen: export AcpiTable installation into AcpiPlatformLib
ckoehne Jun 6, 2023
4bd0849
OvmfPkg/Bhyve: install ACPI tables from memory
ckoehne Jun 6, 2023
cdd2063
CharEncodingCheckPlugin: Remove Noisy Print
Jun 2, 2023
d189de3
MdePkg ACPI65: Update MADT Revision pre ACPI Spec 6.5
aryehche Jun 6, 2023
ded0b48
MdePkg/BaseLib: Add SpeculationBarrier implementation for RiscV64
yli147 Apr 20, 2023
67fc78d
MdeModulePkg/Bus: Fix port multiplier port in AhciPei PEIM
Jun 2, 2023
c082da8
RedfishPkg: update Readme.md
nicklela Jun 5, 2023
aa3ea84
Maintainers.txt: Remove reviewer for StandaloneMmPkg
samimujawar Jun 7, 2023
8d238f1
Maintainers.txt: Update maintainers for StandaloneMmPkg
niruiyu Jun 7, 2023
69abcf1
UefiPayloadPkg: Enhance build script for BuildEntryOnly
gguo11837463 Jun 7, 2023
8314a85
ShellPkg/SmbiosView: type 45 and type 46 support.
wangsim May 4, 2023
530f5b0
UnitTestFrameworkPkg: Add UnitTestPeiServicesTablePointerLib
LiuZhiguang001 May 26, 2023
e5b515f
Maintainers.txt: Remove UEFI Shell Binaries section
niruiyu Jun 7, 2023
6250124
Maintainers.txt: Remove me from maintainers of UefiPayloadPkg,ShellPkg
niruiyu Jun 7, 2023
51bb8eb
UefiPayloadPkg: Add CAPSULE_SUPPORT in UPL and set it as FALSE in def…
MarsX-Lin Jun 12, 2023
aad98d9
UefiPayloadPkg: Fix incorrect code on AddSectionHeader
IntelBrucexWang Jun 14, 2023
4dba2a9
UefiCpuPkg: CpuTimerDxeRiscV64: Fix incorrect value sent to SbiSetTimer
tphan-ventana Jun 7, 2023
ea55bd8
UefiCpuPkg: RISC-V: TimerLib: Fix delay function to use 64-bit
tphan-ventana Jun 7, 2023
4a0642a
Maintainers.txt: update maintainer for CryptoPkg
Jun 16, 2023
0da3df7
UefiCpuPkg/CpuSmm: Add perf-logging for time-consuming BSP procedures
niruiyu May 26, 2023
ad6c854
UefiCpuPkg/CpuSmm: Add perf-logging for MP procedures
niruiyu May 26, 2023
e4ff852
MdeModulePkg/SmmCore: Add perf-logging for time-consuming procedures
niruiyu May 26, 2023
0c136bb
MdeModulePkg/SmmCore: Add perf-logging for SmmDriverDispatchHandler
niruiyu May 31, 2023
92759ee
MdeModulePkg/SmmPerformanceLib: Disable perf-logging after ExitBS
niruiyu May 31, 2023
2d3974a
MdeModulePkg/SmmCorePerformanceLib: Disable perf-logging at runtime
niruiyu May 31, 2023
a87f5fd
UefiCpuPkg/SmmCpu: Add PcdSmmApPerfLogEnable control AP perf-logging
niruiyu Jun 7, 2023
56f65e4
MdeModulePkg/SmmCore: Perf-log PlatformHookBefore/AfterSmmDispatch
niruiyu Jun 19, 2023
fcd7164
MdePkg: Code optimization to SMM InternalAllocateAlignedPages
td36 May 18, 2023
f6c4b0a
OvmfPkg/RiscVVirt: Fix couple of issues in VarStore
vlsunil Apr 18, 2023
420cd54
OvmfPkg/RiscVVirt: Add VirtNorFlashDeviceTreeLib library
vlsunil Jun 14, 2023
37423fa
OvmfPkg/RiscVVirt: Add support for separate code and variable store
vlsunil Apr 18, 2023
49f06b6
OvmfPkg/RiscVVirt: Add a readme for build and test
vlsunil Jun 14, 2023
e7667b7
MdePkg: PiStatusCode: Add new Host Software class Error Code to MdePkg
kuqin12 May 31, 2023
7c703f0
MdePkg: PiStatusCode: Add TPM subclass definition to MdePkg
kuqin12 Jun 27, 2022
6ee981c
SecurityPkg: SubClassTpm: Updated default value
kuqin12 Jun 27, 2022
8f63f41
OvmfPkg/Library: fix definition of GetAcpiRsdpFromMemory
ckoehne Jun 21, 2023
f5d8516
OvmfPkg: avoid including AcpiPlatformLib twice
ckoehne Jun 21, 2023
ea88df6
OvmfPkg: move PciEncoding into AcpiPlatformLib
ckoehne Jun 21, 2023
0f612c1
OvmfPkg: move BootScript into AcpiPlatformLib
ckoehne Jun 21, 2023
5a118a6
OvmfPkg: move QemuFwCfgAcpi into AcpiPlatformLib
ckoehne Jun 21, 2023
c301291
OvmfPkg/Bhyve: install Acpi tables provided by FwCfg
ckoehne Jun 21, 2023
5779671
OvmfPkg/Bhyve: include TPM driver
ckoehne Jun 19, 2023
ac33eee
IntelFsp2WrapperPkg: Get HobListPtr before calling the Multiphase FSPS
kurugodx Jun 12, 2023
9eb8f2c
MdeModulePkg: Define memory attribute PPI
ardbiesheuvel Jun 2, 2023
dfacaab
MdeModulePkg/DxeIpl: Merge EBC, RISCV64 and LOONGARCH code
ardbiesheuvel Jun 2, 2023
9df2c0a
MdeModulePkg/DxeIpl: Use memory attribute PPI to remap the stack NX
ardbiesheuvel Jun 2, 2023
8f5ad63
ArmPkg/ArmMmuLib: Extend API to manage memory permissions better
ardbiesheuvel Jun 2, 2023
4249829
ArmPkg/CpuPei: Implement the memory attributes PPI
ardbiesheuvel Jun 2, 2023
a21a994
MdeModulePkg/DxeIpl ARM AARCH64: Switch to generic handoff code
ardbiesheuvel Jun 2, 2023
5542e52
ArmPkg/CpuDxe: Simplify memory attributes protocol implementation
ardbiesheuvel Jun 2, 2023
638dfb4
OvmfPkg/PciHotPlugInitDxe: fix io window size
kraxel Jun 26, 2023
81cb037
CI: Use latest image for Linux jobs (Qemu 8, gcc 12)
osteffenrh Jun 1, 2023
ab85db3
UefiCpuPkg: Include ResetVector in DSC
niruiyu Jun 15, 2023
8ef7e22
UefiCpuPkg/ResetVector: Add guidance of FDF ffs rule
niruiyu Jun 15, 2023
28eb51d
UefiCpuPkg/ResetVector: Remove pre-built binaries
niruiyu Jun 15, 2023
7054f1a
StandaloneMmPkg: Include correct MmuLib header
ardbiesheuvel Jun 25, 2023
8a1f540
ArmPkg: Drop individual memory permission helpers
ardbiesheuvel Jun 25, 2023
2f8b51d
ArmPkg/OpteeLib: Map shared communication buffer non-executable
ardbiesheuvel Jun 26, 2023
ea7a301
OvmfPkg/VirtioSerialDxe: Remove noisy debug print on supported() call
ardbiesheuvel Jun 27, 2023
1a39bdf
BaseTools/tools_def: Add "-fno-unwind-tables" to GCC5_RISCV64_CC_FLAGS
vlsunil Jun 2, 2023
44a3d93
Maintainers.txt: Update NetworkPkg maintainers and reviewers
SaloniKasbekar Jun 14, 2023
4416bf3
NetworkPkg: Correct the length of EAP Identity when in ASCII format
Jun 26, 2023
01ac3d8
ArmPkg: MmCommunicationPei: Introduce MM communicate in PEI
kuqin12 Jun 27, 2023
6607062
MdeModulePkg: Variable: Introduce MM based variable read service in PEI
kuqin12 Jun 27, 2023
a78938f
OvmfPkg:Remove code that apply AddressEncMask to non-leaf entry
td36 Apr 18, 2023
8c99839
MdeModulePkg: Remove other attribute protection in UnsetGuardPage
td36 May 16, 2023
2d21208
UefiCpuPkg: Use CpuPageTableLib to convert SMM paging attribute.
td36 Jun 7, 2023
6585ced
UefiCpuPkg: Add DEBUG_CODE for special case when clear RP
td36 Jun 7, 2023
f519672
UefiCpuPkg/PiSmmCpuDxeSmm: Avoid setting non-present range to RO/NX
td36 Apr 7, 2023
7b6e7d0
UefiCpuPkg/PiSmmCpuDxeSmm: Add 2 function to disable/enable CR0.WP
td36 Apr 20, 2023
ef64ae0
UefiCpuPkg/PiSmmCpuDxeSmm: Clear CR0.WP before modify page table
td36 Apr 20, 2023
d706d9c
UefiCpuPkg: Extern mSmmShadowStackSize in PiSmmCpuDxeSmm.h
td36 Apr 10, 2023
701b579
UefiCpuPkg: Add GenSmmPageTable() to create smm page table
td36 May 15, 2023
b4dde1a
UefiCpuPkg: Use GenSmmPageTable() to create Smm S3 page table
td36 May 15, 2023
7132df9
UefiCpuPkg: Sort mSmmCpuSmramRanges in FindSmramInfo
td36 May 15, 2023
b4394cc
UefiCpuPkg: Sort mProtectionMemRange when ReadyToLock
td36 May 15, 2023
4ceefd6
UefiCpuPkg: Refinement to smm runtime InitPaging() code
td36 May 15, 2023
f5c987f
UefiCpuPkg/PiSmmCpuDxeSmm: Remove unnecessary function
td36 Apr 7, 2023
5a13f5c
RedfishPkg: Fix SortLib library class name typo.
ghbaccount Jun 20, 2023
ad7d3ac
UefiCpuPkg: CpuTimerDxeRiscV64: Fix timer event not working correctly
tphan-ventana Jun 28, 2023
8d34c7a
MdePkg: Adds AMD SMRAM save state map
abdattar Nov 20, 2022
4f3ddc6
UefiCpuPkg: Adds MmSaveStateLib library class
abdattar Jan 2, 2023
775b337
UefiCpuPkg: Implements MmSaveStateLib library instance
Jan 10, 2023
11dae72
UefiCpuPkg/SmmCpuFeaturesLib: Restructure arch-dependent code
Dec 1, 2022
867851d
UefiCpuPkg: Implements SmmCpuFeaturesLib for AMD Family
Dec 1, 2022
065fa2d
UefiCpuPkg: Implements MmSaveStateLib for Intel
abdattar Apr 6, 2023
fbb6f18
UefiCpuPkg: Removes SmmCpuFeaturesReadSaveStateRegister
abdattar Apr 7, 2023
f2188fe
OvmfPkg: Uses MmSaveStateLib library
Apr 10, 2023
cdbdd12
ArmPkg: Apply Uncrustify to Non-Compliant Files
TaylorBeebe Jun 29, 2023
1b25a70
ArmPkg: Update GetMemoryRegion() to Handle No mapping
TaylorBeebe Jun 29, 2023
3b74b03
ArmPkg: Fix Unsafe ASSERTs in MMU Logic
TaylorBeebe Jun 29, 2023
6c74446
ArmPkg: Add Function Headers to MMU Logic
TaylorBeebe Jun 29, 2023
1fadd18
UefiCpuPkg: Get processor extended information for SmmCpuServiceProtocol
hongbin123 May 29, 2023
af8859b
OvmfPkg/PlatformCI: Skip GCC5_OVMF_IA32X64_FULL_NOOPT build
liyi77 Jun 20, 2023
98ab6e8
RedfishPkg/RedfishRestExDxe: fix CPU exception in RedfishRestExDxe
nicklela Jul 3, 2023
b164b6d
RedfishPkg/RedfishPlatformConfigDxe: hide debug message
nicklela Jul 3, 2023
6047516
RedfishPkg/JsonLib: add object clear interface
nicklela Jul 3, 2023
96d6911
RedfishPkg/RedfishDebugLib: add new interfaces
nicklela Jul 4, 2023
63923a5
MdeModulePkg/Variable: TcgMorLockSmm Key Mismatch changes lock state
aabhi64 Apr 12, 2023
88f4368
UefiCpuPkg: Refactor the logic for placing APs in HltLoop.
xieyuanh Jun 28, 2023
243212b
UefiCpuPkg: Refactor the logic for placing APs in Mwait/Runloop.
xieyuanh Jun 28, 2023
8bb018a
UefiCpuPkg: Create MpHandOff.
xieyuanh Jun 28, 2023
629c1da
UefiCpuPkg: ApWakeupFunction directly use CpuMpData.
xieyuanh Jun 28, 2023
964a4f0
UefiCpuPkg: Eliminate the second INIT-SIPI-SIPI sequence.
xieyuanh Jun 28, 2023
8dab4ee
UefiPayloadPkg: Integrate UiApp and BootManagerMenuApp into MultiFv
MarsX-Lin Jul 10, 2023
fc0d592
MdeModulePkg/Bus/Usb/UsbNetwork/UsbRndis: Add USB RNDIS devices support
RichardHoAmi Jul 13, 2023
5e400d2
MdeModulePkg/Bus/Usb/UsbNetwork/UsbCdcEcm: Add USB Cdc ECM devices su…
RichardHoAmi Jul 13, 2023
ff3382a
MdeModulePkg/Bus/Usb/UsbNetwork/UsbCdcNcm: Add USB Cdc NCM devices su…
RichardHoAmi Jul 13, 2023
e674096
OvmfPkg/ResetVector: Fix assembler bit test flag check
tlendacky Jul 14, 2023
7178047
MdePkg/BaseLib: RISC-V: Support getting satp register value
tphan-ventana Jul 14, 2023
fbec9ae
MdePkg/Register: RISC-V: Add satp mode bits shift definition
tphan-ventana Jul 14, 2023
a9fc9bb
OvmfPkg/RiscVVirt: VirtNorFlashPlatformLib: Fix wrong flash size
tphan-ventana Jul 14, 2023
a8a72fc
OvmfPkg/RiscVVirt: SEC: Add IO memory resource hob for platform devices
tphan-ventana Jul 14, 2023
33d0a3c
OvmfPkg/RiscVVirt: Add VirtNorFlashDxe to APRIORI list
tphan-ventana Jul 14, 2023
cc13dcc
OvmfPkg: RiscVVirt: Remove satp bare mode setting
tphan-ventana Jul 14, 2023
f220dcb
UefiCpuPkg: RISC-V: Support MMU with SV39/48/57 mode
tphan-ventana Jul 14, 2023
dd49d44
MdeModulePkg/Bus/Pci/EhciDxe: Fix FORWARD_NULL Coverity issues
Jul 3, 2023
3399f64
RedfishPkg/RedfishRestExDxe: reset session when TCP timeout happens
nicklela Jul 13, 2023
39ded59
OvmfPkg/PeilessStartupLib: Updated with PcdSecureBootSupported
sunceping Jul 10, 2023
4d10140
UefiCpuPkg: Uses gMmst in MmSaveStateLib
Jul 12, 2023
08aacbf
OvmfPkg/CloudHv: update Maintainers.txt entry
jongwu Jul 9, 2023
a52044a
OvmfPkg/IoMmuDxe: add locking to IoMmuAllocateBounceBuffer
kraxel Jul 19, 2023
6510dcf
NetworkPkg/HttpDxe: fix driver binding start issue.
Feb 10, 2023
b2de9ec
CryptoPkg/OpensslLib: Upgrade OpenSSL to 1.1.1u
swei22 Jul 18, 2023
c6b5129
UnitTestFrameworkPkg: UnitTestPersistenceLib: Save Unit Test Cache Op…
kuqin12 Mar 17, 2023
7427dd3
OvmfPkg/RiscVVirt: Check "no-map" and mark EfiReservedMemoryType
vlsunil Jul 17, 2023
925c445
OvmfPkg/RiscVVirt: Avoid printing hard coded timeout value
vlsunil Jul 17, 2023
5309ddc
EmulatorPkg/Win/Host: Fix RUNTIME_FUNCTION redefinition error
mdkinney Jul 21, 2023
dcf05f9
MdePkg/Include/IndustryStandard: Remove VS20xx workaround
mdkinney Jul 21, 2023
25a6745
RedfishPkg/RedfishDiscoverDxe: fix netmask check issue
nicklela Jul 24, 2023
c7a7f09
UefiCpuPkg: Decouple the SEV-ES functionality.
xieyuanh Jul 26, 2023
1c923b9
Revert "OvmfPkg/Bhyve: consume PciHostBridgeLibScan"
ckoehne Jul 11, 2023
f284981
Revert "OvmfPkg/Bhyve: remove IncompatiblePciDeviceSupport DXE driver"
ckoehne Jul 11, 2023
70f3e62
OvmfPkg/BhyvePkg: enable bus enumeration
ckoehne Jul 11, 2023
8543840
OvmfPkg/RiscVVirt: use 'auto' alignment and FIXED for XIP modules
vlsunil Jul 11, 2023
0f9fd06
OvmfPkg/RiscVVirt: SecEntry: Remove unnecessary assembly directives
vlsunil Jul 11, 2023
3f49462
BaseTools/tools_def: Add CLANGDWARF support for RISC-V
vlsunil Jul 11, 2023
677f2c6
OvmfPkg/RiscVVirt: Update README for CLANGDWARF support
vlsunil Jul 11, 2023
c7c1170
MdeModulePkg/Bus/Ata/AtaAtapiPassThru: Fix SIGN_EXTENSION Coverity issue
Jul 17, 2023
d11968f
MdeModulePkg/Bus/Ata/AtaAtapiPassThru: Fix UNUSED_VALUE Coverity issue
Jul 17, 2023
5cadb8c
BaseTools: BinToPcd: Resolve xdrlib deprecation
Javagedes Jun 27, 2023
fa789cc
BaseTools: scan Edk2ToolsBuild.py make output
Javagedes Jun 21, 2023
7672d1c
MdeModulePkg/SetupBrowser: Load storage via GetVariable for EfiVarStore
dandanbi Jul 25, 2023
ef05145
ArmPkg: DefaultExceptionHandlerLib: Do Not Allocate Memory
Aug 2, 2023
01ad413
MdeModulePkg: Solve boot hang Xhci driver when use USB DVD with empty…
Aug 3, 2023
744c42b
OvmfPkg/PlatformCI: Use recent Qemu on Windows
osteffenrh Aug 3, 2023
bae848e
OvmfPkg/PlatformCI VS2019: Disable workaround for cpuhp bugfix
osteffenrh Aug 3, 2023
2d8c17a
OvmfPkg/PlatformCI: Boot OVMF in SMP mode.
kraxel Aug 3, 2023
107ddf1
MdePkg: Add missing status codes
nate-desimone Jul 28, 2023
3c274c0
MdePkg: Add new status codes to PrintLib
nate-desimone Jul 28, 2023
136931c
MedPkg/Include: Add PCI_EXPRESS_EXTENDED_CAPABILITY_DVSEC_ID
jiaxinno-dev Aug 3, 2023
9d6d237
CryptoPkg/openssl: update submodule to openssl-3.0.9
kraxel Aug 3, 2023
49a113a
CryptoPkg/openssl: cleanup all openssl1.1.1 generated files and code
liyi77 Aug 3, 2023
7cede6d
CryptoPkg/openssl: update Openssl*.inf files for openssl 3.0
kraxel Aug 3, 2023
81f5aa0
CryptoPkg/openssl: add openssl3 configure scripts
kraxel Aug 3, 2023
ac492c3
CryptoPkg/openssl: UefiAsm.conf update for openssl 3.0
kraxel Aug 3, 2023
84158d0
CryptoPkg/BaseCryptLib: no openssl deprecation warnings please
kraxel Aug 3, 2023
63c8d16
CryptoPkg/BaseCryptLib: adapt CryptSm3.c to openssl 3.0 changes.
kraxel Aug 3, 2023
2a6dc12
CryptoPkg/BaseCryptLib: drop BIO_* dummy functions
kraxel Aug 3, 2023
eac38f7
CryptoPkg/TlsLib: ERR_GET_FUNC is gone
kraxel Aug 3, 2023
c638d1f
CryptoPkg/openssl: adapt rand_pool.c to openssl 3.0 changes
kraxel Aug 3, 2023
3af00ae
CryptoPkg/openssl: move compiler_flags to buildinf.c
kraxel Aug 3, 2023
174a306
CryptoPkg/openssl: store dummy update for openssl 3.0
kraxel Aug 3, 2023
5e1900f
CryptoPkg/openssl: adapt EcSm2Null.c for openssl 3.0
kraxel Aug 3, 2023
9b9b331
CryptoPkg: Move all UEFI implement of openssl to OpensslStub
liyi77 Aug 3, 2023
ea7a37d
CryptoPkg: use UEFI provider as default
liyi77 Aug 3, 2023
cea8e3b
CryptoPkg: adapt 3.0 change in SslNull.c
liyi77 Aug 3, 2023
bf1ff73
CryptoPkg: Add instrinsics to support building openssl3 on IA32 windows
liyi77 Aug 3, 2023
20193b2
CryptoPkg: disable C4133 warning in openssl libraries
liyi77 Aug 3, 2023
bdf3142
CryptoPkg/TlsLib: use unsigned long for ErrorCode
kraxel Aug 3, 2023
f0d3e59
CryptoPkg: Align with 4096 when build with OpensslFullAccel
liyi77 Aug 3, 2023
43e0ede
CryptoPkg: Enable memcpy sys call in RISCV64 build
liyi77 Aug 3, 2023
4b5faa5
CryptoPkg: add missing gcc instructions
liyi77 Aug 3, 2023
b2ff8e4
CryptoPkg: add define of maximum unsigned size_t
liyi77 Aug 3, 2023
2bead79
CryptoPkg: add implemention of _ftol2_sse() to avoid build error
liyi77 Aug 3, 2023
dfa6147
CryptoPkg: add more dummy implement of openssl for size optimization
liyi77 Aug 3, 2023
c0aeb92
CryptoPkg: run configure.py to update all generated files
liyi77 Aug 3, 2023
46226fb
CryptoPkg: remove strcmp to syscall
liyi77 Aug 3, 2023
e91bfff
CryptoPkg/openssl: update CI config for openssl 3.0
kraxel Aug 3, 2023
991515a
CryptoPkg: remove BN and EC accel for size optimization
liyi77 Aug 3, 2023
055c7bd
UefiCpuPkg: Add SendStartupIpiAllExcludingSelf
xieyuanh Mar 27, 2023
98e9d29
UefiCpuPkg: Add PcdFirstTimeWakeUpAPsBySipi
xieyuanh Jul 18, 2023
1d76560
OvmfPkg: Disable PcdFirstTimeWakeUpAPsBySipi.
xieyuanh Jul 18, 2023
eaffa1d
UefiCpuPkg:Wake up APs after power-up or RESET through SIPI.
xieyuanh Jul 18, 2023
32531ef
CryptoPkg: Size optimization: trim objects structure
liyi77 Aug 15, 2023
adc1c9e
CryptoPkg: Size optimization: Enable openssl legacy code path
liyi77 May 30, 2023
ec9e95a
CryptoPkg: Size optimization: remove INTEL unused feature
liyi77 Jun 14, 2023
872df82
CryptoPkg: Size optimization: Disable AUTOALGINIT for non-tls build
liyi77 Aug 2, 2023
6cf31e9
CryptoPkg: Size optimization: add Accel library without TLS
liyi77 Aug 15, 2023
81f3578
CryptoPkg: Add readme for OpenSSL30 optimization
liyi77 Aug 17, 2023
71bb668
Add mbedtls submodule for EDKII
Wenxing-hou Aug 9, 2023
f3b36c5
Check mbedtls to version 3.3.0
Wenxing-hou Aug 9, 2023
d4fc61b
Add mbedtls_config and MbedTlsLib.inf to support MbedTlsLib
Wenxing-hou Aug 9, 2023
2d4dad7
Add Bignumber functions based on Mbedtls
Wenxing-hou Aug 16, 2023
423fb0f
Add Cipher functions based on Mbedtls
Wenxing-hou Aug 16, 2023
a968e78
Add MD5/SHA1/SHA2 functions based on Mbedtls
Wenxing-hou Aug 16, 2023
8ef929e
Add HMAC functions based on Mbedtls
Wenxing-hou Aug 16, 2023
92e0137
Add HKDF functions based on Mbedtls
Wenxing-hou Aug 16, 2023
0cba476
Add PEM functions based on Mbedtls
Wenxing-hou Aug 16, 2023
a52e111
Add DH functions based on Mbedtls
Wenxing-hou Aug 16, 2023
68a0afd
Add EC functions based on Mbedtls
Wenxing-hou Aug 16, 2023
f9d3fab
Add RSA functions based on Mbedtls
Wenxing-hou Aug 16, 2023
5358c0e
Add PKCS1 functions based on Mbedtls
Wenxing-hou Aug 16, 2023
ecb7970
Add PKCS5 functions based on Mbedtls
Wenxing-hou Aug 16, 2023
3024e8b
Add X509 functions based on Mbedtls
Wenxing-hou Aug 16, 2023
6bf9694
Add PKCS7 null functions based on Mbedtls to pass build
Wenxing-hou Aug 16, 2023
b825a9b
Add Rand functions based on Mbedtls
Wenxing-hou Aug 16, 2023
21f471e
Add SysCall for BaseCryptLibMbedTls
Wenxing-hou Aug 16, 2023
755c4d6
Add all the inf files for BaseCryptLibMbedTls
Wenxing-hou Aug 16, 2023
1e7e153
Add CryptoPkgMbedTls.dsc for CryptoPkgMbedTls
Wenxing-hou Aug 16, 2023
2ff52a7
Add CryptoPkgMbedHostUnitTest.dsc for UnitTest
Wenxing-hou Aug 16, 2023
e5d7a5b
Add PKCS7 all functions(WIP) based on Mbedtls
Wenxing-hou Aug 16, 2023
7f57b77
Add TlsLibMbedtls(WIP) based on Mbedtls
Wenxing-hou Aug 16, 2023
292af06
Add dummy API for Openssl raw API
Wenxing-hou Aug 16, 2023
4b3cd52
Add ReadmeMbedtls.md
Wenxing-hou Aug 17, 2023
9f843a2
Add SHA3/SM3 functions with openssl for Mbedtls
Wenxing-hou Aug 17, 2023
d88d0de
Update RSA based on Mbedtls
Wenxing-hou Aug 17, 2023
46ce37f
Fix type error for GCC build
Wenxing-hou Aug 17, 2023
c6fe53c
Fix Bignumber: Add more check for input parameters
Wenxing-hou Aug 22, 2023
8daf258
Readme: update status of auto init
liyi77 Aug 31, 2023
8447433
CryptoPkg: Fix EC fuzz
Wenxing-hou Sep 5, 2023
940dd51
CryptoPkg: Make the use of BnCtx in mbedtls clear
Wenxing-hou Sep 11, 2023
e3f4cc0
CryptoPkg: Enable MBEDTLS_AESNI_C
Wenxing-hou Nov 21, 2023
73d1bb6
CryptoPkg: Make SHA faster
Wenxing-hou Nov 29, 2023
3f1bf45
CryptoPkg: Fix MbedtlsPkcs7SignedDataVerifySigners
Wenxing-hou Nov 29, 2023
f6cacbb
CryptoPkg: Fix TlsLibMbedtls IO operations
Wenxing-hou Jan 3, 2024
497a2be
CryptoPkg: Fix TlsLibMbedtls wrong TlsInHandshake return
Wenxing-hou Jan 3, 2024
03630dc
CryptoPkg: TlsSetVersion Support old version
Wenxing-hou Jan 3, 2024
0033a71
CryptoPkg: Fix TlsSetCipherList
Wenxing-hou Jan 3, 2024
70a7f41
CryptoPkg: Add TlsGetHostPublicCert
Wenxing-hou Jan 3, 2024
3406c3c
CryptoPkg: Make TlsSetCompressionMethod return EFI_SUCCESS
Wenxing-hou Jan 3, 2024
87a00ca
CryptoPkg: Fix TlsSetEcCurve
Wenxing-hou Jan 3, 2024
ff03a5f
CryptoPkg: Fix TlsSetHostPublicCert
Wenxing-hou Jan 3, 2024
a603120
CryptoPkg: Fix TlsSetCaCertificate
Wenxing-hou Jan 3, 2024
acd1cdb
CryptoPkg: Add Pem support for TlsSetHostPrivateKeyEx
Wenxing-hou Jan 3, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
2 changes: 1 addition & 1 deletion .azurepipelines/templates/defaults.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,4 @@

variables:
default_python_version: ">=3.10.6"
default_linux_image: "ghcr.io/tianocore/containers/fedora-37-test:3b3eb8f"
default_linux_image: "ghcr.io/tianocore/containers/fedora-37-test:a0dd931"
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -32,3 +32,6 @@
[submodule "MdePkg/Library/MipiSysTLib/mipisyst"]
path = MdePkg/Library/MipiSysTLib/mipisyst
url = https://github.com/MIPI-Alliance/public-mipi-sys-t.git
[submodule "CryptoPkg/Library/MbedTlsLib/mbedtls"]
path = CryptoPkg/Library/MbedTlsLib/mbedtls
url = https://github.com/ARMmbed/mbedtls
4 changes: 1 addition & 3 deletions .pytool/Plugin/CharEncodingCheck/CharEncodingCheck.py
Original file line number Diff line number Diff line change
Expand Up @@ -93,9 +93,7 @@ def RunBuildPlugin(self, packagename, Edk2pathObj, pkgconfig, environment, PLM,
files = [Edk2pathObj.GetAbsolutePathOnThisSystemFromEdk2RelativePath(x) for x in files]
for a in files:
files_tested += 1
if(self.TestEncodingOk(a, enc)):
logging.debug("File {0} Passed Encoding Check {1}".format(a, enc))
else:
if not self.TestEncodingOk(a, enc):
tc.LogStdError("Encoding Failure in {0}. Not {1}".format(a, enc))
overall_status += 1

Expand Down
5 changes: 5 additions & 0 deletions ArmPkg/ArmPkg.ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -239,5 +239,10 @@
],
"AdditionalIncludePaths": [] # Additional paths to spell check
# (wildcards supported)
},

# options defined in .pytool/Plugin/UncrustifyCheck
"UncrustifyCheck": {
"AuditOnly": True
}
}
5 changes: 5 additions & 0 deletions ArmPkg/ArmPkg.dec
Original file line number Diff line number Diff line change
Expand Up @@ -144,6 +144,11 @@
# If PcdMonitorConduitHvc = TRUE, conduit = HVC
gArmTokenSpaceGuid.PcdMonitorConduitHvc|FALSE|BOOLEAN|0x00000047

# Whether to remap all unused memory NX before installing the CPU arch
# protocol driver. This is needed on platforms that map all DRAM with RWX
# attributes initially, and can be disabled otherwise.
gArmTokenSpaceGuid.PcdRemapUnusedMemoryNx|TRUE|BOOLEAN|0x00000048

[PcdsFeatureFlag.ARM]
# Whether to map normal memory as non-shareable. FALSE is the safe choice, but
# TRUE may be appropriate to fix performance problems if you don't care about
Expand Down
2 changes: 2 additions & 0 deletions ArmPkg/ArmPkg.dsc
Original file line number Diff line number Diff line change
Expand Up @@ -162,6 +162,8 @@
ArmPkg/Universal/Smbios/SmbiosMiscDxe/SmbiosMiscDxe.inf
ArmPkg/Universal/Smbios/OemMiscLibNull/OemMiscLibNull.inf

ArmPkg/Drivers/MmCommunicationPei/MmCommunicationPei.inf

[Components.AARCH64]
ArmPkg/Drivers/ArmPsciMpServicesDxe/ArmPsciMpServicesDxe.inf
ArmPkg/Drivers/MmCommunicationDxe/MmCommunication.inf
Expand Down
18 changes: 2 additions & 16 deletions ArmPkg/Drivers/ArmGic/ArmGicCommonDxe.c
Original file line number Diff line number Diff line change
@@ -1,27 +1,13 @@
/*++

Copyright (c) 2013-2017, ARM Ltd. All rights reserved.<BR>
Copyright (c) 2013-2023, Arm Ltd. All rights reserved.<BR>

SPDX-License-Identifier: BSD-2-Clause-Patent

--*/

#include "ArmGicDxe.h"

VOID
EFIAPI
IrqInterruptHandler (
IN EFI_EXCEPTION_TYPE InterruptType,
IN EFI_SYSTEM_CONTEXT SystemContext
);

VOID
EFIAPI
ExitBootServicesEvent (
IN EFI_EVENT Event,
IN VOID *Context
);

// Making this global saves a few bytes in image size
EFI_HANDLE gHardwareInterruptHandle = NULL;

Expand Down Expand Up @@ -61,7 +47,7 @@ GicGetDistributorIcfgBaseAndBit (

RegIndex = Source / ARM_GIC_ICDICFR_F_STRIDE; // NOTE: truncation is significant
Field = Source % ARM_GIC_ICDICFR_F_STRIDE;
*RegAddress = PcdGet64 (PcdGicDistributorBase)
*RegAddress = (UINTN)PcdGet64 (PcdGicDistributorBase)
+ ARM_GIC_ICDICFR
+ (ARM_GIC_ICDICFR_BYTES * RegIndex);
*Config1Bit = ((Field * ARM_GIC_ICDICFR_F_WIDTH)
Expand Down
73 changes: 43 additions & 30 deletions ArmPkg/Drivers/ArmGic/ArmGicLib.c
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/** @file
*
* Copyright (c) 2011-2021, Arm Limited. All rights reserved.
* Copyright (c) 2011-2023, Arm Limited. All rights reserved.
*
* SPDX-License-Identifier: BSD-2-Clause-Patent
*
Expand Down Expand Up @@ -104,10 +104,17 @@ GicGetCpuRedistributorBase (
return 0;
}

UINTN
/**
Return the GIC CPU Interrupt Interface ID.

@param GicInterruptInterfaceBase Base address of the GIC Interrupt Interface.

@retval CPU Interface Identification information.
**/
UINT32
EFIAPI
ArmGicGetInterfaceIdentification (
IN INTN GicInterruptInterfaceBase
IN UINTN GicInterruptInterfaceBase
)
{
// Read the GIC Identification Register
Expand All @@ -117,7 +124,7 @@ ArmGicGetInterfaceIdentification (
UINTN
EFIAPI
ArmGicGetMaxNumInterrupts (
IN INTN GicDistributorBase
IN UINTN GicDistributorBase
)
{
UINTN ItLines;
Expand All @@ -133,15 +140,17 @@ ArmGicGetMaxNumInterrupts (
VOID
EFIAPI
ArmGicSendSgiTo (
IN INTN GicDistributorBase,
IN INTN TargetListFilter,
IN INTN CPUTargetList,
IN INTN SgiId
IN UINTN GicDistributorBase,
IN UINT8 TargetListFilter,
IN UINT8 CPUTargetList,
IN UINT8 SgiId
)
{
MmioWrite32 (
GicDistributorBase + ARM_GIC_ICDSGIR,
((TargetListFilter & 0x3) << 24) | ((CPUTargetList & 0xFF) << 16) | SgiId
((TargetListFilter & 0x3) << 24) |
((CPUTargetList & 0xFF) << 16) |
(SgiId & 0xF)
);
}

Expand All @@ -167,26 +176,30 @@ ArmGicAcknowledgeInterrupt (
)
{
UINTN Value;
UINTN IntId;
ARM_GIC_ARCH_REVISION Revision;

ASSERT (InterruptId != NULL);
Revision = ArmGicGetSupportedArchRevision ();
if (Revision == ARM_GIC_ARCH_REVISION_2) {
Value = ArmGicV2AcknowledgeInterrupt (GicInterruptInterfaceBase);
// InterruptId is required for the caller to know if a valid or spurious
// interrupt has been read
ASSERT (InterruptId != NULL);
if (InterruptId != NULL) {
*InterruptId = Value & ARM_GIC_ICCIAR_ACKINTID;
}
IntId = Value & ARM_GIC_ICCIAR_ACKINTID;
} else if (Revision == ARM_GIC_ARCH_REVISION_3) {
Value = ArmGicV3AcknowledgeInterrupt ();
IntId = Value;
} else {
ASSERT_EFI_ERROR (EFI_UNSUPPORTED);
// Report Spurious interrupt which is what the above controllers would
// return if no interrupt was available
Value = 1023;
}

if (InterruptId != NULL) {
// InterruptId is required for the caller to know if a valid or spurious
// interrupt has been read
*InterruptId = IntId;
}

return Value;
}

Expand Down Expand Up @@ -219,13 +232,13 @@ ArmGicSetInterruptPriority (
)
{
UINT32 RegOffset;
UINTN RegShift;
UINT8 RegShift;
ARM_GIC_ARCH_REVISION Revision;
UINTN GicCpuRedistributorBase;

// Calculate register offset and bit position
RegOffset = Source / 4;
RegShift = (Source % 4) * 8;
RegOffset = (UINT32)(Source / 4);
RegShift = (UINT8)((Source % 4) * 8);

Revision = ArmGicGetSupportedArchRevision ();
if ((Revision == ARM_GIC_ARCH_REVISION_2) ||
Expand Down Expand Up @@ -263,13 +276,13 @@ ArmGicEnableInterrupt (
)
{
UINT32 RegOffset;
UINTN RegShift;
UINT8 RegShift;
ARM_GIC_ARCH_REVISION Revision;
UINTN GicCpuRedistributorBase;

// Calculate enable register offset and bit position
RegOffset = Source / 32;
RegShift = Source % 32;
RegOffset = (UINT32)(Source / 32);
RegShift = (UINT8)(Source % 32);

Revision = ArmGicGetSupportedArchRevision ();
if ((Revision == ARM_GIC_ARCH_REVISION_2) ||
Expand Down Expand Up @@ -308,13 +321,13 @@ ArmGicDisableInterrupt (
)
{
UINT32 RegOffset;
UINTN RegShift;
UINT8 RegShift;
ARM_GIC_ARCH_REVISION Revision;
UINTN GicCpuRedistributorBase;

// Calculate enable register offset and bit position
RegOffset = Source / 32;
RegShift = Source % 32;
RegOffset = (UINT32)(Source / 32);
RegShift = (UINT8)(Source % 32);

Revision = ArmGicGetSupportedArchRevision ();
if ((Revision == ARM_GIC_ARCH_REVISION_2) ||
Expand Down Expand Up @@ -352,14 +365,14 @@ ArmGicIsInterruptEnabled (
)
{
UINT32 RegOffset;
UINTN RegShift;
UINT8 RegShift;
ARM_GIC_ARCH_REVISION Revision;
UINTN GicCpuRedistributorBase;
UINT32 Interrupts;

// Calculate enable register offset and bit position
RegOffset = Source / 32;
RegShift = Source % 32;
RegOffset = (UINT32)(Source / 32);
RegShift = (UINT8)(Source % 32);

Revision = ArmGicGetSupportedArchRevision ();
if ((Revision == ARM_GIC_ARCH_REVISION_2) ||
Expand Down Expand Up @@ -390,7 +403,7 @@ ArmGicIsInterruptEnabled (
VOID
EFIAPI
ArmGicDisableDistributor (
IN INTN GicDistributorBase
IN UINTN GicDistributorBase
)
{
// Disable Gic Distributor
Expand All @@ -400,7 +413,7 @@ ArmGicDisableDistributor (
VOID
EFIAPI
ArmGicEnableInterruptInterface (
IN INTN GicInterruptInterfaceBase
IN UINTN GicInterruptInterfaceBase
)
{
ARM_GIC_ARCH_REVISION Revision;
Expand All @@ -418,7 +431,7 @@ ArmGicEnableInterruptInterface (
VOID
EFIAPI
ArmGicDisableInterruptInterface (
IN INTN GicInterruptInterfaceBase
IN UINTN GicInterruptInterfaceBase
)
{
ARM_GIC_ARCH_REVISION Revision;
Expand Down
8 changes: 5 additions & 3 deletions ArmPkg/Drivers/ArmGic/ArmGicNonSecLib.c
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/** @file
*
* Copyright (c) 2011-2015, ARM Limited. All rights reserved.
* Copyright (c) 2011-2023, Arm Limited. All rights reserved.
*
* SPDX-License-Identifier: BSD-2-Clause-Patent
*
Expand All @@ -13,10 +13,11 @@
VOID
EFIAPI
ArmGicEnableDistributor (
IN INTN GicDistributorBase
IN UINTN GicDistributorBase
)
{
ARM_GIC_ARCH_REVISION Revision;
UINT32 GicDistributorCtl;

/*
* Enable GIC distributor in Non-Secure world.
Expand All @@ -26,7 +27,8 @@ ArmGicEnableDistributor (
if (Revision == ARM_GIC_ARCH_REVISION_2) {
MmioWrite32 (GicDistributorBase + ARM_GIC_ICDDCR, 0x1);
} else {
if (MmioRead32 (GicDistributorBase + ARM_GIC_ICDDCR) & ARM_GIC_ICDDCR_ARE) {
GicDistributorCtl = MmioRead32 (GicDistributorBase + ARM_GIC_ICDDCR);
if ((GicDistributorCtl & ARM_GIC_ICDDCR_ARE) != 0) {
MmioOr32 (GicDistributorBase + ARM_GIC_ICDDCR, 0x2);
} else {
MmioOr32 (GicDistributorBase + ARM_GIC_ICDDCR, 0x1);
Expand Down
27 changes: 15 additions & 12 deletions ArmPkg/Drivers/ArmGic/GicV2/ArmGicV2Dxe.c
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

Copyright (c) 2009, Hewlett-Packard Company. All rights reserved.<BR>
Portions copyright (c) 2010, Apple Inc. All rights reserved.<BR>
Portions copyright (c) 2011-2017, ARM Ltd. All rights reserved.<BR>
Portions copyright (c) 2011-2023, Arm Ltd. All rights reserved.<BR>

SPDX-License-Identifier: BSD-2-Clause-Patent

Expand All @@ -25,8 +25,8 @@ Module Name:
extern EFI_HARDWARE_INTERRUPT_PROTOCOL gHardwareInterruptV2Protocol;
extern EFI_HARDWARE_INTERRUPT2_PROTOCOL gHardwareInterrupt2V2Protocol;

STATIC UINT32 mGicInterruptInterfaceBase;
STATIC UINT32 mGicDistributorBase;
STATIC UINTN mGicInterruptInterfaceBase;
STATIC UINTN mGicDistributorBase;

/**
Enable interrupt source Source.
Expand Down Expand Up @@ -162,7 +162,7 @@ GicV2IrqInterruptHandler (
IN EFI_SYSTEM_CONTEXT SystemContext
)
{
UINT32 GicInterrupt;
UINTN GicInterrupt;
HARDWARE_INTERRUPT_HANDLER InterruptHandler;

GicInterrupt = ArmGicV2AcknowledgeInterrupt (mGicInterruptInterfaceBase);
Expand All @@ -179,7 +179,7 @@ GicV2IrqInterruptHandler (
// Call the registered interrupt handler.
InterruptHandler (GicInterrupt, SystemContext);
} else {
DEBUG ((DEBUG_ERROR, "Spurious GIC interrupt: 0x%x\n", GicInterrupt));
DEBUG ((DEBUG_ERROR, "Spurious GIC interrupt: 0x%x\n", (UINT32)GicInterrupt));
GicV2EndOfInterrupt (&gHardwareInterruptV2Protocol, GicInterrupt);
}
}
Expand Down Expand Up @@ -349,8 +349,8 @@ GicV2ExitBootServicesEvent (
IN VOID *Context
)
{
UINTN Index;
UINT32 GicInterrupt;
UINTN Index;
UINTN GicInterrupt;

// Disable all the interrupts
for (Index = 0; Index < mGicNumInterrupts; Index++) {
Expand Down Expand Up @@ -393,23 +393,26 @@ GicV2DxeInitialize (
EFI_STATUS Status;
UINTN Index;
UINT32 RegOffset;
UINTN RegShift;
UINT8 RegShift;
UINT32 CpuTarget;

// Make sure the Interrupt Controller Protocol is not already installed in
// the system.
ASSERT_PROTOCOL_ALREADY_INSTALLED (NULL, &gHardwareInterruptProtocolGuid);

mGicInterruptInterfaceBase = PcdGet64 (PcdGicInterruptInterfaceBase);
mGicDistributorBase = PcdGet64 (PcdGicDistributorBase);
ASSERT (PcdGet64 (PcdGicInterruptInterfaceBase) <= MAX_UINTN);
ASSERT (PcdGet64 (PcdGicDistributorBase) <= MAX_UINTN);

mGicInterruptInterfaceBase = (UINTN)PcdGet64 (PcdGicInterruptInterfaceBase);
mGicDistributorBase = (UINTN)PcdGet64 (PcdGicDistributorBase);
mGicNumInterrupts = ArmGicGetMaxNumInterrupts (mGicDistributorBase);

for (Index = 0; Index < mGicNumInterrupts; Index++) {
GicV2DisableInterruptSource (&gHardwareInterruptV2Protocol, Index);

// Set Priority
RegOffset = Index / 4;
RegShift = (Index % 4) * 8;
RegOffset = (UINT32)(Index / 4);
RegShift = (UINT8)((Index % 4) * 8);
MmioAndThenOr32 (
mGicDistributorBase + ARM_GIC_ICDIPR + (4 * RegOffset),
~(0xff << RegShift),
Expand Down
Loading