[edk2-devel] [edk2-platforms Patch 4/4] QuarkPkatformPkg: Update MemoryTypeInformation to reduce reboots

Ni, Ray ray.ni at intel.com
Tue Jul 2 01:54:04 UTC 2019


Reviewed-by: Ray Ni <ray.ni at intel.com>

> -----Original Message-----
> From: devel at edk2.groups.io <devel at edk2.groups.io> On Behalf Of Michael
> D Kinney
> Sent: Tuesday, July 2, 2019 7:01 AM
> To: devel at edk2.groups.io
> Cc: Sun, Zailiang <zailiang.sun at intel.com>; Qian, Yi <yi.qian at intel.com>; Ni,
> Ray <ray.ni at intel.com>; Steele, Kelly <kelly.steele at intel.com>
> Subject: [edk2-devel] [edk2-platforms Patch 4/4] QuarkPkatformPkg:
> Update MemoryTypeInformation to reduce reboots
> 
> Adjust size of bins in Memory Type Information HOB to eliminate extra
> reboot after first boot.
> 
> Cc: Zailiang Sun <zailiang.sun at intel.com>
> Cc: Yi Qian <yi.qian at intel.com>
> Cc: Ray Ni <ray.ni at intel.com>
> Cc: Kelly Steele <kelly.steele at intel.com>
> Signed-off-by: Michael D Kinney <michael.d.kinney at intel.com>
> ---
>  .../Platform/Pei/PlatformInit/MrcWrapper.h               | 9 ++++-----
>  1 file changed, 4 insertions(+), 5 deletions(-)
> 
> diff --git
> a/Platform/Intel/QuarkPlatformPkg/Platform/Pei/PlatformInit/MrcWrapper.
> h
> b/Platform/Intel/QuarkPlatformPkg/Platform/Pei/PlatformInit/MrcWrapper.
> h
> index e24eb4b475..129330d954 100644
> ---
> a/Platform/Intel/QuarkPlatformPkg/Platform/Pei/PlatformInit/MrcWrapper.
> h
> +++
> b/Platform/Intel/QuarkPlatformPkg/Platform/Pei/PlatformInit/MrcWrapp
> +++ er.h
> @@ -1,7 +1,7 @@
>  /** @file
>  Framework PEIM to initialize memory on an DDR2 SDRAM Memory
> Controller.
> 
> -Copyright (c) 2013 - 2016 Intel Corporation.
> +Copyright (c) 2013 - 2019 Intel Corporation.
> 
>  SPDX-License-Identifier: BSD-2-Clause-Patent
> 
> @@ -16,12 +16,11 @@ SPDX-License-Identifier: BSD-2-Clause-Patent  //  //
> Define the default memory areas required  //
> -#define EDKII_RESERVED_SIZE_PAGES         0x20
> -#define ACPI_NVS_SIZE_PAGES               0x60
> -#define RUNTIME_SERVICES_DATA_SIZE_PAGES  0x20
> +#define EDKII_RESERVED_SIZE_PAGES         0x40
> +#define ACPI_NVS_SIZE_PAGES               0x40
> +#define RUNTIME_SERVICES_DATA_SIZE_PAGES  0xC0
>  #define RUNTIME_SERVICES_CODE_SIZE_PAGES  0x80
>  #define ACPI_RECLAIM_SIZE_PAGES           0x20
> -#define EDKII_DXE_MEM_SIZE_PAGES          0x20
> 
>  //
>  // Maximum number of "Socket Sets", where a "Socket Set is a set of
> matching
> --
> 2.21.0.windows.1
> 
> 
> 


-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.

View/Reply Online (#43141): https://edk2.groups.io/g/devel/message/43141
Mute This Topic: https://groups.io/mt/32280703/1813853
Group Owner: devel+owner at edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub  [edk2-devel-archive at redhat.com]
-=-=-=-=-=-=-=-=-=-=-=-





More information about the edk2-devel-archive mailing list