Branch: refs/heads/master
  Home:   https://github.com/tianocore/edk2
  Commit: 8756401a027fe81e31ca81dd2d9a77e7557ef219
      
https://github.com/tianocore/edk2/commit/8756401a027fe81e31ca81dd2d9a77e7557ef219
  Author: Chao Li <[email protected]>
  Date:   2026-07-07 (Tue, 07 Jul 2026)

  Changed paths:
    A MdePkg/Library/StackCheckLib/LoongArch64/StackCookieInterrupt.S
    M MdePkg/Library/StackCheckLib/StackCheckLib.inf

  Log Message:
  -----------
  MdePkg: Add LoongArch64 support for StackCheckLib

Added LoongArch64 stack cookie interrupt instance, calling `CpuBreakpoint`
to stop the CPU.

Signed-off-by: Chao Li <[email protected]>
Cc: Michael D Kinney <[email protected]>
Cc: Liming Gao <[email protected]>


  Commit: 42fde88a42e66517c6b020a8d1ac6a25951d1193
      
https://github.com/tianocore/edk2/commit/42fde88a42e66517c6b020a8d1ac6a25951d1193
  Author: Chao Li <[email protected]>
  Date:   2026-07-07 (Tue, 07 Jul 2026)

  Changed paths:
    M MdePkg/Library/DynamicStackCookieEntryPointLib/DxeCoreEntryPoint.inf
    A 
MdePkg/Library/DynamicStackCookieEntryPointLib/LoongArch64/DynamicCookieGcc.S
    M 
MdePkg/Library/DynamicStackCookieEntryPointLib/StandaloneMmDriverEntryPoint.inf
    M 
MdePkg/Library/DynamicStackCookieEntryPointLib/UefiApplicationEntryPoint.inf
    M MdePkg/Library/DynamicStackCookieEntryPointLib/UefiDriverEntryPoint.inf

  Log Message:
  -----------
  MdePkg/DynamicStackCookieEntryPointLib: Add LoongArch64 support

Added LoongArch64 support. Currently, LoongArch64 doesn't supports TRNG,
it uses the `RDTIME` instruction and a xorshif64 alorithms to compose a
PRNG(RngLib).
It may supports the SE TRNG in the future, and will change to the TRNG
when SE support becomes available.

Signed-off-by: Chao Li <[email protected]>
Cc: Michael D Kinney <[email protected]>
Cc: Liming Gao <[email protected]>


  Commit: 3716793e66f9afb336fc365c06b68adb3b397a65
      
https://github.com/tianocore/edk2/commit/3716793e66f9afb336fc365c06b68adb3b397a65
  Author: Chao Li <[email protected]>
  Date:   2026-07-07 (Tue, 07 Jul 2026)

  Changed paths:
    M BaseTools/Conf/tools_def.template

  Log Message:
  -----------
  BaseTools: Enable stack protector for LoongArch64

LoongArch64 GCC or CLANG currently does not support the parameter
`-mstack-protector-guard=global`, but if `-fstack-protector` is enabled,
the guard is global.
The `-mstack-protector-guard` may be get supportted in the next GCC
release, possibly GCC17.

Signed-off-by: Chao Li <[email protected]>
Cc: Liming Gao <[email protected]>
Cc: Guillermo Antonio Palomino Sosa <[email protected]>
Cc: Yuwei Chen <[email protected]>
Cc: Poncho Figueroa <[email protected]>
Cc: Mike Beaton <[email protected]>


Compare: https://github.com/tianocore/edk2/compare/7779b1a0424a...3716793e66f9

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

Reply via email to