]> git.proxmox.com Git - mirror_edk2.git/blame - EmbeddedPkg/Include/Guid/PlatformHasDeviceTree.h
EmbeddedPkg: introduce EDKII Platform Has Device Tree GUID
[mirror_edk2.git] / EmbeddedPkg / Include / Guid / PlatformHasDeviceTree.h
CommitLineData
65a69b21
LE
1/** @file\r
2 EDKII Platform Has Device Tree GUID\r
3\r
4 A NULL protocol instance with this GUID in the DXE protocol database, and/or\r
5 a NULL PPI with this GUID in the PPI database, implies that the platform\r
6 provides the operating system with a Device Tree-based hardware description.\r
7 Note that this is not necessarily exclusive with different kinds of hardware\r
8 description (for example, an ACPI-based one). A platform driver and/or PEIM\r
9 is supposed to produce a single instance of the protocol and/or PPI (with\r
10 NULL contents), if appropriate.\r
11\r
12 Copyright (C) 2017, Red Hat, Inc.\r
13\r
14 This program and the accompanying materials are licensed and made available\r
15 under the terms and conditions of the BSD License that accompanies this\r
16 distribution. The full text of the license may be found at\r
17 http://opensource.org/licenses/bsd-license.php.\r
18\r
19 THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, WITHOUT\r
20 WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
21**/\r
22\r
23\r
24#ifndef __EDKII_PLATFORM_HAS_DEVICE_TREE_H__\r
25#define __EDKII_PLATFORM_HAS_DEVICE_TREE_H__\r
26\r
27#define EDKII_PLATFORM_HAS_DEVICE_TREE_GUID \\r
28 { \\r
29 0x7ebb920d, 0x1aaf, 0x46d9, \\r
30 { 0xb2, 0xaf, 0x54, 0x1e, 0x1d, 0xce, 0x14, 0x8b } \\r
31 }\r
32\r
33extern EFI_GUID gEdkiiPlatformHasDeviceTreeGuid;\r
34\r
35#endif\r