]> git.proxmox.com Git - mirror_edk2.git/blob - RedfishPkg/RedfishPkg.dec
RedfishPkg/RedfishCrtLib: Redfish C runtime library
[mirror_edk2.git] / RedfishPkg / RedfishPkg.dec
1 ## @file
2 # Redfish Package
3 #
4 # Copyright (c) 2019, Intel Corporation. All rights reserved.<BR>
5 # (C) Copyright 2020 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
23 [LibraryClasses]
24 ## @libraryclass Platform Redfish Host Interface Library
25 # Platform implementation-specific Redfish Host Interface.
26 RedfishPlatformHostInterfaceLib|Include/Library/RedfishHostInterfaceLib.h
27
28 ## @libraryclass This library provides UCS2 to UTF8 manipulation
29 # functions.
30 #
31 Ucs2Utf8Lib|Include/Library/BaseUcs2Utf8Lib.h
32
33 ## @libraryclass Platform Redfish Credential Library
34 # Platform implementation-specific Redfish Credential Interface.
35 RedfishPlatformCredentialLib|Include/Library/RedfishCredentialLib.h
36
37 ## @libraryclass The helper routines to access REST EX service.
38 # This library is only intended to be used by UEFI network stack modules.
39 RestExLib|Include/Library/RestExLib.h
40
41 [LibraryClasses.Common.Private]
42 ## @libraryclass Provides the private C runtime library functions.
43 # CRT library is currently used by edk2 JsonLib (open source
44 # jansson project) and edk2 RedfishLib (libredfish open source
45 # project).
46 RedfishCrtLib|PrivateInclude/Library/RedfishCrtLib.h
47
48 [Protocols]
49 ## Include/Protocol/RedfishDiscover.h
50 gEfiRedfishDiscoverProtocolGuid = { 0x5db12509, 0x4550, 0x4347, { 0x96, 0xb3, 0x73, 0xc0, 0xff, 0x6e, 0x86, 0x9f }}
51
52 ## Include/Protocol/EdkIIRedfishCredential.h
53 gEdkIIRedfishCredentialProtocolGuid = { 0x8804377, 0xaf7a, 0x4496, { 0x8a, 0x7b, 0x17, 0x59, 0x0, 0xe9, 0xab, 0x46 } }
54
55 [Guids]
56 gEfiRedfishPkgTokenSpaceGuid = { 0x4fdbccb7, 0xe829, 0x4b4c, { 0x88, 0x87, 0xb2, 0x3f, 0xd7, 0x25, 0x4b, 0x85 }}
57
58 [PcdsFixedAtBuild, PcdsPatchableInModule]
59 #
60 # This PCD is the UEFI device path which is used as the Redfish host interface.
61 #
62 gEfiRedfishPkgTokenSpaceGuid.PcdRedfishRestExServiceDevicePath|{0x0}|REST_EX_SERVICE_DEVICE_PATH_DATA|0x00001000 {
63 <HeaderFiles>
64 Pcd/RestExServiceDevicePath.h
65 <Packages>
66 MdePkg/MdePkg.dec
67 MdeModulePkg/MdeModulePkg.dec
68 RedfishPkg/RedfishPkg.dec
69 }
70 #
71 # This PCD indicates the EFI REST EX access mode to Redfish service.
72 # Default is set to out of band access.
73 #
74 gEfiRedfishPkgTokenSpaceGuid.PcdRedfishRestExServiceAccessModeInBand|FALSE|BOOLEAN|0x00001001
75 #
76 # This PCD indicates the access mode EFI Discover protocol uses to look for the proper EFI REST EX
77 # protocol instance.
78 #
79 gEfiRedfishPkgTokenSpaceGuid.PcdRedfishDiscoverAccessModeInBand|FALSE|BOOLEAN|0x00001002