mirror of
https://github.com/acidanthera/audk.git
synced 2025-08-17 23:58:12 +02:00
V2: Fix more header files on #ifdef variable ECC reported some issues on UefiPayloadPkg, this patch fixed most of them except several files including ElfLib\Elf32.h, coreboot.h, CbParseLib.c, etc. It also removed unused functions in ResetSystemLib and Hob.c. Signed-off-by: Guo Dong <guo.dong@intel.com> Cc: Ray Ni <ray.ni@intel.com> Cc: Maurice Ma <maurice.ma@intel.com> Cc: Benjamin You <benjamin.you@intel.com> Reviewed-by: Maurice Ma <maurice.ma@intel.com>
28 lines
931 B
C
28 lines
931 B
C
/** @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
|
|
|