From b34e44612246d9bb86251e8b940dd43a3ad64260 Mon Sep 17 00:00:00 2001 From: Gary Li Date: Fri, 3 Jun 2016 15:21:26 +0800 Subject: MdeModulePkg:Prevent the BmRepairAllControllers routine in an infinite loop Prevent the BmRepairAllControllers routine in an infinite loop Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Gary Li Reviewed-by: Ruiyu Ni Reviewed-by: Liming Gao --- MdeModulePkg/MdeModulePkg.dec | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'MdeModulePkg/MdeModulePkg.dec') diff --git a/MdeModulePkg/MdeModulePkg.dec b/MdeModulePkg/MdeModulePkg.dec index a1338240d1..27efb378bd 100644 --- a/MdeModulePkg/MdeModulePkg.dec +++ b/MdeModulePkg/MdeModulePkg.dec @@ -1105,6 +1105,11 @@ # @Prompt Exposed ACPI table versions. gEfiMdeModulePkgTokenSpaceGuid.PcdAcpiExposedTableVersions|0x3E|UINT32|0x0001004c + ## This PCD defines the MAX repair count. + # The default value is 0 that means infinite. + # @Prompt MAX repair count + gEfiMdeModulePkgTokenSpaceGuid.PcdMaxRepairCount|0x00|UINT32|0x00010076 + [PcdsPatchableInModule, PcdsDynamic, PcdsDynamicEx] ## This PCD defines the Console output row. The default value is 25 according to UEFI spec. # This PCD could be set to 0 then console output would be at max column and max row. -- cgit v1.2.3