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