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 <kelly.steele@intel.com>
Cc: Jiewen Yao <jiewen.yao@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Michael Kinney <michael.d.kinney@intel.com>
Reviewed-by: Jiewen Yao <jiewen.yao@intel.com>
Reviewed-by: Kelly Steele <kelly.steele@intel.com>

git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@19618 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
Michael Kinney 2016-01-07 22:31:13 +00:00 committed by mdkinney
parent 655dabe338
commit 8b43c84e2d
1 changed files with 5 additions and 5 deletions

View File

@ -1,7 +1,7 @@
/** @file /** @file
Framework PEIM to initialize memory on an DDR2 SDRAM Memory Controller. 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 This program and the accompanying materials
are licensed and made available under the terms and conditions of the BSD License 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 the default memory areas required
// //
#define EDKII_RESERVED_SIZE_PAGES 0x40 #define EDKII_RESERVED_SIZE_PAGES 0x20
#define ACPI_NVS_SIZE_PAGES 0x40 #define ACPI_NVS_SIZE_PAGES 0x60
#define RUNTIME_SERVICES_DATA_SIZE_PAGES 0x20 #define RUNTIME_SERVICES_DATA_SIZE_PAGES 0x20
#define RUNTIME_SERVICES_CODE_SIZE_PAGES 0x60 #define RUNTIME_SERVICES_CODE_SIZE_PAGES 0x80
#define ACPI_RECLAIM_SIZE_PAGES 0x10 #define ACPI_RECLAIM_SIZE_PAGES 0x20
#define EDKII_DXE_MEM_SIZE_PAGES 0x20 #define EDKII_DXE_MEM_SIZE_PAGES 0x20
#define AP_STARTUP_VECTOR 0x00097000 #define AP_STARTUP_VECTOR 0x00097000