RedfishPkg.dec 3.8 KB

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