From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mx0a-002e3701.pphosted.com (mx0a-002e3701.pphosted.com [148.163.147.86]) by mx.groups.io with SMTP id smtpd.web11.27760.1601873917404233190 for ; Sun, 04 Oct 2020 21:58:37 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@hpe.com header.s=pps0720 header.b=X37YcwYi; spf=pass (domain: hpe.com, ip: 148.163.147.86, mailfrom: prvs=0547bd49a7=abner.chang@hpe.com) Received: from pps.filterd (m0134421.ppops.net [127.0.0.1]) by mx0b-002e3701.pphosted.com (8.16.0.42/8.16.0.42) with SMTP id 0954o1i6000425; Mon, 5 Oct 2020 04:58:36 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=hpe.com; h=from : to : cc : subject : date : message-id : in-reply-to : references; s=pps0720; bh=FvZlNYENUE2Z86x0lVKtqcd9E4wNYCE8maoKd8DgA4U=; b=X37YcwYiE9jBgT6T08/4czDFS21B3cSgnArGF5rPkqY9bpw9XF2UDHoAeMytUf1btQTb +YUtOzFVZnTeLquvDyQiKNW1FyuARvuAwMmzH7fcyEN6rgpqOV9+ubgiVCG0S5/G+yQ2 f5ml3wEpitpaYGaVTZ7qPjMPe5et97FZ/O95NOT3W670UgJ1Bl/L7YqaLkNaUDc7+aUP Ozc1kkcbaTIc6qNE/cqHcnQ5gD8Bhgx1dTObc4QgPNPmDRnukTcNN09T+d0yb0QA/i5Y V+o3PX2eceO5yD1S9XYtyG3LP8IQvgrnVqGPb5/3Iq56TWbpZ9RIPrxrTu3sCFC1Xal2 9g== Received: from g4t3425.houston.hpe.com (g4t3425.houston.hpe.com [15.241.140.78]) by mx0b-002e3701.pphosted.com with ESMTP id 33y2nwxra0-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 05 Oct 2020 04:58:36 +0000 Received: from g4t3433.houston.hpecorp.net (g4t3433.houston.hpecorp.net [16.208.49.245]) by g4t3425.houston.hpe.com (Postfix) with ESMTP id A802FB5; Mon, 5 Oct 2020 04:58:09 +0000 (UTC) Received: from abner-virtual-machine.asiapacific.hpqcorp.net (abner-virtual-machine.asiapacific.hpqcorp.net [15.119.210.153]) by g4t3433.houston.hpecorp.net (Postfix) with ESMTP id 2A14349; Mon, 5 Oct 2020 04:58:08 +0000 (UTC) From: "Abner Chang" To: devel@edk2.groups.io Cc: Nickle Wang , Andrew Fish , Laszlo Ersek , Leif Lindholm , Michael D Kinney Subject: [RedfishPkg PATCH v4 1/4] RedfishPkg: Initial commit of RedfishPkg. Date: Mon, 5 Oct 2020 12:13:43 +0800 Message-Id: <20201005041346.27353-2-abner.chang@hpe.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20201005041346.27353-1-abner.chang@hpe.com> References: <20201005041346.27353-1-abner.chang@hpe.com> X-HPE-SCL: -1 X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.235,18.0.687 definitions=2020-10-05_03:2020-10-02,2020-10-05 signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 suspectscore=1 adultscore=0 malwarescore=0 bulkscore=0 spamscore=0 lowpriorityscore=0 clxscore=1015 mlxscore=0 priorityscore=1501 impostorscore=0 mlxlogscore=999 phishscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2006250000 definitions=main-2010050038 Initial version of RedfishPkg. Signed-off-by: Wu Jiaxin Signed-off-by: Fu Siyuan Signed-off-by: Wang Fan Signed-off-by: Chang Abner Cc: Nickle Wang Cc: Andrew Fish Cc: Laszlo Ersek Cc: Leif Lindholm Cc: Michael D Kinney --- RedfishPkg/RedfishPkg.ci.yaml | 67 +++++++++++++++++++++++++++++++++++ RedfishPkg/RedfishPkg.dec | 18 ++++++++++ RedfishPkg/RedfishPkg.dsc | 40 +++++++++++++++++++++ 3 files changed, 125 insertions(+) create mode 100644 RedfishPkg/RedfishPkg.ci.yaml create mode 100644 RedfishPkg/RedfishPkg.dec create mode 100644 RedfishPkg/RedfishPkg.dsc diff --git a/RedfishPkg/RedfishPkg.ci.yaml b/RedfishPkg/RedfishPkg.ci.yaml new file mode 100644 index 0000000000..75c3b6a8ad --- /dev/null +++ b/RedfishPkg/RedfishPkg.ci.yaml @@ -0,0 +1,67 @@ +## @file +# CI configuration for NetworkPkg +# +# (C) Copyright 2020 Hewlett Packard Enterprise Development LP
+# SPDX-License-Identifier: BSD-2-Clause-Patent +## +{ + "LicenseCheck": { + "IgnoreFiles": [] + }, + "EccCheck": { + ## Exception sample looks like below: + ## "ExceptionList": [ + ## "", "" + ## ] + "ExceptionList": [ + ], + ## Both file path and directory path are accepted. + "IgnoreFiles": [ + ] + }, + "CompilerPlugin": { + "DscPath": "RedfishPkg.dsc" + }, + "CharEncodingCheck": { + "IgnoreFiles": [] + }, + "DependencyCheck": { + "AcceptableDependencies": [ + "MdePkg/MdePkg.dec", + "MdeModulePkg/MdeModulePkg.dec", + "NetworkPkg/NetworkPkg.dec" + ], + # For host based unit tests + "AcceptableDependencies-HOST_APPLICATION":[], + # For UEFI shell based apps + "AcceptableDependencies-UEFI_APPLICATION":[ + "ShellPkg/ShellPkg.dec" + ], + "IgnoreInf": [] + }, + "DscCompleteCheck": { + "DscPath": "RedfishPkg.dsc", + "IgnoreInf": [] + }, + "GuidCheck": { + "IgnoreGuidName": [], + "IgnoreGuidValue": [], + "IgnoreFoldersAndFiles": [] + }, + "LibraryClassCheck": { + "IgnoreHeaderFile": [] + }, + + ## options defined ci/Plugin/SpellCheck + "SpellCheck": { + "AuditOnly": True, # Fails test but run in AuditOnly mode to collect log + "IgnoreFiles": [], # use gitignore syntax to ignore errors in matching files + "ExtendWords": [], # words to extend to the dictionary for this package + "IgnoreStandardPaths": [], # Standard Plugin defined paths that should be ignore + "AdditionalIncludePaths": [] # Additional paths to spell check (wildcards supported) + }, + + "Defines": { + "BLD_*_CONTINUOUS_INTEGRATION": "TRUE" + } +} diff --git a/RedfishPkg/RedfishPkg.dec b/RedfishPkg/RedfishPkg.dec new file mode 100644 index 0000000000..e95ec5fe10 --- /dev/null +++ b/RedfishPkg/RedfishPkg.dec @@ -0,0 +1,18 @@ +## @file +# Redfish Package +# +# Copyright (c) 2019, Intel Corporation. All rights reserved.
+# (C) Copyright 2020 Hewlett Packard Enterprise Development LP
+# +# SPDX-License-Identifier: BSD-2-Clause-Patent +## + +[Defines] + DEC_SPECIFICATION = 0x0001001b + PACKAGE_NAME = RedfishPkg + PACKAGE_GUID = c432b76e-5232-11e7-9010-005056c00008 + PACKAGE_VERSION = 1.0 + +[Guids] + gEfiRedfishPkgTokenSpaceGuid = { 0x4fdbccb7, 0xe829, 0x4b4c, { 0x88, 0x87, 0xb2, 0x3f, 0xd7, 0x25, 0x4b, 0x85 }} + diff --git a/RedfishPkg/RedfishPkg.dsc b/RedfishPkg/RedfishPkg.dsc new file mode 100644 index 0000000000..d5c65f68c3 --- /dev/null +++ b/RedfishPkg/RedfishPkg.dsc @@ -0,0 +1,40 @@ +## @file +# Redfish Package +# +# Copyright (c) 2019, Intel Corporation. All rights reserved.
+# (C) Copyright 2020 Hewlett-Packard Enterprise Development LP. +# +# SPDX-License-Identifier: BSD-2-Clause-Patent +# +## + +[Defines] + PLATFORM_NAME = RedfishPkg + PLATFORM_GUID = c4352870-5232-11e7-9522-005056c00008 + PLATFORM_VERSION = 1.0 + DSC_SPECIFICATION = 0x0001001c + OUTPUT_DIRECTORY = Build/RedfishPkg + SUPPORTED_ARCHITECTURES = IA32|X64|ARM|AARCH64|RISCV64 + BUILD_TARGETS = DEBUG|RELEASE + SKUID_IDENTIFIER = DEFAULT + +[LibraryClasses] + UefiDriverEntryPoint|MdePkg/Library/UefiDriverEntryPoint/UefiDriverEntryPoint.inf + UefiBootServicesTableLib|MdePkg/Library/UefiBootServicesTableLib/UefiBootServicesTableLib.inf + UefiLib|MdePkg/Library/UefiLib/UefiLib.inf + UefiRuntimeServicesTableLib|MdePkg/Library/UefiRuntimeServicesTableLib/UefiRuntimeServicesTableLib.inf + UefiRuntimeLib|MdePkg/Library/UefiRuntimeLib/UefiRuntimeLib.inf + MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf + DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf + BaseLib|MdePkg/Library/BaseLib/BaseLib.inf + BaseMemoryLib|MdePkg/Library/BaseMemoryLib/BaseMemoryLib.inf + SynchronizationLib|MdePkg/Library/BaseSynchronizationLib/BaseSynchronizationLib.inf + PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf + DebugLib|MdePkg/Library/UefiDebugLibStdErr/UefiDebugLibStdErr.inf + DebugPrintErrorLevelLib|MdePkg/Library/BaseDebugPrintErrorLevelLib/BaseDebugPrintErrorLevelLib.inf + PostCodeLib|MdePkg/Library/BasePostCodeLibPort80/BasePostCodeLibPort80.inf + PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf + PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf + DxeServicesTableLib|MdePkg/Library/DxeServicesTableLib/DxeServicesTableLib.inf + DxeServicesLib|MdePkg/Library/DxeServicesLib/DxeServicesLib.inf + ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf -- 2.17.1