MdeModulePkg/MemoryStatusCode: Expose the DXE memory status code table.

Let data of DXE memory status code can be used by other modules.
1. Save the address of DXE memory status code table to DxeConfigurationTable.
2. Save the address of SMM memory status code table to SmmConfigurationTable.
3. Move RUNTIME_MEMORY_STATUSCODE_HEADER to its public header file.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Cinnamon Shia <cinnamon.shia@hpe.com>
Reviewed-by: Liming Gao <liming.gao@intel.com>
This commit is contained in:
Cinnamon Shia
2016-06-28 17:40:35 +08:00
committed by Liming Gao
parent c99bcf3d8a
commit 848e147239
7 changed files with 73 additions and 49 deletions

View File

@@ -2,6 +2,7 @@
# Status Code Handler Driver which produces general handlers and hook them onto the SMM status code router.
#
# Copyright (c) 2009 - 2014, Intel Corporation. All rights reserved.<BR>
# (C) Copyright 2016 Hewlett Packard Enterprise Development LP<BR>
#
# This program and the accompanying materials
# are licensed and made available under the terms and conditions of the BSD License
@@ -49,9 +50,10 @@
DebugLib
MemoryAllocationLib
BaseMemoryLib
[Guids]
gEfiStatusCodeDataTypeStringGuid ## SOMETIMES_CONSUMES ## UNDEFINED
gMemoryStatusCodeRecordGuid ## SOMETIMES_PRODUCES ## UNDEFINED # SmmSystemTable
[Protocols]
gEfiSmmRscHandlerProtocolGuid ## CONSUMES