From b554abfe951403ea59344939af87bdda96cd3259 Mon Sep 17 00:00:00 2001 From: Maurice Ma Date: Tue, 17 Mar 2020 14:02:58 -0700 Subject: [PATCH] Disable OS crash mode memory allocation By default 4MB was allocatd for OS crash mode support. Hoever, no project is really using it at all. The default should be changed not to reserve any memory for it. For platform needs it, it can override using platform specific CFGDATA. Signed-off-by: Maurice Ma --- Platform/CommonBoardPkg/CfgData/CfgData_Common.dsc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Platform/CommonBoardPkg/CfgData/CfgData_Common.dsc b/Platform/CommonBoardPkg/CfgData/CfgData_Common.dsc index 699ef4e4..0583a8e3 100644 --- a/Platform/CommonBoardPkg/CfgData/CfgData_Common.dsc +++ b/Platform/CommonBoardPkg/CfgData/CfgData_Common.dsc @@ -40,7 +40,7 @@ # !BSF TYPE:{Combo} # !BSF OPTION:{ 0:0MB, 1:4MB, 2:8MB, 3:16MB, 4:32MB, 5:64MB} # !BSF HELP:{Specify reserved memory size for OS to save OS crash data. The reserved memory address should be same across reset.} - gCfgData.OsCrashMemorySize | * | 0x01 | 1 + gCfgData.OsCrashMemorySize | * | 0x01 | 0 # !BSF NAME:{Enable Crash Mode} # !BSF OPTION:{$EN_DIS}