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>
29 lines
759 B
C
29 lines
759 B
C
/** @file
|
|
Bootloader Platform Support library. Platform can provide an implementation of this
|
|
library class to provide hooks that may be required for some type of
|
|
platform features.
|
|
|
|
Copyright (c) 2016 - 2019, Intel Corporation. All rights reserved.<BR>
|
|
SPDX-License-Identifier: BSD-2-Clause-Patent
|
|
|
|
**/
|
|
|
|
#ifndef BOOTLOADER_PLATFORM_SUPPORT_LIB_
|
|
#define BOOTLOADER_PLATFORM_SUPPORT_LIB_
|
|
|
|
/**
|
|
Parse platform specific information from bootloader
|
|
|
|
@retval RETURN_SUCCESS The platform specific coreboot support succeeded.
|
|
@retval RETURN_DEVICE_ERROR The platform specific coreboot support could not be completed.
|
|
|
|
**/
|
|
EFI_STATUS
|
|
EFIAPI
|
|
ParsePlatformInfo (
|
|
VOID
|
|
);
|
|
|
|
#endif // __BOOTLOADER_PLATFORM_SUPPORT_LIB__
|
|
|