summaryrefslogtreecommitdiff
path: root/IntelFsp2WrapperPkg/Include/Guid/FspImageBaseHob.h
blob: 9688d9d1d866f09e302ccb0948e41a28e5af4c26 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
/** @file
  HOB with the FSP_INFO_HEADER.ImageBase value of an FSP component as
  found before the FSP wrapper wrote the load address into that field.

  Copyright (c) 2026, Intel Corporation. All rights reserved.<BR>
  SPDX-License-Identifier: BSD-2-Clause-Patent

**/

#pragma once

#define FSP_IMAGE_BASE_HOB_GUID \
  { 0x5acef3e9, 0x597b, 0x435d, { 0x93, 0xd2, 0x91, 0x1c, 0x11, 0xe6, 0x52, 0x5c } }

typedef struct {
  ///
  /// Base address of the FSP component in memory. This is the value the
  /// FSP wrapper wrote into FSP_INFO_HEADER.ImageBase.
  ///
  UINT32    FspBase;
  ///
  /// FSP_INFO_HEADER.ImageBase before the FSP wrapper wrote FspBase into it.
  ///
  UINT32    OriginalImageBase;
} FSP_IMAGE_BASE_HOB;

extern EFI_GUID  gFspImageBaseHobGuid;