Branch: refs/heads/master
  Home:   https://github.com/tianocore/edk2
  Commit: 70d2149e39e4765eae4ee4350b09f8484b8e43a7
      
https://github.com/tianocore/edk2/commit/70d2149e39e4765eae4ee4350b09f8484b8e43a7
  Author: Kun Qin <[email protected]>
  Date:   2026-07-31 (Fri, 31 Jul 2026)

  Changed paths:
    M BaseTools/Bin/iasl_ext_dep.yaml

  Log Message:
  -----------
  BaseTools: iasl: Update iasl binaries to 20230628 release

This change updates the iasl binary to the 20230628 release.

The updated release also adds support for execution on ARM host machines.

Signed-off-by: Kun Qin <[email protected]>


  Commit: 94d9804c32d62d6d51885f5019aaa53ac5e85a8c
      
https://github.com/tianocore/edk2/commit/94d9804c32d62d6d51885f5019aaa53ac5e85a8c
  Author: Kun Qin <[email protected]>
  Date:   2026-07-31 (Fri, 31 Jul 2026)

  Changed paths:
    A MdePkg/Library/BaseLib/AArch64UnitTestHost.c
    M MdePkg/Library/BaseLib/UnitTestHostBaseLib.inf
    M MdePkg/Test/UnitTest/Include/Library/UnitTestHostBaseLib.h

  Log Message:
  -----------
  MdePkg: UnitTestHostBaseLib: Added preprocessor for AArch64 instances

This change adds a few preprocessors to build AArch64 host based unit
tests properly.

An AArch64 specific instance of `gUnitTestHostBaseLib` is created to
abstract the reference of arch specific special instructions.

Signed-off-by: Kun Qin <[email protected]>


  Commit: 668b5d7bb7f9bf90412110fae420dc15fd580b58
      
https://github.com/tianocore/edk2/commit/668b5d7bb7f9bf90412110fae420dc15fd580b58
  Author: Kun Qin <[email protected]>
  Date:   2026-07-31 (Fri, 31 Jul 2026)

  Changed paths:
    M MdePkg/Library/BaseLib/UnitTestHostBaseLib.inf

  Log Message:
  -----------
  MdePkg: UnitTestHostBaseLib: Clean up source entries

The existing UnitTestHostBaseLib has some source entries that are either
redundant or for unsupported architectures.

This change consolidated the redundant entries and removed the entries
for unsupported architectures.

Signed-off-by: Kun Qin <[email protected]>


  Commit: 1fa1a89382cc6978a22d1aed0420ae12bd4f60c3
      
https://github.com/tianocore/edk2/commit/1fa1a89382cc6978a22d1aed0420ae12bd4f60c3
  Author: Kun Qin <[email protected]>
  Date:   2026-07-31 (Fri, 31 Jul 2026)

  Changed paths:
    M 
UnitTestFrameworkPkg/Test/GoogleTest/Sample/SampleGoogleTest/SampleGoogleTest.cpp
    M 
UnitTestFrameworkPkg/Test/GoogleTest/Sample/SampleGoogleTest/SampleGoogleTestHost.inf
    A 
UnitTestFrameworkPkg/Test/GoogleTest/Sample/SampleGoogleTest/SampleGoogleTestX86.cpp

  Log Message:
  -----------
  UnitTestFrameworkPkg: SampleGoogleTest: No divide-by-zero test for AArch64

AArch64 does not have divide-by-zero exception.

This change modifies the corresponding test to work with AArch64.

Signed-off-by: Kun Qin <[email protected]>


  Commit: d47954ceb47592b8f6dc24d21c4e422e1df3485b
      
https://github.com/tianocore/edk2/commit/d47954ceb47592b8f6dc24d21c4e422e1df3485b
  Author: Kun Qin <[email protected]>
  Date:   2026-07-31 (Fri, 31 Jul 2026)

  Changed paths:
    M 
UnitTestFrameworkPkg/Test/GoogleTest/Sample/SampleGoogleTestGenerateException/SampleGoogleTestGenerateException.cpp
    M 
UnitTestFrameworkPkg/Test/GoogleTest/Sample/SampleGoogleTestGenerateException/SampleGoogleTestHostGenerateException.inf
    M UnitTestFrameworkPkg/Test/UnitTestFrameworkPkgHostTestExpectFail.dsc

  Log Message:
  -----------
  UnitTestFrameworkPkg: SampleGoogleTestGenerateException: Support AArch64

The SampleGoogleTestGenerateException GoogleTest sample previously
generated a CPU exception by performing an integer divide by zero. That
mechanism is X86-specific: the AArch64 architecture defines SDIV/UDIV by
zero to return zero rather than raising a synchronous abort, so the
sample produced no exception when built and run on AArch64 hosts and the
test failed due to the test assert instead of triggering an exception
through the framework.

This change replaces the divide-by-zero with a NULL pointer write
performed through a small volatile helper, which is expected to work on
all host systems.

The MSVC '/wd4723' build option is no longer needed because it was added
to silence the divide-by-zero compile-time warning.

Signed-off-by: Kun Qin <[email protected]>


  Commit: 4d024b0cde7527e6b0fbb363881c2c1aa751b23b
      
https://github.com/tianocore/edk2/commit/4d024b0cde7527e6b0fbb363881c2c1aa751b23b
  Author: Kun Qin <[email protected]>
  Date:   2026-07-31 (Fri, 31 Jul 2026)

  Changed paths:
    M 
UnitTestFrameworkPkg/Test/UnitTest/Sample/SampleUnitTestGenerateException/SampleUnitTestDxeGenerateException.inf
    M 
UnitTestFrameworkPkg/Test/UnitTest/Sample/SampleUnitTestGenerateException/SampleUnitTestGenerateException.c
    A 
UnitTestFrameworkPkg/Test/UnitTest/Sample/SampleUnitTestGenerateException/SampleUnitTestGenerateExceptionAArch64.c
    A 
UnitTestFrameworkPkg/Test/UnitTest/Sample/SampleUnitTestGenerateException/SampleUnitTestGenerateExceptionIA32X64.c
    M 
UnitTestFrameworkPkg/Test/UnitTest/Sample/SampleUnitTestGenerateException/SampleUnitTestHostGenerateException.inf
    M 
UnitTestFrameworkPkg/Test/UnitTest/Sample/SampleUnitTestGenerateException/SampleUnitTestPeiGenerateException.inf
    M 
UnitTestFrameworkPkg/Test/UnitTest/Sample/SampleUnitTestGenerateException/SampleUnitTestSmmGenerateException.inf
    M 
UnitTestFrameworkPkg/Test/UnitTest/Sample/SampleUnitTestGenerateException/SampleUnitTestUefiShellGenerateException.inf
    M UnitTestFrameworkPkg/UnitTestFrameworkPkg.dsc

  Log Message:
  -----------
  UnitTestFrameworkPkg: SampleUnitTestGenerateException: Fix for AArch64

AArch64 does not generate divide-by-zero exceptions like x86. Yet the
current generate exception test is using this operation to attempt
triggering exceptions.

This change abstracted the exception generation logic into per-arch
files and use undefined instruction to trigger AArch64 exceptions.

Signed-off-by: Kun Qin <[email protected]>


  Commit: 476c89e564c89ecd0da9b2a41c612e7377ce6660
      
https://github.com/tianocore/edk2/commit/476c89e564c89ecd0da9b2a41c612e7377ce6660
  Author: Kun Qin <[email protected]>
  Date:   2026-07-31 (Fri, 31 Jul 2026)

  Changed paths:
    M UnitTestFrameworkPkg/Library/CmockaLib/CmockaLib.inf
    M UnitTestFrameworkPkg/UnitTestFrameworkPkg.ci.yaml

  Log Message:
  -----------
  UnitTestFrameworkPkg: CmockaLib: Support float operations

This change adds the support of float operations for AArch64 host based
unit tests by overriding the compiler flags.

Signed-off-by: Kun Qin <[email protected]>


  Commit: 26800658dfd24cedde5eacf33a3997087cd5928c
      
https://github.com/tianocore/edk2/commit/26800658dfd24cedde5eacf33a3997087cd5928c
  Author: Kun Qin <[email protected]>
  Date:   2026-07-31 (Fri, 31 Jul 2026)

  Changed paths:
    M 
UnitTestFrameworkPkg/Library/UnitTestDebugAssertLib/UnitTestDebugAssertLibHost.inf

  Log Message:
  -----------
  UnitTestFrameworkPkg: UnitTestDebugAssertLib: GCC support for AArch64

This change adds the GCC compiler flag for AArch64 targets.

Signed-off-by: Kun Qin <[email protected]>


  Commit: 56e1e042025707c48715186e50efba4d6b7613b9
      
https://github.com/tianocore/edk2/commit/56e1e042025707c48715186e50efba4d6b7613b9
  Author: Kun Qin <[email protected]>
  Date:   2026-07-31 (Fri, 31 Jul 2026)

  Changed paths:
    M UnitTestFrameworkPkg/Include/Library/FunctionMockLib.h
    M UnitTestFrameworkPkg/Library/FunctionMockLib/FunctionMockLib.inf
    M UnitTestFrameworkPkg/Test/UnitTestFrameworkPkgHostTest.dsc
    M UnitTestFrameworkPkg/UnitTestFrameworkPkgHost.dsc.inc

  Log Message:
  -----------
  UnitTestFrameworkPkg: FunctionMockLib: Do not support AArch64

Current FunctionMockLib is relying on the subhoob module to support the
backend operation by bitbanging the binary post-disassembly.

However subhook module is a x64 centric module and does not support
AArch64 usage.

This change removes the mock function support for AArch64. The
functionality will need other solutions to be properly supported.

Signed-off-by: Kun Qin <[email protected]>


  Commit: 8cdd6f77b7b4cb059630ecfe502d6b7e6d56fbdc
      
https://github.com/tianocore/edk2/commit/8cdd6f77b7b4cb059630ecfe502d6b7e6d56fbdc
  Author: Kun Qin <[email protected]>
  Date:   2026-07-31 (Fri, 31 Jul 2026)

  Changed paths:
    M UnitTestFrameworkPkg/Test/UnitTestFrameworkPkgHostTest.dsc
    M UnitTestFrameworkPkg/Test/UnitTestFrameworkPkgHostTestExpectFail.dsc

  Log Message:
  -----------
  UnitTestFrameworkPkg: Test: Adding AArch64 target

This change adds the AArch64 target for host based unit tests.

Signed-off-by: Kun Qin <[email protected]>


  Commit: 6c1505be6412a36e5d29f982cf345e9bbcbad6ec
      
https://github.com/tianocore/edk2/commit/6c1505be6412a36e5d29f982cf345e9bbcbad6ec
  Author: Kun Qin <[email protected]>
  Date:   2026-07-31 (Fri, 31 Jul 2026)

  Changed paths:
    M MdePkg/Test/MdePkgHostTest.dsc

  Log Message:
  -----------
  MdePkg: Host Test: Adding AArch64 target

This change adds the AArch64 target for host based unit tests.

Signed-off-by: Kun Qin <[email protected]>


  Commit: 47c48984c5d5ab0caadc5d679ca3beb28c6e4433
      
https://github.com/tianocore/edk2/commit/47c48984c5d5ab0caadc5d679ca3beb28c6e4433
  Author: Kun Qin <[email protected]>
  Date:   2026-07-31 (Fri, 31 Jul 2026)

  Changed paths:
    M MdeModulePkg/Test/MdeModulePkgHostTest.dsc

  Log Message:
  -----------
  MdeModulePkg: Host Test: Adding AArch64 target

This change adds the AArch64 target for host based unit tests.

Signed-off-by: Kun Qin <[email protected]>


  Commit: a57c5b6da450ea78ad53035d5b2d8337a6a0f00e
      
https://github.com/tianocore/edk2/commit/a57c5b6da450ea78ad53035d5b2d8337a6a0f00e
  Author: Kun Qin <[email protected]>
  Date:   2026-07-31 (Fri, 31 Jul 2026)

  Changed paths:
    M FmpDevicePkg/Test/FmpDeviceHostPkgTest.dsc

  Log Message:
  -----------
  FmpDevicePkg: Host Test: Adding AArch64 target

This change adds the AArch64 target for host based unit tests.

Signed-off-by: Kun Qin <[email protected]>


  Commit: 4eba9cd69cbf50364620f9431ee2153ae1452bf4
      
https://github.com/tianocore/edk2/commit/4eba9cd69cbf50364620f9431ee2153ae1452bf4
  Author: Kun Qin <[email protected]>
  Date:   2026-07-31 (Fri, 31 Jul 2026)

  Changed paths:
    A DynamicTablesPkg/Library/Acpi/Common/AcpiDbg2Lib/AcpiDbg2LibHostTest.inf
    M DynamicTablesPkg/Test/DynamicTablesPkgHostTest.dsc

  Log Message:
  -----------
  DynamicTablesPkg: AcpiDbg2Lib: Adding host based instance

The current instance does not support host based test on AArch64 host
system due to its dependency on hardware UART library.

This change created a new instance that does not initialize the serial
port for host based test applications.

Signed-off-by: Kun Qin <[email protected]>


  Commit: 2c74b5ecc9a40838e8f34ff8749f6380c9d6e880
      
https://github.com/tianocore/edk2/commit/2c74b5ecc9a40838e8f34ff8749f6380c9d6e880
  Author: Kun Qin <[email protected]>
  Date:   2026-07-31 (Fri, 31 Jul 2026)

  Changed paths:
    M DynamicTablesPkg/Test/DynamicTablesPkgHostTest.dsc

  Log Message:
  -----------
  DynamicTablesPkg: Host Test: Adding AArch64 target

This change adds the AArch64 target for host based unit tests.

Signed-off-by: Kun Qin <[email protected]>


  Commit: 2da91c23b9db73fff8ec4ed02b469530de689143
      
https://github.com/tianocore/edk2/commit/2da91c23b9db73fff8ec4ed02b469530de689143
  Author: Kun Qin <[email protected]>
  Date:   2026-07-31 (Fri, 31 Jul 2026)

  Changed paths:
    M PrmPkg/Test/PrmPkgHostTest.dsc

  Log Message:
  -----------
  PrmPkg: Host Test: Adding AArch64 target

This change adds the AArch64 target for host based unit tests.

Signed-off-by: Kun Qin <[email protected]>


  Commit: 158c70987bb3c919a3b4e91236e9dd9bd37b8f4b
      
https://github.com/tianocore/edk2/commit/158c70987bb3c919a3b4e91236e9dd9bd37b8f4b
  Author: Jeff Brasen <[email protected]>
  Date:   2026-07-31 (Fri, 31 Jul 2026)

  Changed paths:
    M CryptoPkg/Library/BaseCryptLib/UnitTestHostBaseCryptLib.inf

  Log Message:
  -----------
  CryptoPkg/BaseCryptLib: add AARCH64 host unit test Rand source

The host-based BaseCryptLib instance (UnitTestHostBaseCryptLib.inf) built
Rand/CryptRandTsc.c only for IA32/X64.  Add Rand/CryptRand.c for AARCH64 so
the openssl-backed RandomSeed() is available when linking AARCH64 host
tests, and advertise AARCH64 in VALID_ARCHITECTURES.

Signed-off-by: Jeff Brasen <[email protected]>


  Commit: 10732648fb0cb6ca6b804910dec92091406694aa
      
https://github.com/tianocore/edk2/commit/10732648fb0cb6ca6b804910dec92091406694aa
  Author: Jeff Brasen <[email protected]>
  Date:   2026-07-31 (Fri, 31 Jul 2026)

  Changed paths:
    M SecurityPkg/Test/SecurityPkgHostTest.dsc

  Log Message:
  -----------
  SecurityPkg/Test: use BaseRngLibNull for AARCH64 host tests

BaseRngLib's AARCH64 backend uses an RNDR instruction path that does not
link in the host environment.  Map RngLib to BaseRngLibNull for AARCH64
host builds (IA32/X64 keep BaseRngLib) and hoist the common RngLib mapping
so the per-component override can be dropped.

Signed-off-by: Jeff Brasen <[email protected]>


  Commit: 6a4e543b09acb85bf0b4e9e3d075c50950267047
      
https://github.com/tianocore/edk2/commit/6a4e543b09acb85bf0b4e9e3d075c50950267047
  Author: Jeff Brasen <[email protected]>
  Date:   2026-07-31 (Fri, 31 Jul 2026)

  Changed paths:
    M SecurityPkg/Test/SecurityPkgHostTest.dsc

  Log Message:
  -----------
  SecurityPkg/Test: add AARCH64 to host test DSC

Add AARCH64 to SUPPORTED_ARCHITECTURES so the SecurityPkg
host-based unit tests build and run on an AARCH64 host.  Depends
on the AARCH64 host-test framework enablement
(UnitTestFrameworkPkg/MdePkg).

Signed-off-by: Jeff Brasen <[email protected]>


  Commit: ca8de19382c668cf8770ee788478edcd8a22d0e7
      
https://github.com/tianocore/edk2/commit/ca8de19382c668cf8770ee788478edcd8a22d0e7
  Author: Jeff Brasen <[email protected]>
  Date:   2026-07-31 (Fri, 31 Jul 2026)

  Changed paths:
    M MdeModulePkg/Core/Dxe/Mem/GoogleTest/MemoryBinGoogleTest.cpp

  Log Message:
  -----------
  MdeModulePkg: MemoryBins: make GoogleTest page-granularity aware

MemoryBinGoogleTest.PopulatesFromValidHob asserted fixed page counts for
each memory type.  PopulateMemoryTypeInformation, however, rounds the
runtime memory types (EfiReservedMemoryType, EfiACPIMemoryNVS,
EfiRuntimeServicesCode, EfiRuntimeServicesData) up to
RUNTIME_PAGE_ALLOCATION_GRANULARITY.  That granularity equals EFI_PAGE_SIZE
on IA32/X64, so the hard-coded values happened to match, but it is 64 KiB
on AArch64, where the same inputs round up to different page counts and the
test failed.

Compute the expected page counts with the same granularity rounding the
production code uses, so the test passes on all host architectures instead
of only x86.

Signed-off-by: Jeff Brasen <[email protected]>


Compare: https://github.com/tianocore/edk2/compare/abff40cb50ed...ca8de19382c6

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