]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdePkg/Library/PeiHobLib/HobLib.c
Partial checkin fixing Beagle references
[mirror_edk2.git] / MdePkg / Library / PeiHobLib / HobLib.c
index 5ffc8549b470b0e3eff44bd593ee8561e617c12b..1815ddf530ff429ac7aeb209023109ab312a3192 100644 (file)
@@ -1,7 +1,7 @@
 /** @file\r
   Provide Hob Library functions for Pei phase.\r
 \r
-Copyright (c) 2007 - 2008, Intel Corporation<BR>\r
+Copyright (c) 2007 - 2009, 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
@@ -489,7 +489,12 @@ BuildCvHob (
   IN UINT64                      Length\r
   )\r
 {\r
-  ASSERT (FALSE);\r
+  EFI_HOB_UEFI_CAPSULE  *Hob;\r
+\r
+  Hob = InternalPeiCreateHob (EFI_HOB_TYPE_UEFI_CAPSULE, sizeof (EFI_HOB_UEFI_CAPSULE));\r
+\r
+  Hob->BaseAddress  = BaseAddress;\r
+  Hob->Length       = Length;\r
 }\r
 \r
 /**\r