]> git.proxmox.com Git - mirror_edk2.git/blame - RedfishPkg/RedfishPkg.dec
RedfishPkg/Include: EDKII Redfish Config Handler Protocol header file
[mirror_edk2.git] / RedfishPkg / RedfishPkg.dec
CommitLineData
c63e1305
AC
1## @file\r
2# Redfish Package\r
3#\r
4# Copyright (c) 2019, Intel Corporation. All rights reserved.<BR>\r
5# (C) Copyright 2020 Hewlett Packard Enterprise Development LP<BR>\r
6#\r
7# SPDX-License-Identifier: BSD-2-Clause-Patent\r
8##\r
9\r
10[Defines]\r
11 DEC_SPECIFICATION = 0x0001001b\r
12 PACKAGE_NAME = RedfishPkg\r
13 PACKAGE_GUID = c432b76e-5232-11e7-9010-005056c00008\r
14 PACKAGE_VERSION = 1.0\r
15\r
b9b7406c
AC
16[Includes]\r
17 Include\r
18\r
6e9233f9
AC
19[Includes.Common.Private]\r
20 PrivateInclude # Private header files for C RTL.\r
21 PrivateInclude/Crt # Private header files for C RTL.\r
ea830b96
AC
22 Library/JsonLib # Private header files for jansson\r
23 # configuration files.\r
24 # - jansson_config.h\r
25 # - jansson_private_config.h\r
26 # jansson.h refers to above two configuration\r
27 # files for building platform jansson library.\r
28 Library/JsonLib/jansson/src # For referring to jannson.h\r
6e9233f9 29\r
1946bee2
AC
30[LibraryClasses]\r
31 ## @libraryclass Platform Redfish Host Interface Library\r
32 # Platform implementation-specific Redfish Host Interface.\r
33 RedfishPlatformHostInterfaceLib|Include/Library/RedfishHostInterfaceLib.h\r
6e9233f9 34\r
805b8b88
AC
35 ## @libraryclass This library provides UCS2 to UTF8 manipulation\r
36 # functions.\r
37 #\r
38 Ucs2Utf8Lib|Include/Library/BaseUcs2Utf8Lib.h\r
1946bee2 39\r
e6ae24e1
AC
40 ## @libraryclass Platform Redfish Credential Library\r
41 # Platform implementation-specific Redfish Credential Interface.\r
42 RedfishPlatformCredentialLib|Include/Library/RedfishCredentialLib.h\r
43\r
140674a4
AC
44 ## @libraryclass The helper routines to access REST EX service.\r
45 # This library is only intended to be used by UEFI network stack modules.\r
46 RestExLib|Include/Library/RestExLib.h\r
47\r
ea830b96
AC
48 ## @libraryclass Provides the library functions based on third party\r
49 # jansson library to manipulate JSON data structure.\r
50 #\r
51 JsonLib|Include/Library/JsonLib.h\r
52\r
6e9233f9
AC
53[LibraryClasses.Common.Private]\r
54 ## @libraryclass Provides the private C runtime library functions.\r
55 # CRT library is currently used by edk2 JsonLib (open source\r
56 # jansson project) and edk2 RedfishLib (libredfish open source\r
57 # project).\r
58 RedfishCrtLib|PrivateInclude/Library/RedfishCrtLib.h\r
59\r
ffddac3e
AC
60[Protocols]\r
61 ## Include/Protocol/RedfishDiscover.h\r
62 gEfiRedfishDiscoverProtocolGuid = { 0x5db12509, 0x4550, 0x4347, { 0x96, 0xb3, 0x73, 0xc0, 0xff, 0x6e, 0x86, 0x9f }}\r
63\r
2255a2b1
AC
64 ## Include/Protocol/EdkIIRedfishCredential.h\r
65 gEdkIIRedfishCredentialProtocolGuid = { 0x8804377, 0xaf7a, 0x4496, { 0x8a, 0x7b, 0x17, 0x59, 0x0, 0xe9, 0xab, 0x46 } }\r
66\r
69637f91
AC
67 ## Include/Protocol/Edk2RedfishConfigHandler.h\r
68 gEdkIIRedfishConfigHandlerProtocolGuid = { 0xbc0fe6bb, 0x2cc9, 0x463e, { 0x90, 0x82, 0xfa, 0x11, 0x76, 0xfc, 0x67, 0xde } }\r
69\r
c63e1305
AC
70[Guids]\r
71 gEfiRedfishPkgTokenSpaceGuid = { 0x4fdbccb7, 0xe829, 0x4b4c, { 0x88, 0x87, 0xb2, 0x3f, 0xd7, 0x25, 0x4b, 0x85 }}\r
72\r
a4d2ddb9
AC
73[PcdsFixedAtBuild, PcdsPatchableInModule]\r
74 #\r
75 # This PCD is the UEFI device path which is used as the Redfish host interface.\r
76 #\r
77 gEfiRedfishPkgTokenSpaceGuid.PcdRedfishRestExServiceDevicePath|{0x0}|REST_EX_SERVICE_DEVICE_PATH_DATA|0x00001000 {\r
78 <HeaderFiles>\r
79 Pcd/RestExServiceDevicePath.h\r
80 <Packages>\r
81 MdePkg/MdePkg.dec\r
82 MdeModulePkg/MdeModulePkg.dec\r
83 RedfishPkg/RedfishPkg.dec\r
84 }\r
85 #\r
86 # This PCD indicates the EFI REST EX access mode to Redfish service.\r
87 # Default is set to out of band access.\r
88 #\r
89 gEfiRedfishPkgTokenSpaceGuid.PcdRedfishRestExServiceAccessModeInBand|FALSE|BOOLEAN|0x00001001\r
90 #\r
91 # This PCD indicates the access mode EFI Discover protocol uses to look for the proper EFI REST EX\r
92 # protocol instance.\r
93 #\r
94 gEfiRedfishPkgTokenSpaceGuid.PcdRedfishDiscoverAccessModeInBand|FALSE|BOOLEAN|0x00001002\r