From: qhuang8 Date: Tue, 23 Mar 2010 09:15:25 +0000 (+0000) Subject: Remove obsolete BuildCapsuleHob() function in DxeCoreHobLib. X-Git-Tag: edk2-stable201903~16032 X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=commitdiff_plain;h=fc5de6be8b50a00b55cb0fdc310f02c057866e01 Remove obsolete BuildCapsuleHob() function in DxeCoreHobLib. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10306 6f19259b-4bc3-4df7-8a09-765794883524 --- diff --git a/MdePkg/Library/DxeCoreHobLib/HobLib.c b/MdePkg/Library/DxeCoreHobLib/HobLib.c index 2bbc04a313..1698dfd5b1 100644 --- a/MdePkg/Library/DxeCoreHobLib/HobLib.c +++ b/MdePkg/Library/DxeCoreHobLib/HobLib.c @@ -1,7 +1,7 @@ /** @file HOB Library implementation for DxeCore driver. -Copyright (c) 2006 - 2008, Intel Corporation
+Copyright (c) 2006 - 2010, Intel Corporation
All rights reserved. This program and the accompanying materials are licensed and made available under the terms and conditions of the BSD License which accompanies this distribution. The full text of the license may be found at @@ -528,28 +528,3 @@ BuildMemoryAllocationHob ( // ASSERT (FALSE); } - -/** - Builds an UEFI Capsule HOB. - - This function builds an UEFI Capsule HOB. - It can only be invoked during PEI phase; - for DXE phase, it will ASSERT() since PEI HOB is read-only for DXE phase. - If there is no additional space for HOB creation, then ASSERT(). - - @param BaseAddress The physical memory-mapped base address of an UEFI capsule. - @param Length The length of the contiguous memory in bytes. - -**/ -VOID -EFIAPI -BuildCapsuleHob ( - IN EFI_PHYSICAL_ADDRESS BaseAddress, - IN UINT64 Length - ) -{ - // - // PEI HOB is read only for DXE phase - // - ASSERT (FALSE); -}