]>
Commit | Line | Data |
---|---|---|
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 |
39254d92 | 6 | # Copyright (c) 2023, American Megatrends International LLC.\r |
5a0932b7 | 7 | # Copyright (c) 2023, NVIDIA CORPORATION & AFFILIATES. All rights reserved.\r |
c63e1305 AC |
8 | #\r |
9 | # SPDX-License-Identifier: BSD-2-Clause-Patent\r | |
10 | ##\r | |
11 | \r | |
12 | [Defines]\r | |
13 | DEC_SPECIFICATION = 0x0001001b\r | |
14 | PACKAGE_NAME = RedfishPkg\r | |
15 | PACKAGE_GUID = c432b76e-5232-11e7-9010-005056c00008\r | |
16 | PACKAGE_VERSION = 1.0\r | |
17 | \r | |
b9b7406c AC |
18 | [Includes]\r |
19 | Include\r | |
20 | \r | |
6e9233f9 | 21 | [Includes.Common.Private]\r |
6e9233f9 | 22 | PrivateInclude/Crt # Private header files for C RTL.\r |
ea830b96 AC |
23 | Library/JsonLib # Private header files for jansson\r |
24 | # configuration files.\r | |
25 | # - jansson_config.h\r | |
26 | # - jansson_private_config.h\r | |
27 | # jansson.h refers to above two configuration\r | |
28 | # files for building platform jansson library.\r | |
29 | Library/JsonLib/jansson/src # For referring to jannson.h\r | |
6e9233f9 | 30 | \r |
1946bee2 AC |
31 | [LibraryClasses]\r |
32 | ## @libraryclass Platform Redfish Host Interface Library\r | |
33 | # Platform implementation-specific Redfish Host Interface.\r | |
34 | RedfishPlatformHostInterfaceLib|Include/Library/RedfishHostInterfaceLib.h\r | |
6e9233f9 | 35 | \r |
805b8b88 AC |
36 | ## @libraryclass This library provides UCS2 to UTF8 manipulation\r |
37 | # functions.\r | |
38 | #\r | |
39 | Ucs2Utf8Lib|Include/Library/BaseUcs2Utf8Lib.h\r | |
1946bee2 | 40 | \r |
e6ae24e1 AC |
41 | ## @libraryclass Platform Redfish Credential Library\r |
42 | # Platform implementation-specific Redfish Credential Interface.\r | |
43 | RedfishPlatformCredentialLib|Include/Library/RedfishCredentialLib.h\r | |
44 | \r | |
140674a4 AC |
45 | ## @libraryclass The helper routines to access REST EX service.\r |
46 | # This library is only intended to be used by UEFI network stack modules.\r | |
47 | RestExLib|Include/Library/RestExLib.h\r | |
48 | \r | |
ea830b96 AC |
49 | ## @libraryclass Provides the library functions based on third party\r |
50 | # jansson library to manipulate JSON data structure.\r | |
51 | #\r | |
52 | JsonLib|Include/Library/JsonLib.h\r | |
53 | \r | |
35f87da8 AC |
54 | ## @libraryclass Provides the library functions to encode/decode\r |
55 | # Redfish packet.\r | |
56 | #\r | |
57 | RedfishContentCodingLib|Include/Library/RedfishContentCodingLib.h\r | |
58 | \r | |
5a0932b7 NW |
59 | ## @libraryclass Redfish Debug Library\r |
60 | # Library provides Redfish debug functions.\r | |
61 | RedfishDebugLib|Include/Library/RedfishDebugLib.h\r | |
62 | \r | |
6e9233f9 AC |
63 | [LibraryClasses.Common.Private]\r |
64 | ## @libraryclass Provides the private C runtime library functions.\r | |
65 | # CRT library is currently used by edk2 JsonLib (open source\r | |
66 | # jansson project) and edk2 RedfishLib (libredfish open source\r | |
67 | # project).\r | |
7311e964 | 68 | RedfishCrtLib|Include/Library/RedfishCrtLib.h\r |
6e9233f9 | 69 | \r |
4751a48a AC |
70 | ## @libraryclass Redfish Helper Library\r |
71 | # Library provides Redfish helper functions.\r | |
eebef1b3 | 72 | RedfishLib|Include/Library/RedfishLib.h\r |
4751a48a | 73 | \r |
ffddac3e | 74 | [Protocols]\r |
2255a2b1 AC |
75 | ## Include/Protocol/EdkIIRedfishCredential.h\r |
76 | gEdkIIRedfishCredentialProtocolGuid = { 0x8804377, 0xaf7a, 0x4496, { 0x8a, 0x7b, 0x17, 0x59, 0x0, 0xe9, 0xab, 0x46 } }\r | |
77 | \r | |
69637f91 AC |
78 | ## Include/Protocol/Edk2RedfishConfigHandler.h\r |
79 | gEdkIIRedfishConfigHandlerProtocolGuid = { 0xbc0fe6bb, 0x2cc9, 0x463e, { 0x90, 0x82, 0xfa, 0x11, 0x76, 0xfc, 0x67, 0xde } }\r | |
80 | \r | |
c63e1305 AC |
81 | [Guids]\r |
82 | gEfiRedfishPkgTokenSpaceGuid = { 0x4fdbccb7, 0xe829, 0x4b4c, { 0x88, 0x87, 0xb2, 0x3f, 0xd7, 0x25, 0x4b, 0x85 }}\r | |
83 | \r | |
a4d2ddb9 AC |
84 | [PcdsFixedAtBuild, PcdsPatchableInModule]\r |
85 | #\r | |
86 | # This PCD is the UEFI device path which is used as the Redfish host interface.\r | |
87 | #\r | |
88 | gEfiRedfishPkgTokenSpaceGuid.PcdRedfishRestExServiceDevicePath|{0x0}|REST_EX_SERVICE_DEVICE_PATH_DATA|0x00001000 {\r | |
89 | <HeaderFiles>\r | |
90 | Pcd/RestExServiceDevicePath.h\r | |
91 | <Packages>\r | |
92 | MdePkg/MdePkg.dec\r | |
93 | MdeModulePkg/MdeModulePkg.dec\r | |
94 | RedfishPkg/RedfishPkg.dec\r | |
95 | }\r | |
96 | #\r | |
97 | # This PCD indicates the EFI REST EX access mode to Redfish service.\r | |
98 | # Default is set to out of band access.\r | |
99 | #\r | |
100 | gEfiRedfishPkgTokenSpaceGuid.PcdRedfishRestExServiceAccessModeInBand|FALSE|BOOLEAN|0x00001001\r | |
101 | #\r | |
102 | # This PCD indicates the access mode EFI Discover protocol uses to look for the proper EFI REST EX\r | |
103 | # protocol instance.\r | |
104 | #\r | |
105 | gEfiRedfishPkgTokenSpaceGuid.PcdRedfishDiscoverAccessModeInBand|FALSE|BOOLEAN|0x00001002\r | |
39254d92 AC |
106 | #\r |
107 | # This PCD indicates if the EFI REST EX sends chunk request to Redfish service.\r | |
108 | # Default is set to non chunk mode.\r | |
109 | #\r | |
110 | gEfiRedfishPkgTokenSpaceGuid.PcdRedfishRestExChunkRequestMode|FALSE|BOOLEAN|0x00001003\r | |
111 | #\r | |
112 | # This PCD indicates if the EFI REST EX adds Expect header to the POST, PATCH, PUT requests to Redfish service.\r | |
113 | # Default is set to not add.\r | |
114 | #\r | |
115 | gEfiRedfishPkgTokenSpaceGuid.PcdRedfishRestExAddingExpect|FALSE|BOOLEAN|0x00001004\r |