Vlv2TbltDevicePkg: Set SMM Stack size to 16 KB
authorMichael D Kinney <michael.d.kinney@intel.com>
Wed, 30 May 2018 23:52:11 +0000 (16:52 -0700)
committerKinney, Michael D <michael.d.kinney@intel.com>
Sun, 24 Jun 2018 23:18:36 +0000 (16:18 -0700)
Stack overflows were observed at the default SMM stack
size of 8 KB.  Increase stack size to 16 KB to prevent
SMM stack overflows.

Cc: David Wei <david.wei@intel.com>
Cc: Mang Guo <mang.guo@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Michael D Kinney <michael.d.kinney@intel.com>
Reviewed-by: David Wei <david.wei@intel.com>
Vlv2TbltDevicePkg/PlatformPkgGccX64.dsc
Vlv2TbltDevicePkg/PlatformPkgIA32.dsc
Vlv2TbltDevicePkg/PlatformPkgX64.dsc

index b6741257e76d7b8f84a20707c26cae8341693067..af845ed19faf0ba5ad2f0c1f0600d66ba0f5e87f 100644 (file)
   gEfiSourceLevelDebugPkgTokenSpaceGuid.PcdDebugLoadImageMethod|2\r
 !endif\r
 \r
+  #\r
+  # Set SMM stack size to 16 KB.\r
+  #\r
+  gUefiCpuPkgTokenSpaceGuid.PcdCpuSmmStackSize|0x4000\r
+\r
 [PcdsFixedAtBuild.IA32.PEIM, PcdsFixedAtBuild.IA32.PEI_CORE, PcdsFixedAtBuild.IA32.SEC]\r
 !if $(TARGET) == RELEASE\r
   gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x0\r
index bd276f06433a82df5c70c2219901ec14adf9429f..44a6fcab180ff4cf8e5c62ad06b83a359e483440 100644 (file)
   gEfiSourceLevelDebugPkgTokenSpaceGuid.PcdDebugLoadImageMethod|2\r
 !endif\r
 \r
+  #\r
+  # Set SMM stack size to 16 KB.\r
+  #\r
+  gUefiCpuPkgTokenSpaceGuid.PcdCpuSmmStackSize|0x4000\r
+\r
 [PcdsFixedAtBuild.IA32.PEIM, PcdsFixedAtBuild.IA32.PEI_CORE, PcdsFixedAtBuild.IA32.SEC]\r
 !if $(TARGET) == RELEASE\r
   gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x0\r
index 042a35b2b70375b18e269076c2d29fa069f8adf7..0217a2818f1a10680d771520aa96857540ad463e 100644 (file)
   gEfiSourceLevelDebugPkgTokenSpaceGuid.PcdDebugLoadImageMethod|2\r
 !endif\r
 \r
+  #\r
+  # Set SMM stack size to 16 KB.\r
+  #\r
+  gUefiCpuPkgTokenSpaceGuid.PcdCpuSmmStackSize|0x4000\r
+\r
 [PcdsFixedAtBuild.IA32]\r
 !if $(TARGET) == RELEASE\r
   gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x0\r