[edk2-devel] PcdLib instance for OVMF SecMain

Wu, Jiaxin jiaxin.wu at intel.com
Mon Mar 13 07:13:39 UTC 2023


Another issue exposed during boot OVMF:



SecCoreStartupWithStack(0xFFFCC000, 0x820000)

ASSERT [SecMain] c:\dev\code\edk2\MdePkg\Library\BasePcdLibNull\PcdLib.c(95): ((BOOLEAN)(0==1))



I WA it as below fix by overriding PcdLib for SecMain driver:



  #

  # SEC Phase modules

  #

  OvmfPkg/Sec/SecMain.inf {

    <LibraryClasses>

      PcdLib|MdePkg/Library/PeiPcdLib/PeiPcdLib.inf

      NULL|MdeModulePkg/Library/LzmaCustomDecompressLib/LzmaCustomDecompressLib.inf

  }



Is it another bug in OVMF?



Thanks,

Jiaxin



-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#101057): https://edk2.groups.io/g/devel/message/101057
Mute This Topic: https://groups.io/mt/97575787/1813853
Group Owner: devel+owner at edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub [edk2-devel-archive at redhat.com]
-=-=-=-=-=-=-=-=-=-=-=-


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/edk2-devel-archive/attachments/20230313/f5b2448e/attachment.htm>


More information about the edk2-devel-archive mailing list