summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoryshang1 <yshang1@6f19259b-4bc3-4df7-8a09-765794883524>2007-09-19 02:07:04 +0000
committeryshang1 <yshang1@6f19259b-4bc3-4df7-8a09-765794883524>2007-09-19 02:07:04 +0000
commitd940d5e59fd316b9e873eef419fe4c8c715e5ee8 (patch)
tree78b6439f490d968025ae3ad8c7585352c33dff8b
parentaa7ab98849a594f3bd695caa23155e275eb30bda (diff)
downloadedk2-platforms-d940d5e59fd316b9e873eef419fe4c8c715e5ee8.tar.xz
Bug fix for the runtime memory status code.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3891 6f19259b-4bc3-4df7-8a09-765794883524
-rw-r--r--IntelFrameworkModulePkg/Universal/StatusCode/Dxe/RtMemoryStatusCodeWorker.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/IntelFrameworkModulePkg/Universal/StatusCode/Dxe/RtMemoryStatusCodeWorker.c b/IntelFrameworkModulePkg/Universal/StatusCode/Dxe/RtMemoryStatusCodeWorker.c
index 058980d459..de2ccf380e 100644
--- a/IntelFrameworkModulePkg/Universal/StatusCode/Dxe/RtMemoryStatusCodeWorker.c
+++ b/IntelFrameworkModulePkg/Universal/StatusCode/Dxe/RtMemoryStatusCodeWorker.c
@@ -31,7 +31,7 @@ RtMemoryStatusCodeInitializeWorker (
// Allocate runtime memory status code pool.
//
RtMemoryStatusCodeTable =
- (RUNTIME_MEMORY_STATUSCODE_HEADER *) AllocatePool (
+ (RUNTIME_MEMORY_STATUSCODE_HEADER *) AllocateRuntimePool (
sizeof (RUNTIME_MEMORY_STATUSCODE_HEADER) +
PcdGet16 (PcdStatusCodeRuntimeMemorySize) *
1024