summaryrefslogtreecommitdiff
path: root/MdePkg/Library/DxeHobLib
diff options
context:
space:
mode:
Diffstat (limited to 'MdePkg/Library/DxeHobLib')
-rw-r--r--MdePkg/Library/DxeHobLib/HobLib.c25
1 files changed, 0 insertions, 25 deletions
diff --git a/MdePkg/Library/DxeHobLib/HobLib.c b/MdePkg/Library/DxeHobLib/HobLib.c
index 9de92ef3be..61a8fba9a2 100644
--- a/MdePkg/Library/DxeHobLib/HobLib.c
+++ b/MdePkg/Library/DxeHobLib/HobLib.c
@@ -562,28 +562,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);
-}