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