]> git.proxmox.com Git - mirror_edk2.git/blobdiff - OvmfPkg/Csm/Include/Framework/Hob.h
OvmfPkg: Copy the required CSM components from framework packages
[mirror_edk2.git] / OvmfPkg / Csm / Include / Framework / Hob.h
diff --git a/OvmfPkg/Csm/Include/Framework/Hob.h b/OvmfPkg/Csm/Include/Framework/Hob.h
new file mode 100644 (file)
index 0000000..f6a71fa
--- /dev/null
@@ -0,0 +1,28 @@
+/** @file\r
+  This file defines the data structures per HOB specification v0.9.\r
+\r
+Copyright (c) 2007 - 2018, Intel Corporation. All rights reserved.<BR>\r
+SPDX-License-Identifier: BSD-2-Clause-Patent\r
+\r
+  @par Revision Reference:\r
+  These definitions are from the HOB Spec 0.9 that were not adopted by the PI specifications.\r
+\r
+**/\r
+\r
+#ifndef _HOB_H_\r
+#define _HOB_H_\r
+\r
+///\r
+/// Capsule volume HOB -- identical to a firmware volume.\r
+/// This macro is defined to comply with the hob Framework Spec. And the marco was\r
+/// retired in the PI1.0 specification.\r
+///\r
+#define EFI_HOB_TYPE_CV           0x0008\r
+\r
+typedef struct {\r
+  EFI_HOB_GENERIC_HEADER            Header;\r
+  EFI_PHYSICAL_ADDRESS              BaseAddress;\r
+  UINT64                            Length;\r
+} EFI_HOB_CAPSULE_VOLUME;\r
+\r
+#endif\r