summaryrefslogtreecommitdiffstats
path: root/UefiPayloadPkg/Include/Library/DxeHobListLib.h
blob: 7e9b23f6d780a744e1e4239ec737aec50e01a3c1 (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
  Provides a service to retrieve a pointer to the start of HOB list.
  Only available to DXE module types.

  This library does not contain any functions or macros.  It simply exports a global
  pointer to the start of HOB list as defined in the Platform Initialization Driver
  Execution Environment Core Interface Specification.  The library constructor must
  initialize this global pointer to the start of HOB list, so it is available at the
  module's entry point.  Since there is overhead in looking up the pointer to the start
  of HOB list, only those modules that actually require access to the HOB list
  should use this library.

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

**/

#ifndef __DXE_HOB_LIST_LIB_H__
#define __DXE_HOB_LIST_LIB_H__

///
/// Cache copy of the start of HOB list
///
extern VOID  *gHobList;

#endif