summaryrefslogtreecommitdiffstats
path: root/MdePkg/Library
diff options
context:
space:
mode:
authorqhuang8 <qhuang8@6f19259b-4bc3-4df7-8a09-765794883524>2010-03-23 09:15:25 +0000
committerqhuang8 <qhuang8@6f19259b-4bc3-4df7-8a09-765794883524>2010-03-23 09:15:25 +0000
commitfc5de6be8b50a00b55cb0fdc310f02c057866e01 (patch)
tree3e0db3a4d5ae4e5547b1cd3f8ae82aab722184d1 /MdePkg/Library
parentf46d494a8ebe334a314879fcee80921f97d2dfae (diff)
downloadedk2-fc5de6be8b50a00b55cb0fdc310f02c057866e01.tar.gz
edk2-fc5de6be8b50a00b55cb0fdc310f02c057866e01.tar.bz2
edk2-fc5de6be8b50a00b55cb0fdc310f02c057866e01.zip
Remove obsolete BuildCapsuleHob() function in DxeCoreHobLib.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10306 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'MdePkg/Library')
-rw-r--r--MdePkg/Library/DxeCoreHobLib/HobLib.c27
1 files changed, 1 insertions, 26 deletions
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<BR>
+Copyright (c) 2006 - 2010, Intel Corporation<BR>
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);
-}