]> git.proxmox.com Git - mirror_edk2.git/blame - RedfishPkg/RedfishPkg.dec
RedfishPkg/RefishCrtLib: Public RefishCrtLib
[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
35f87da8 5# (C) Copyright 2021 Hewlett Packard Enterprise Development LP<BR>\r
c63e1305
AC
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
35f87da8
AC
53 ## @libraryclass Provides the library functions to encode/decode\r
54 # Redfish packet.\r
55 #\r
56 RedfishContentCodingLib|Include/Library/RedfishContentCodingLib.h\r
57\r
6e9233f9
AC
58[LibraryClasses.Common.Private]\r
59 ## @libraryclass Provides the private C runtime library functions.\r
60 # CRT library is currently used by edk2 JsonLib (open source\r
61 # jansson project) and edk2 RedfishLib (libredfish open source\r
62 # project).\r
7311e964 63 RedfishCrtLib|Include/Library/RedfishCrtLib.h\r
6e9233f9 64\r
4751a48a
AC
65 ## @libraryclass Redfish Helper Library\r
66 # Library provides Redfish helper functions.\r
67 RedfishLib|PrivateInclude/Library/RedfishLib.h\r
68\r
ffddac3e 69[Protocols]\r
2255a2b1
AC
70 ## Include/Protocol/EdkIIRedfishCredential.h\r
71 gEdkIIRedfishCredentialProtocolGuid = { 0x8804377, 0xaf7a, 0x4496, { 0x8a, 0x7b, 0x17, 0x59, 0x0, 0xe9, 0xab, 0x46 } }\r
72\r
69637f91
AC
73 ## Include/Protocol/Edk2RedfishConfigHandler.h\r
74 gEdkIIRedfishConfigHandlerProtocolGuid = { 0xbc0fe6bb, 0x2cc9, 0x463e, { 0x90, 0x82, 0xfa, 0x11, 0x76, 0xfc, 0x67, 0xde } }\r
75\r
c63e1305
AC
76[Guids]\r
77 gEfiRedfishPkgTokenSpaceGuid = { 0x4fdbccb7, 0xe829, 0x4b4c, { 0x88, 0x87, 0xb2, 0x3f, 0xd7, 0x25, 0x4b, 0x85 }}\r
78\r
a4d2ddb9
AC
79[PcdsFixedAtBuild, PcdsPatchableInModule]\r
80 #\r
81 # This PCD is the UEFI device path which is used as the Redfish host interface.\r
82 #\r
83 gEfiRedfishPkgTokenSpaceGuid.PcdRedfishRestExServiceDevicePath|{0x0}|REST_EX_SERVICE_DEVICE_PATH_DATA|0x00001000 {\r
84 <HeaderFiles>\r
85 Pcd/RestExServiceDevicePath.h\r
86 <Packages>\r
87 MdePkg/MdePkg.dec\r
88 MdeModulePkg/MdeModulePkg.dec\r
89 RedfishPkg/RedfishPkg.dec\r
90 }\r
91 #\r
92 # This PCD indicates the EFI REST EX access mode to Redfish service.\r
93 # Default is set to out of band access.\r
94 #\r
95 gEfiRedfishPkgTokenSpaceGuid.PcdRedfishRestExServiceAccessModeInBand|FALSE|BOOLEAN|0x00001001\r
96 #\r
97 # This PCD indicates the access mode EFI Discover protocol uses to look for the proper EFI REST EX\r
98 # protocol instance.\r
99 #\r
100 gEfiRedfishPkgTokenSpaceGuid.PcdRedfishDiscoverAccessModeInBand|FALSE|BOOLEAN|0x00001002\r