]> git.proxmox.com Git - mirror_edk2.git/commit
MdeModulePkg.dec: Change PCDs for status code.
authorTan, Ming <ming.tan@intel.com>
Wed, 10 Jun 2020 02:56:31 +0000 (10:56 +0800)
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Thu, 18 Jun 2020 05:39:09 +0000 (05:39 +0000)
commit45bc28172fbf38ac21e2592c07189b55f57695e3
treecf6a6b84664c58dd83cbb20c093e56cbb90164ea
parent8f22a331b955bd3f8077c7fa83bafeec566d6718
MdeModulePkg.dec: Change PCDs for status code.

REF: https://bugzilla.tianocore.org/show_bug.cgi?id=2786

In order to support enable/disable report status code through memory
or serial dynamic, change the following PCDs from [PcdsFeatureFlag] to
[PcdsFixedAtBuild, PcdsPatchableInModule, PcdsDynamic, PcdsDynamicEx]:
  PcdStatusCodeUseSerial
  PcdStatusCodeUseMemory
The original plaforms can use PcdsFixedAtBuild in .dsc files to save size.

Reviewed-by: Jian J Wang <jian.j.wang@intel.com>
Cc: Hao A Wu <hao.a.wu@intel.com>
Signed-off-by: Ming Tan <ming.tan@intel.com>
MdeModulePkg/MdeModulePkg.dec
MdeModulePkg/Universal/StatusCodeHandler/Pei/StatusCodeHandlerPei.c
MdeModulePkg/Universal/StatusCodeHandler/Pei/StatusCodeHandlerPei.inf
MdeModulePkg/Universal/StatusCodeHandler/RuntimeDxe/StatusCodeHandlerRuntimeDxe.c
MdeModulePkg/Universal/StatusCodeHandler/RuntimeDxe/StatusCodeHandlerRuntimeDxe.inf
MdeModulePkg/Universal/StatusCodeHandler/Smm/StatusCodeHandlerSmm.c
MdeModulePkg/Universal/StatusCodeHandler/Smm/StatusCodeHandlerSmm.inf