Files
Guo Dong 927f60e884 Add BuildFdtLib for universal payload support
New universal payload uses FDT instead HOB to pass information
from bootloader to payload. This BuildFdtLib could help build
the required FDT nodes.

Signed-off-by: Guo Dong <guo.dong@intel.com>
2025-01-10 13:19:29 -07:00

31 lines
753 B
C

/** @file
This file defines the universal payload structure for device tree.
Copyright (c) 2024, Intel Corporation. All rights reserved.<BR>
SPDX-License-Identifier: BSD-2-Clause-Patent
@par Revision Reference:
- Universal Payload Specification 0.8 (https://universalpayload.github.io/spec/)
**/
#ifndef UNIVERSAL_PAYLOAD_DEVICE_TREE_H_
#define UNIVERSAL_PAYLOAD_DEVICE_TREE_H_
#include <Uefi.h>
#include <UniversalPayload/UniversalPayload.h>
#pragma pack (1)
typedef struct {
UNIVERSAL_PAYLOAD_GENERIC_HEADER Header;
EFI_PHYSICAL_ADDRESS DeviceTreeAddress;
} UNIVERSAL_PAYLOAD_DEVICE_TREE;
#pragma pack()
#define UNIVERSAL_PAYLOAD_DEVICE_TREE_REVISION 1
extern GUID gUniversalPayloadDeviceTreeGuid;
#endif