]> git.proxmox.com Git - mirror_edk2.git/commitdiff
RedfishPkg: Initial commit of RedfishPkg.
authorAbner Chang <abner.chang@hpe.com>
Thu, 8 Oct 2020 00:53:07 +0000 (08:53 +0800)
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Thu, 8 Oct 2020 13:10:03 +0000 (13:10 +0000)
Initial version of RedfishPkg.

Signed-off-by: Wu Jiaxin <jiaxin.wu@intel.com>
Signed-off-by: Fu Siyuan <siyuan.fu@intel.com>
Signed-off-by: Wang Fan <fan.wang@intel.com>
Signed-off-by: Chang Abner <abner.chang@hpe.com>
Cc: Nickle Wang <nickle.wang@hpe.com>
Cc: Andrew Fish <afish@apple.com>
Cc: Laszlo Ersek <lersek@redhat.com>
Cc: Leif Lindholm <leif@nuviainc.com>
Cc: Michael D Kinney <michael.d.kinney@intel.com>
Acked-by: Laszlo Ersek <lersek@redhat.com>
Acked-by: Leif Lindholm <leif@nuviainc.com>
Reviewed-by: Michael D Kinney <michael.d.kinney@intel.com>
RedfishPkg/RedfishPkg.ci.yaml [new file with mode: 0644]
RedfishPkg/RedfishPkg.dec [new file with mode: 0644]
RedfishPkg/RedfishPkg.dsc [new file with mode: 0644]

diff --git a/RedfishPkg/RedfishPkg.ci.yaml b/RedfishPkg/RedfishPkg.ci.yaml
new file mode 100644 (file)
index 0000000..75c3b6a
--- /dev/null
@@ -0,0 +1,67 @@
+## @file\r
+# CI configuration for NetworkPkg\r
+#\r
+# (C) Copyright 2020 Hewlett Packard Enterprise Development LP<BR>\r
+# SPDX-License-Identifier: BSD-2-Clause-Patent\r
+##\r
+{\r
+    "LicenseCheck": {\r
+        "IgnoreFiles": []\r
+    },\r
+    "EccCheck": {\r
+        ## Exception sample looks like below:\r
+        ## "ExceptionList": [\r
+        ##     "<ErrorID>", "<KeyWord>"\r
+        ## ]\r
+        "ExceptionList": [\r
+        ],\r
+        ## Both file path and directory path are accepted.\r
+        "IgnoreFiles": [\r
+        ]\r
+    },\r
+    "CompilerPlugin": {\r
+        "DscPath": "RedfishPkg.dsc"\r
+    },\r
+    "CharEncodingCheck": {\r
+        "IgnoreFiles": []\r
+    },\r
+    "DependencyCheck": {\r
+        "AcceptableDependencies": [\r
+            "MdePkg/MdePkg.dec",\r
+            "MdeModulePkg/MdeModulePkg.dec",\r
+            "NetworkPkg/NetworkPkg.dec"\r
+        ],\r
+        # For host based unit tests\r
+        "AcceptableDependencies-HOST_APPLICATION":[],\r
+        # For UEFI shell based apps\r
+        "AcceptableDependencies-UEFI_APPLICATION":[\r
+            "ShellPkg/ShellPkg.dec"\r
+        ],\r
+        "IgnoreInf": []\r
+    },\r
+    "DscCompleteCheck": {\r
+        "DscPath": "RedfishPkg.dsc",\r
+        "IgnoreInf": []\r
+    },\r
+    "GuidCheck": {\r
+        "IgnoreGuidName": [],\r
+        "IgnoreGuidValue": [],\r
+        "IgnoreFoldersAndFiles": []\r
+    },\r
+    "LibraryClassCheck": {\r
+        "IgnoreHeaderFile": []\r
+    },\r
+\r
+    ## options defined ci/Plugin/SpellCheck\r
+    "SpellCheck": {\r
+        "AuditOnly": True,           # Fails test but run in AuditOnly mode to collect log\r
+        "IgnoreFiles": [],           # use gitignore syntax to ignore errors in matching files\r
+        "ExtendWords": [],           # words to extend to the dictionary for this package\r
+        "IgnoreStandardPaths": [],   # Standard Plugin defined paths that should be ignore\r
+        "AdditionalIncludePaths": [] # Additional paths to spell check (wildcards supported)\r
+    },\r
+\r
+    "Defines": {\r
+        "BLD_*_CONTINUOUS_INTEGRATION": "TRUE"\r
+    }\r
+}\r
diff --git a/RedfishPkg/RedfishPkg.dec b/RedfishPkg/RedfishPkg.dec
new file mode 100644 (file)
index 0000000..e95ec5f
--- /dev/null
@@ -0,0 +1,18 @@
+## @file\r
+# Redfish Package\r
+#\r
+# Copyright (c) 2019, Intel Corporation. All rights reserved.<BR>\r
+# (C) Copyright 2020 Hewlett Packard Enterprise Development LP<BR>\r
+#\r
+# SPDX-License-Identifier: BSD-2-Clause-Patent\r
+##\r
+\r
+[Defines]\r
+  DEC_SPECIFICATION = 0x0001001b\r
+  PACKAGE_NAME      = RedfishPkg\r
+  PACKAGE_GUID      = c432b76e-5232-11e7-9010-005056c00008\r
+  PACKAGE_VERSION   = 1.0\r
+\r
+[Guids]\r
+  gEfiRedfishPkgTokenSpaceGuid      = { 0x4fdbccb7, 0xe829, 0x4b4c, { 0x88, 0x87, 0xb2, 0x3f, 0xd7, 0x25, 0x4b, 0x85 }}\r
+\r
diff --git a/RedfishPkg/RedfishPkg.dsc b/RedfishPkg/RedfishPkg.dsc
new file mode 100644 (file)
index 0000000..8acaddd
--- /dev/null
@@ -0,0 +1,40 @@
+## @file\r
+# Redfish Package\r
+#\r
+# Copyright (c) 2019, Intel Corporation. All rights reserved.<BR>\r
+# (C) Copyright 2020 Hewlett-Packard Enterprise Development LP.\r
+#\r
+#    SPDX-License-Identifier: BSD-2-Clause-Patent\r
+#\r
+##\r
+\r
+[Defines]\r
+  PLATFORM_NAME                  = RedfishPkg\r
+  PLATFORM_GUID                  = c4352870-5232-11e7-9522-005056c00008\r
+  PLATFORM_VERSION               = 1.0\r
+  DSC_SPECIFICATION              = 0x0001001c\r
+  OUTPUT_DIRECTORY               = Build/RedfishPkg\r
+  SUPPORTED_ARCHITECTURES        = IA32|X64|ARM|AARCH64|RISCV64\r
+  BUILD_TARGETS                  = DEBUG|RELEASE|NOOPT\r
+  SKUID_IDENTIFIER               = DEFAULT\r
+\r
+[LibraryClasses]\r
+  UefiDriverEntryPoint|MdePkg/Library/UefiDriverEntryPoint/UefiDriverEntryPoint.inf\r
+  UefiBootServicesTableLib|MdePkg/Library/UefiBootServicesTableLib/UefiBootServicesTableLib.inf\r
+  UefiLib|MdePkg/Library/UefiLib/UefiLib.inf\r
+  UefiRuntimeServicesTableLib|MdePkg/Library/UefiRuntimeServicesTableLib/UefiRuntimeServicesTableLib.inf\r
+  UefiRuntimeLib|MdePkg/Library/UefiRuntimeLib/UefiRuntimeLib.inf\r
+  MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf\r
+  DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf\r
+  BaseLib|MdePkg/Library/BaseLib/BaseLib.inf\r
+  BaseMemoryLib|MdePkg/Library/BaseMemoryLib/BaseMemoryLib.inf\r
+  SynchronizationLib|MdePkg/Library/BaseSynchronizationLib/BaseSynchronizationLib.inf\r
+  PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf\r
+  DebugLib|MdePkg/Library/UefiDebugLibStdErr/UefiDebugLibStdErr.inf\r
+  DebugPrintErrorLevelLib|MdePkg/Library/BaseDebugPrintErrorLevelLib/BaseDebugPrintErrorLevelLib.inf\r
+  PostCodeLib|MdePkg/Library/BasePostCodeLibPort80/BasePostCodeLibPort80.inf\r
+  PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf\r
+  PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf\r
+  DxeServicesTableLib|MdePkg/Library/DxeServicesTableLib/DxeServicesTableLib.inf\r
+  DxeServicesLib|MdePkg/Library/DxeServicesLib/DxeServicesLib.inf\r
+  ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf\r