2007-06-15 12:02:42 +02:00
|
|
|
/** @file
|
|
|
|
This file defines the data structures per HOB specification v0.9.
|
|
|
|
|
2009-07-02 09:40:24 +02:00
|
|
|
Copyright (c) 2007 - 2009, Intel Corporation
|
2007-06-15 12:02:42 +02:00
|
|
|
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
|
|
|
|
http://opensource.org/licenses/bsd-license.php
|
|
|
|
|
|
|
|
THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
|
|
|
|
WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
|
|
|
|
|
|
|
|
@par Revision Reference:
|
|
|
|
These definitions are from HOB Spec 0.9 but not adopted by PI specs.
|
|
|
|
|
|
|
|
**/
|
|
|
|
|
2009-07-13 11:28:00 +02:00
|
|
|
#ifndef _HOB_H_
|
|
|
|
#define _HOB_H_
|
2007-06-15 12:02:42 +02:00
|
|
|
|
2009-07-02 09:40:24 +02:00
|
|
|
///
|
|
|
|
/// Capsule volume HOB -- identical to a firmware volume
|
2009-07-09 11:17:18 +02:00
|
|
|
/// This macro is defined to comply with hob Framework Spec. And the marco has been
|
|
|
|
/// retired in PI1.0 spec.
|
2009-07-02 09:40:24 +02:00
|
|
|
///
|
2009-03-16 11:29:27 +01:00
|
|
|
#define EFI_HOB_TYPE_CV 0x0008
|
2007-06-15 12:02:42 +02:00
|
|
|
|
|
|
|
typedef struct {
|
2009-03-16 11:29:27 +01:00
|
|
|
EFI_HOB_GENERIC_HEADER Header;
|
|
|
|
EFI_PHYSICAL_ADDRESS BaseAddress;
|
|
|
|
UINT64 Length;
|
2007-06-15 12:02:42 +02:00
|
|
|
} EFI_HOB_CAPSULE_VOLUME;
|
|
|
|
|
|
|
|
#endif
|