From 8b43c84e2d971ddcb64f885efc13ffdd12f2f0f7 Mon Sep 17 00:00:00 2001 From: Michael Kinney Date: Thu, 7 Jan 2016 22:31:13 +0000 Subject: [PATCH] QuarkPlatformPkg/PlatformInit: Adjust memory bin size to avoid reboot Update memory bin sizes in Memory Type Information on first boot after FLASH update to avoid reboot when memory bins are too small when all features are enabled. Cc: Kelly Steele Cc: Jiewen Yao Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Michael Kinney Reviewed-by: Jiewen Yao Reviewed-by: Kelly Steele git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@19618 6f19259b-4bc3-4df7-8a09-765794883524 --- .../Platform/Pei/PlatformInit/MrcWrapper.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/QuarkPlatformPkg/Platform/Pei/PlatformInit/MrcWrapper.h b/QuarkPlatformPkg/Platform/Pei/PlatformInit/MrcWrapper.h index e0f06a3b0e..d2bcf5728e 100644 --- a/QuarkPlatformPkg/Platform/Pei/PlatformInit/MrcWrapper.h +++ b/QuarkPlatformPkg/Platform/Pei/PlatformInit/MrcWrapper.h @@ -1,7 +1,7 @@ /** @file Framework PEIM to initialize memory on an DDR2 SDRAM Memory Controller. -Copyright (c) 2013 Intel Corporation. +Copyright (c) 2013 - 2016 Intel Corporation. This program and the accompanying materials are licensed and made available under the terms and conditions of the BSD License @@ -22,11 +22,11 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. // // Define the default memory areas required // -#define EDKII_RESERVED_SIZE_PAGES 0x40 -#define ACPI_NVS_SIZE_PAGES 0x40 +#define EDKII_RESERVED_SIZE_PAGES 0x20 +#define ACPI_NVS_SIZE_PAGES 0x60 #define RUNTIME_SERVICES_DATA_SIZE_PAGES 0x20 -#define RUNTIME_SERVICES_CODE_SIZE_PAGES 0x60 -#define ACPI_RECLAIM_SIZE_PAGES 0x10 +#define RUNTIME_SERVICES_CODE_SIZE_PAGES 0x80 +#define ACPI_RECLAIM_SIZE_PAGES 0x20 #define EDKII_DXE_MEM_SIZE_PAGES 0x20 #define AP_STARTUP_VECTOR 0x00097000 -- 2.39.2