]> git.proxmox.com Git - mirror_edk2.git/commitdiff
If RSC_HANDLER_CALLBACK_ENTRY is allocated as boot service memory, the status code...
authorli-elvin <li-elvin@6f19259b-4bc3-4df7-8a09-765794883524>
Wed, 26 Jan 2011 07:57:13 +0000 (07:57 +0000)
committerli-elvin <li-elvin@6f19259b-4bc3-4df7-8a09-765794883524>
Wed, 26 Jan 2011 07:57:13 +0000 (07:57 +0000)
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11274 6f19259b-4bc3-4df7-8a09-765794883524

MdeModulePkg/Universal/ReportStatusCodeRouter/RuntimeDxe/ReportStatusCodeRouterRuntimeDxe.c

index 8187711bb9d3204f66b7cf74de83382ea15ba8fd..86809307238e8a15db3d056fd08354b80d056308 100644 (file)
@@ -2,7 +2,7 @@
   Report Status Code Router Driver which produces Report Stataus Code Handler Protocol\r
   and Status Code Runtime Protocol.\r
 \r
-  Copyright (c) 2009, Intel Corporation. All rights reserved.<BR>\r
+  Copyright (c) 2009 - 2011, Intel Corporation. All rights reserved.<BR>\r
   This program and the accompanying materials\r
   are licensed and made available under the terms and conditions of the BSD License\r
   which accompanies this distribution.  The full text of the license may be found at\r
@@ -130,7 +130,7 @@ Register (
     }\r
   }\r
 \r
-  CallbackEntry = AllocateZeroPool (sizeof (RSC_HANDLER_CALLBACK_ENTRY));\r
+  CallbackEntry = AllocateRuntimeZeroPool (sizeof (RSC_HANDLER_CALLBACK_ENTRY));\r
   ASSERT (CallbackEntry != NULL);\r
 \r
   CallbackEntry->Signature          = RSC_HANDLER_CALLBACK_ENTRY_SIGNATURE;\r