]> git.proxmox.com Git - mirror_edk2.git/commitdiff
Bug fix for the runtime memory status code.
authoryshang1 <yshang1@6f19259b-4bc3-4df7-8a09-765794883524>
Wed, 19 Sep 2007 02:07:04 +0000 (02:07 +0000)
committeryshang1 <yshang1@6f19259b-4bc3-4df7-8a09-765794883524>
Wed, 19 Sep 2007 02:07:04 +0000 (02:07 +0000)
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3891 6f19259b-4bc3-4df7-8a09-765794883524

IntelFrameworkModulePkg/Universal/StatusCode/Dxe/RtMemoryStatusCodeWorker.c

index 058980d4590699d2d74a8a1cf04046f75b0db9f0..de2ccf380eba2a1b575a9deef19c8142b4cde858 100644 (file)
@@ -31,7 +31,7 @@ RtMemoryStatusCodeInitializeWorker (
   // Allocate runtime memory status code pool.\r
   //\r
   RtMemoryStatusCodeTable = \r
   // Allocate runtime memory status code pool.\r
   //\r
   RtMemoryStatusCodeTable = \r
-    (RUNTIME_MEMORY_STATUSCODE_HEADER *) AllocatePool (\r
+    (RUNTIME_MEMORY_STATUSCODE_HEADER *) AllocateRuntimePool (\r
                                            sizeof (RUNTIME_MEMORY_STATUSCODE_HEADER) +\r
                                            PcdGet16 (PcdStatusCodeRuntimeMemorySize) *\r
                                            1024\r
                                            sizeof (RUNTIME_MEMORY_STATUSCODE_HEADER) +\r
                                            PcdGet16 (PcdStatusCodeRuntimeMemorySize) *\r
                                            1024\r