]> git.proxmox.com Git - mirror_edk2.git/commitdiff
Remove obsolete BuildCapsuleHob() function in DxeCoreHobLib.
authorqhuang8 <qhuang8@6f19259b-4bc3-4df7-8a09-765794883524>
Tue, 23 Mar 2010 09:15:25 +0000 (09:15 +0000)
committerqhuang8 <qhuang8@6f19259b-4bc3-4df7-8a09-765794883524>
Tue, 23 Mar 2010 09:15:25 +0000 (09:15 +0000)
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10306 6f19259b-4bc3-4df7-8a09-765794883524

MdePkg/Library/DxeCoreHobLib/HobLib.c

index 2bbc04a31372244507bf1fbd93aa117c590619f3..1698dfd5b10f114da430496a3f0a9298e496647f 100644 (file)
@@ -1,7 +1,7 @@
 /** @file\r
   HOB Library implementation for DxeCore driver.\r
 \r
-Copyright (c) 2006 - 2008, Intel Corporation<BR>\r
+Copyright (c) 2006 - 2010, Intel Corporation<BR>\r
 All rights reserved. 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
@@ -528,28 +528,3 @@ BuildMemoryAllocationHob (
   //\r
   ASSERT (FALSE);\r
 }\r
-\r
-/**\r
-  Builds an UEFI Capsule HOB.\r
-\r
-  This function builds an UEFI Capsule HOB.\r
-  It can only be invoked during PEI phase;\r
-  for DXE phase, it will ASSERT() since PEI HOB is read-only for DXE phase.\r
-  If there is no additional space for HOB creation, then ASSERT().\r
-\r
-  @param  BaseAddress   The physical memory-mapped base address of an UEFI capsule.\r
-  @param  Length        The length of the contiguous memory in bytes.\r
-\r
-**/\r
-VOID\r
-EFIAPI\r
-BuildCapsuleHob (\r
-  IN EFI_PHYSICAL_ADDRESS        BaseAddress,\r
-  IN UINT64                      Length\r
-  )\r
-{\r
-  //\r
-  // PEI HOB is read only for DXE phase\r
-  //\r
-  ASSERT (FALSE);\r
-}\r