Branch: refs/heads/master
  Home:   https://github.com/tianocore/edk2
  Commit: b5d168944729e54cdd2fa45d9e83c14cacb36473
      
https://github.com/tianocore/edk2/commit/b5d168944729e54cdd2fa45d9e83c14cacb36473
  Author: Fabian Vogt <[email protected]>
  Date:   2026-03-11 (Wed, 11 Mar 2026)

  Changed paths:
    M OvmfPkg/RiscVVirt/PlatformPei/PlatformPeim.c

  Log Message:
  -----------
  OvmfPkg/RiscVVirt/PlatformPei: Do not set PcdTpmBaseAddress to garbage

If there is no TPM device in the device tree, the TpmBase variable is not
initialized and contains garbage.

Instead of using 0 as sentinel (which may be a valid address), check the
size instead, which cannot be 0 for a memory-mapped device.

Signed-off-by: Fabian Vogt <[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