Branch: refs/heads/master
Home: https://github.com/tianocore/edk2
Commit: d9715c133f45b6eee239f4aa58e9112b7497de4b
https://github.com/tianocore/edk2/commit/d9715c133f45b6eee239f4aa58e9112b7497de4b
Author: Oliver Smith-Denny <[email protected]>
Date: 2025-02-07 (Fri, 07 Feb 2025)
Changed paths:
M MdePkg/Include/AArch64/AArch64.h
M MdePkg/Library/BaseRngLib/AArch64/ArmRng.S
M MdePkg/Library/BaseRngLib/AArch64/ArmRng.asm
M MdePkg/Library/BaseRngLib/AArch64/ArmRng.h
M MdePkg/Library/BaseRngLib/BaseRngLibInternals.h
Log Message:
-----------
MdePkg: Centralize RNDR Register Definition
RNDR is a standard register defined in the ARM ARM for
AARCH64. Move the definition from BaseRngLib to AArch64.h.
Furthermore, move the inclusion of this register definition
to the ARM specific header file.
Signed-off-by: Oliver Smith-Denny <[email protected]>
Commit: e63cdeebb829683a9b30bf60a616d5476a07e1a5
https://github.com/tianocore/edk2/commit/e63cdeebb829683a9b30bf60a616d5476a07e1a5
Author: Oliver Smith-Denny <[email protected]>
Date: 2025-02-07 (Fri, 07 Feb 2025)
Changed paths:
A MdePkg/Include/Library/StackCheckLib.h
M MdePkg/Library/StackCheckLib/StackCheckLibCommonGcc.c
M MdePkg/Library/StackCheckLib/StackCheckLibCommonMsvc.c
M MdePkg/Library/StackCheckLibNull/StackCheckLibNullGcc.c
M MdePkg/Library/StackCheckLibNull/StackCheckLibNullMsvc.c
M MdePkg/MdePkg.dec
Log Message:
-----------
MdePkg: Add StackCheckLib Library Class
StackCheckLib defines the interface between a compiler
and the stack checking code. It is being converted from
a NULL library class to an actual library class to make
it easier to use for a platform and be easier to define
the expected interface with a compiler, so if there is
a compiler change it can be tracked and caught.
Signed-off-by: Oliver Smith-Denny <[email protected]>
Commit: 885bcca649392a4baa27f89c4e80581407840919
https://github.com/tianocore/edk2/commit/885bcca649392a4baa27f89c4e80581407840919
Author: Oliver Smith-Denny <[email protected]>
Date: 2025-02-07 (Fri, 07 Feb 2025)
Changed paths:
A MdePkg/Include/Library/StandaloneMmCoreEntryPoint.h
A MdePkg/Library/StandaloneMmCoreEntryPoint/StandaloneMmCoreEntryPoint.inf
A MdePkg/Library/StandaloneMmCoreEntryPoint/X64/StandaloneMmCoreEntryPoint.c
M MdePkg/MdePkg.dec
M MdePkg/MdePkg.dsc
Log Message:
-----------
MdePkg: Add StandaloneMmCoreEntryPoint for X64
Moves StandaloneMmCoreEntryPoint for X64 to MdePkg to live with
the other entry point libs. It does not move the ARM64 version,
as this was just moved to ArmPkg due to its heavy coupling with
ArmPkg code. This will need to be revisited when dynamic stack
cookie support is added to ARM64 StMM.
This commit just adds the library in MdePkg, a separate commit
will remove it from StandaloneMmPkg to make it easier to consume.
Signed-off-by: Oliver Smith-Denny <[email protected]>
Commit: db03bf1d9dd7741571fbd9ad597add36ef4250d5
https://github.com/tianocore/edk2/commit/db03bf1d9dd7741571fbd9ad597add36ef4250d5
Author: Oliver Smith-Denny <[email protected]>
Date: 2025-02-07 (Fri, 07 Feb 2025)
Changed paths:
R StandaloneMmPkg/Include/Library/StandaloneMmCoreEntryPoint.h
R
StandaloneMmPkg/Library/StandaloneMmCoreEntryPoint/StandaloneMmCoreEntryPoint.inf
R
StandaloneMmPkg/Library/StandaloneMmCoreEntryPoint/X64/StandaloneMmCoreEntryPoint.c
M StandaloneMmPkg/StandaloneMmPkg.dec
M StandaloneMmPkg/StandaloneMmPkg.dsc
Log Message:
-----------
StandaloneMmPkg: Consume X64 StandaloneMmCoreEntryPoint From MdePkg
Now that the X64 StandaloneMmCoreEntryPoint has been moved to
MdePkg, it can be removed from StandaloneMmPkg and consumed
from MdePpkg.
Signed-off-by: Oliver Smith-Denny <[email protected]>
Commit: efbf5ed08c48478b51bb6b6da5670b1312755854
https://github.com/tianocore/edk2/commit/efbf5ed08c48478b51bb6b6da5670b1312755854
Author: Oliver Smith-Denny <[email protected]>
Date: 2025-02-07 (Fri, 07 Feb 2025)
Changed paths:
M
ArmPkg/Library/ArmStandaloneMmCoreEntryPoint/ArmStandaloneMmCoreEntryPoint.inf
M ArmPlatformPkg/PeilessSec/PeilessSec.inf
M ArmPlatformPkg/Sec/Sec.inf
M ArmVirtPkg/PrePi/ArmVirtPrePiUniCoreRelocatable.inf
M EmulatorPkg/EmulatorPkg.dsc
M EmulatorPkg/Sec/Sec.inf
M EmulatorPkg/Unix/Host/Host.inf
M EmulatorPkg/Win/Host/WinHost.inf
M IntelFsp2Pkg/FspSecCore/Fsp22SecCoreS.inf
M IntelFsp2Pkg/FspSecCore/Fsp24SecCoreM.inf
M IntelFsp2Pkg/FspSecCore/Fsp24SecCoreS.inf
M IntelFsp2Pkg/FspSecCore/FspSecCoreI.inf
M IntelFsp2Pkg/FspSecCore/FspSecCoreM.inf
M IntelFsp2Pkg/FspSecCore/FspSecCoreS.inf
M IntelFsp2Pkg/FspSecCore/FspSecCoreT.inf
M MdeModulePkg/Universal/CapsulePei/CapsuleX64.inf
M MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.inf
M MdePkg/Library/PeiCoreEntryPoint/PeiCoreEntryPoint.inf
M MdePkg/Library/PeimEntryPoint/PeimEntryPoint.inf
A MdePkg/Library/StackCheckLib/StackCheckLib.inf
R MdePkg/Library/StackCheckLib/StackCheckLibStaticInit.inf
M MdePkg/Library/StandaloneMmCoreEntryPoint/StandaloneMmCoreEntryPoint.inf
M
MdePkg/Library/StandaloneMmDriverEntryPoint/StandaloneMmDriverEntryPoint.inf
M MdePkg/Library/UefiApplicationEntryPoint/UefiApplicationEntryPoint.inf
M MdePkg/Library/UefiDriverEntryPoint/UefiDriverEntryPoint.inf
M MdePkg/MdePkg.dsc
M OvmfPkg/IntelTdx/Sec/SecMain.inf
M
OvmfPkg/Library/UefiDriverEntryPointFwCfgOverrideLib/UefiDriverEntryPointFwCfgOverrideLib.inf
M OvmfPkg/LoongArchVirt/Sec/SecMain.inf
M OvmfPkg/RiscVVirt/Sec/SecMain.inf
M OvmfPkg/Sec/SecMain.inf
M UefiCpuPkg/SecCore/SecCore.inf
M UefiCpuPkg/SecCore/SecCoreNative.inf
M UefiPayloadPkg/UefiPayloadEntry/UefiPayloadEntry.inf
M UefiPayloadPkg/UefiPayloadEntry/UniversalPayloadEntry.inf
Log Message:
-----------
MdePkg: Move StackCheckLibStaticInit to StackCheckLib
This commit oves StackCheckLib from a NULL lib to an instance of
StackCheckLib. This requires every entry point to add a library
dependency on StackCheckLib. It also requires every SEC module
to have a dependency on StackCheckLib because there is no
standard SEC entry point.
It allows for greater flexibility for a platform to apply stack
cookies and simplifies DSC logic.
Continuous-integration-options: PatchCheck.ignore-multi-package
Signed-off-by: Oliver Smith-Denny <[email protected]>
Commit: e6b6aa90d490c298da140bc118d73ceff510f563
https://github.com/tianocore/edk2/commit/e6b6aa90d490c298da140bc118d73ceff510f563
Author: Oliver Smith-Denny <[email protected]>
Date: 2025-02-07 (Fri, 07 Feb 2025)
Changed paths:
A MdePkg/Library/DynamicStackCookieEntryPointLib/AArch64/DynamicCookieGcc.S
A MdePkg/Library/DynamicStackCookieEntryPointLib/DxeCore/DxeCoreEntryPoint.c
A
MdePkg/Library/DynamicStackCookieEntryPointLib/DxeCore/DxeCoreEntryPoint.uni
A MdePkg/Library/DynamicStackCookieEntryPointLib/DxeCoreEntryPoint.inf
A MdePkg/Library/DynamicStackCookieEntryPointLib/IA32/DynamicCookieGcc.nasm
A MdePkg/Library/DynamicStackCookieEntryPointLib/IA32/DynamicCookieMsvc.nasm
A MdePkg/Library/DynamicStackCookieEntryPointLib/PeiCore/PeiCoreEntryPoint.c
A
MdePkg/Library/DynamicStackCookieEntryPointLib/PeiCore/PeiCoreEntryPoint.uni
A
MdePkg/Library/DynamicStackCookieEntryPointLib/PeiCore/PeiCoreStackCheckEntryPointLibNull.c
A MdePkg/Library/DynamicStackCookieEntryPointLib/PeiCoreEntryPoint.inf
A MdePkg/Library/DynamicStackCookieEntryPointLib/Peim/PeimEntryPoint.c
A MdePkg/Library/DynamicStackCookieEntryPointLib/Peim/PeimEntryPoint.uni
A
MdePkg/Library/DynamicStackCookieEntryPointLib/Peim/PeimStackCheckEntryPointLibNull.c
A MdePkg/Library/DynamicStackCookieEntryPointLib/PeimEntryPoint.inf
A
MdePkg/Library/DynamicStackCookieEntryPointLib/StandaloneMmCore/X64/StandaloneMmCoreEntryPoint.c
A
MdePkg/Library/DynamicStackCookieEntryPointLib/StandaloneMmCoreEntryPoint.inf
A
MdePkg/Library/DynamicStackCookieEntryPointLib/StandaloneMmDriver/StandaloneMmDriverEntryPoint.c
A
MdePkg/Library/DynamicStackCookieEntryPointLib/StandaloneMmDriver/StandaloneMmDriverEntryPoint.uni
A
MdePkg/Library/DynamicStackCookieEntryPointLib/StandaloneMmDriverEntryPoint.inf
A
MdePkg/Library/DynamicStackCookieEntryPointLib/UefiApplication/ApplicationEntryPoint.c
A
MdePkg/Library/DynamicStackCookieEntryPointLib/UefiApplication/ApplicationStackCheckEntryPointLibNull.c
A
MdePkg/Library/DynamicStackCookieEntryPointLib/UefiApplication/UefiApplicationEntryPoint.uni
A
MdePkg/Library/DynamicStackCookieEntryPointLib/UefiApplicationEntryPoint.inf
A
MdePkg/Library/DynamicStackCookieEntryPointLib/UefiDriver/DriverEntryPoint.c
A
MdePkg/Library/DynamicStackCookieEntryPointLib/UefiDriver/UefiDriverEntryPoint.uni
A MdePkg/Library/DynamicStackCookieEntryPointLib/UefiDriverEntryPoint.inf
A MdePkg/Library/DynamicStackCookieEntryPointLib/X64/DynamicCookieGcc.nasm
A MdePkg/Library/DynamicStackCookieEntryPointLib/X64/DynamicCookieMsvc.nasm
M MdePkg/Library/StackCheckLib/Readme.md
M MdePkg/MdeLibs.dsc.inc
M MdePkg/MdePkg.dsc
Log Message:
-----------
MdePkg: Add Dynamic Stack Cookie Support
Adds dynamic stack cookies in the form of copies of the entry
point libraries that use shared logic to update stack cookies
at runtime.
This relies on RDRAND on IA32/X64 and RNDR on AARCH64 to get a
random number to apply to the stack cookie on module entry point.
This simplifies the logic a platform must do to include stack
check functionality.
Signed-off-by: Oliver Smith-Denny <[email protected]>
Commit: 6d741357c2597c3e769f05d7ef698bf400c03d9b
https://github.com/tianocore/edk2/commit/6d741357c2597c3e769f05d7ef698bf400c03d9b
Author: Oliver Smith-Denny <[email protected]>
Date: 2025-02-07 (Fri, 07 Feb 2025)
Changed paths:
M OvmfPkg/PlatformCI/PlatformBuildLib.py
Log Message:
-----------
OvmfPkg: Add RDRAND Support To QEMU
In order to use dynamic stack cookies, we need RDRAND support
from QEMU, so this updates the QEMU launching code for OvmfPkg
to include RDRAND support.
Signed-off-by: Oliver Smith-Denny <[email protected]>
Commit: 30547859f22024fb4d24cc667e020c68a3710538
https://github.com/tianocore/edk2/commit/30547859f22024fb4d24cc667e020c68a3710538
Author: Oliver Smith-Denny <[email protected]>
Date: 2025-02-07 (Fri, 07 Feb 2025)
Changed paths:
M OvmfPkg/OvmfPkgIa32X64.dsc
Log Message:
-----------
OvmfPkg: OvmfIA32X64: Add Custom Stack Cookie Checking
To provide an example and test the code within edk2, this
adds stack cookie checking to OvmfIA32X64, doing no checking
for SEC and PEI_CORE modules, static cookies for PEIMs, and
dynamic cookies for all other module types.
Signed-off-by: Oliver Smith-Denny <[email protected]>
Commit: 861b91d9757ac4b2e15ee99d52cef230d07409e9
https://github.com/tianocore/edk2/commit/861b91d9757ac4b2e15ee99d52cef230d07409e9
Author: Oliver Smith-Denny <[email protected]>
Date: 2025-02-07 (Fri, 07 Feb 2025)
Changed paths:
M ArmVirtPkg/PlatformCI/PlatformBuildLib.py
Log Message:
-----------
ArmVirtPkg: Add RNDR Support to QEMU
In order to use dynamic stack cookies in ArmVirtQemu, we need
RNDR support. This is added by using the neoverse-n2 cpu.
Signed-off-by: Oliver Smith-Denny <[email protected]>
Commit: 1f1182c396466300ad6659c42b517542c61706d9
https://github.com/tianocore/edk2/commit/1f1182c396466300ad6659c42b517542c61706d9
Author: Oliver Smith-Denny <[email protected]>
Date: 2025-02-07 (Fri, 07 Feb 2025)
Changed paths:
M ArmVirtPkg/ArmVirt.dsc.inc
M ArmVirtPkg/ArmVirtCloudHv.dsc
M ArmVirtPkg/ArmVirtKvmTool.dsc
M ArmVirtPkg/ArmVirtQemu.dsc
M ArmVirtPkg/ArmVirtQemuKernel.dsc
M ArmVirtPkg/ArmVirtXen.dsc
Log Message:
-----------
ArmVirtPkg: ArmVirtQemu: Add Custom Stack Cookies
In order to provide an example and test out dynamic stack
cookies in edk2, dynamic stack cookies are added to ArmVirtPkg
platforms using ArmVirt.dsc.inc, per maintainer request.
This does require moving the ArmVirt.dsc.inc to be included
before MdeLibs.dsc.inc as the BaseTools does not expand all
the Defines sections before processing.
Signed-off-by: Oliver Smith-Denny <[email protected]>
Compare: https://github.com/tianocore/edk2/compare/5c02a6482398...1f1182c39646
To unsubscribe from these emails, change your notification settings at
https://github.com/tianocore/edk2/settings/notifications
_______________________________________________
edk2-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/edk2-commits