RedfishPkg.dec 4.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110
  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. # Copyright (c) 2023, American Megatrends International LLC.
  7. #
  8. # SPDX-License-Identifier: BSD-2-Clause-Patent
  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. [Includes]
  16. Include
  17. [Includes.Common.Private]
  18. PrivateInclude/Crt # Private header files for C RTL.
  19. Library/JsonLib # Private header files for jansson
  20. # configuration files.
  21. # - jansson_config.h
  22. # - jansson_private_config.h
  23. # jansson.h refers to above two configuration
  24. # files for building platform jansson library.
  25. Library/JsonLib/jansson/src # For referring to jannson.h
  26. [LibraryClasses]
  27. ## @libraryclass Platform Redfish Host Interface Library
  28. # Platform implementation-specific Redfish Host Interface.
  29. RedfishPlatformHostInterfaceLib|Include/Library/RedfishHostInterfaceLib.h
  30. ## @libraryclass This library provides UCS2 to UTF8 manipulation
  31. # functions.
  32. #
  33. Ucs2Utf8Lib|Include/Library/BaseUcs2Utf8Lib.h
  34. ## @libraryclass Platform Redfish Credential Library
  35. # Platform implementation-specific Redfish Credential Interface.
  36. RedfishPlatformCredentialLib|Include/Library/RedfishCredentialLib.h
  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. ## @libraryclass Provides the library functions based on third party
  41. # jansson library to manipulate JSON data structure.
  42. #
  43. JsonLib|Include/Library/JsonLib.h
  44. ## @libraryclass Provides the library functions to encode/decode
  45. # Redfish packet.
  46. #
  47. RedfishContentCodingLib|Include/Library/RedfishContentCodingLib.h
  48. [LibraryClasses.Common.Private]
  49. ## @libraryclass Provides the private C runtime library functions.
  50. # CRT library is currently used by edk2 JsonLib (open source
  51. # jansson project) and edk2 RedfishLib (libredfish open source
  52. # project).
  53. RedfishCrtLib|Include/Library/RedfishCrtLib.h
  54. ## @libraryclass Redfish Helper Library
  55. # Library provides Redfish helper functions.
  56. RedfishLib|Include/Library/RedfishLib.h
  57. [Protocols]
  58. ## Include/Protocol/EdkIIRedfishCredential.h
  59. gEdkIIRedfishCredentialProtocolGuid = { 0x8804377, 0xaf7a, 0x4496, { 0x8a, 0x7b, 0x17, 0x59, 0x0, 0xe9, 0xab, 0x46 } }
  60. ## Include/Protocol/Edk2RedfishConfigHandler.h
  61. gEdkIIRedfishConfigHandlerProtocolGuid = { 0xbc0fe6bb, 0x2cc9, 0x463e, { 0x90, 0x82, 0xfa, 0x11, 0x76, 0xfc, 0x67, 0xde } }
  62. [Guids]
  63. gEfiRedfishPkgTokenSpaceGuid = { 0x4fdbccb7, 0xe829, 0x4b4c, { 0x88, 0x87, 0xb2, 0x3f, 0xd7, 0x25, 0x4b, 0x85 }}
  64. [PcdsFixedAtBuild, PcdsPatchableInModule]
  65. #
  66. # This PCD is the UEFI device path which is used as the Redfish host interface.
  67. #
  68. gEfiRedfishPkgTokenSpaceGuid.PcdRedfishRestExServiceDevicePath|{0x0}|REST_EX_SERVICE_DEVICE_PATH_DATA|0x00001000 {
  69. <HeaderFiles>
  70. Pcd/RestExServiceDevicePath.h
  71. <Packages>
  72. MdePkg/MdePkg.dec
  73. MdeModulePkg/MdeModulePkg.dec
  74. RedfishPkg/RedfishPkg.dec
  75. }
  76. #
  77. # This PCD indicates the EFI REST EX access mode to Redfish service.
  78. # Default is set to out of band access.
  79. #
  80. gEfiRedfishPkgTokenSpaceGuid.PcdRedfishRestExServiceAccessModeInBand|FALSE|BOOLEAN|0x00001001
  81. #
  82. # This PCD indicates the access mode EFI Discover protocol uses to look for the proper EFI REST EX
  83. # protocol instance.
  84. #
  85. gEfiRedfishPkgTokenSpaceGuid.PcdRedfishDiscoverAccessModeInBand|FALSE|BOOLEAN|0x00001002
  86. #
  87. # This PCD indicates if the EFI REST EX sends chunk request to Redfish service.
  88. # Default is set to non chunk mode.
  89. #
  90. gEfiRedfishPkgTokenSpaceGuid.PcdRedfishRestExChunkRequestMode|FALSE|BOOLEAN|0x00001003
  91. #
  92. # This PCD indicates if the EFI REST EX adds Expect header to the POST, PATCH, PUT requests to Redfish service.
  93. # Default is set to not add.
  94. #
  95. gEfiRedfishPkgTokenSpaceGuid.PcdRedfishRestExAddingExpect|FALSE|BOOLEAN|0x00001004