mirror of
https://github.com/acidanthera/audk.git
synced 2025-08-18 16:18: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>
37 lines
699 B
C
37 lines
699 B
C
/** @file
|
|
This file defines the hob structure for memory map information.
|
|
|
|
Copyright (c) 2014 - 2019, Intel Corporation. All rights reserved.<BR>
|
|
SPDX-License-Identifier: BSD-2-Clause-Patent
|
|
|
|
**/
|
|
|
|
#ifndef MEMORY_MAP_INFO_GUID_H_
|
|
#define MEMORY_MAP_INFO_GUID_H_
|
|
|
|
#include <Library/PcdLib.h>
|
|
|
|
///
|
|
/// Memory Map Information GUID
|
|
///
|
|
extern EFI_GUID gLoaderMemoryMapInfoGuid;
|
|
|
|
#pragma pack(1)
|
|
typedef struct {
|
|
UINT64 Base;
|
|
UINT64 Size;
|
|
UINT8 Type;
|
|
UINT8 Flag;
|
|
UINT8 Reserved[6];
|
|
} MEMORY_MAP_ENTRY;
|
|
|
|
typedef struct {
|
|
UINT8 Revision;
|
|
UINT8 Reserved0[3];
|
|
UINT32 Count;
|
|
MEMORY_MAP_ENTRY Entry[0];
|
|
} MEMORY_MAP_INFO;
|
|
#pragma pack()
|
|
|
|
#endif
|