]>
Commit | Line | Data |
---|---|---|
82f727c4 ZL |
1 | /** @file\r |
2 | Provides a service to retrieve a pointer to the start of HOB list.\r | |
3 | Only available to DXE module types.\r | |
4 | \r | |
5 | This library does not contain any functions or macros. It simply exports a global\r | |
6 | pointer to the start of HOB list as defined in the Platform Initialization Driver\r | |
7 | Execution Environment Core Interface Specification. The library constructor must\r | |
8 | initialize this global pointer to the start of HOB list, so it is available at the\r | |
9 | module's entry point. Since there is overhead in looking up the pointer to the start\r | |
10 | of HOB list, only those modules that actually require access to the HOB list\r | |
11 | should use this library.\r | |
12 | \r | |
13 | Copyright (c) 2021, Intel Corporation. All rights reserved.<BR>\r | |
14 | SPDX-License-Identifier: BSD-2-Clause-Patent\r | |
15 | \r | |
16 | **/\r | |
17 | \r | |
6ef57974 GD |
18 | #ifndef DXE_HOB_LIST_LIB_H_\r |
19 | #define DXE_HOB_LIST_LIB_H_\r | |
82f727c4 ZL |
20 | \r |
21 | ///\r | |
22 | /// Cache copy of the start of HOB list\r | |
23 | ///\r | |
24 | extern VOID *gHobList;\r | |
25 | \r | |
26 | #endif\r |