UefiPayloadPkg: Fix ECC reported issues
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>
This commit is contained in:
@@ -6,8 +6,8 @@
|
||||
|
||||
**/
|
||||
|
||||
#ifndef __ACPI_BOARD_INFO_GUID_H__
|
||||
#define __ACPI_BOARD_INFO_GUID_H__
|
||||
#ifndef ACPI_BOARD_INFO_GUID_H_
|
||||
#define ACPI_BOARD_INFO_GUID_H_
|
||||
|
||||
///
|
||||
/// Board information GUID
|
||||
|
@@ -6,8 +6,8 @@
|
||||
|
||||
**/
|
||||
|
||||
#ifndef __MEMORY_MAP_INFO_GUID_H__
|
||||
#define __MEMORY_MAP_INFO_GUID_H__
|
||||
#ifndef MEMORY_MAP_INFO_GUID_H_
|
||||
#define MEMORY_MAP_INFO_GUID_H_
|
||||
|
||||
#include <Library/PcdLib.h>
|
||||
|
||||
|
@@ -6,8 +6,8 @@
|
||||
|
||||
**/
|
||||
|
||||
#ifndef __SERIAL_PORT_INFO_GUID_H__
|
||||
#define __SERIAL_PORT_INFO_GUID_H__
|
||||
#ifndef SERIAL_PORT_INFO_GUID_H_
|
||||
#define SERIAL_PORT_INFO_GUID_H_
|
||||
|
||||
///
|
||||
/// Serial Port Information GUID
|
||||
|
@@ -6,8 +6,8 @@
|
||||
|
||||
**/
|
||||
|
||||
#ifndef __SYSTEM_TABLE_INFO_GUID_H__
|
||||
#define __SYSTEM_TABLE_INFO_GUID_H__
|
||||
#ifndef SYSTEM_TABLE_INFO_GUID_H_
|
||||
#define SYSTEM_TABLE_INFO_GUID_H_
|
||||
|
||||
///
|
||||
/// System Table Information GUID
|
||||
|
Reference in New Issue
Block a user