Branch: refs/heads/master
  Home:   https://github.com/tianocore/edk2
  Commit: f714e37e3b71ff02ec0b63c9710d679753f9cbb2
      
https://github.com/tianocore/edk2/commit/f714e37e3b71ff02ec0b63c9710d679753f9cbb2
  Author: zhuyunfei <[email protected]>
  Date:   2026-07-02 (Thu, 02 Jul 2026)

  Changed paths:
    M OvmfPkg/LoongArchVirt/Library/ResetSystemAcpiLib/BaseResetSystemAcpiGed.c

  Log Message:
  -----------
  OvmfPkg/LoongArchVirt: Fix ResetSystemLibConstructor signature and header

The ResetSystemLibConstructor was incorrectly declared with EFI_API and
a UEFI driver entry point signature (ImageHandle, SystemTable), but it
is actually a library constructor that should use EFIAPI and take no
arguments (VOID) as per EDK2 library constructor conventions.

This mismatch caused compilation errors when enabling TPM2 support
for LoongArchVirt.

- Add missing <IndustryStandard/Acpi.h> include
- Replace EFI_API with EFIAPI
- Change constructor signature from
  (IN EFI_HANDLE ImageHandle, IN EFI_SYSTEM_TABLE *SystemTable)
  to (VOID)

Signed-off-by: zhuyunfei <[email protected]>
Signed-off-by: gaoqihang <[email protected]>
Reviewed-by: qiandongyan <[email protected]>
Reviewed-by: lichao <[email protected]>



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