From nobody Thu May 2 07:49:24 2024 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce+27952+103886+1787277+3901457@groups.io; arc=fail (BodyHash is different from the expected one) Received: from mail02.groups.io (mail02.groups.io [66.175.222.108]) by mx.zohomail.com with SMTPS id 1683099165048659.593872786802; Wed, 3 May 2023 00:32:45 -0700 (PDT) Return-Path: X-Received: by 127.0.0.2 with SMTP id RYzQYY1788612xK0a3UlLfPr; Wed, 03 May 2023 00:32:44 -0700 X-Received: from NAM10-DM6-obe.outbound.protection.outlook.com (NAM10-DM6-obe.outbound.protection.outlook.com [40.107.93.55]) by mx.groups.io with SMTP id smtpd.web11.13332.1683099162763794623 for ; Wed, 03 May 2023 00:32:44 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=JgYMBLnC9RY9G0RT3wlJk1YqfASJYlLg5WPc2/GsaeSYf9/e6VD0swaUHiJZOcLdJq9rYOqL+ZgPZ4C8MBzGL4mwzTkW/5x01pwYEj7giX5U8I2p056ZYqNPyuN6evrxTTFQ8hf3oXiT1BEfYK6E56sEcxy+kYv9jRkxVABjbCb2KQIw74X+mPw6sFlb5XXuGbxcdfrHwd7uq4EuuPoAefdBat+vHPT7cPF5Qhta5rK6MMt5vh7o0RCfp3c7Hw71ncjMfe/yS0HjFB/Dd7FoCao8bboZcAyqkEoKqH4JdXsI6CtmHtzWUt8l6lAvwLqHaieULAoWzpGYsPlWpQzVSg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=yKEkPiA/+Rq2uBp0Re6UOK6Mn4zlpOWDEZ/DNhi5OuQ=; b=BZ/c76P7Ny9kE/RfOhWZMwrKOA1XQrMc8vLrwPQvyCVm2r9c4kfvVuT3x8OaLrKnLSwY4GptgCqUfv9p5O7aLgKC2mVMtsgTSFDO9lJYS2vGHtsuPa5CfJ8hB5L17U2xV3hrarV3K3ttAyOncDNr1xa25YszZhVfTwbNHaF9eiRVgv2xwD+VfkT/wXT8xCcg0yU7T2r3ROxorTJ4wX7h1BOtl6juxueIfN3bDfDFk6kdjkqpOgRZ0CzFbfTX637UTA1hio5f3gpb7kk9XQHvD1fnbqhCs4VfWqsMTW1UP7UUKaTynzfvSLyJXsGjPNv7tSBq+0S/oKwhR0CXK35IlQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 165.204.84.17) smtp.rcpttodomain=edk2.groups.io smtp.mailfrom=amd.com; dmarc=pass (p=quarantine sp=quarantine pct=100) action=none header.from=amd.com; dkim=none (message not signed); arc=none X-Received: from MW4PR03CA0052.namprd03.prod.outlook.com (2603:10b6:303:8e::27) by DM4PR12MB6280.namprd12.prod.outlook.com (2603:10b6:8:a2::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6340.31; Wed, 3 May 2023 07:32:40 +0000 X-Received: from CO1NAM11FT101.eop-nam11.prod.protection.outlook.com (2603:10b6:303:8e:cafe::87) by MW4PR03CA0052.outlook.office365.com (2603:10b6:303:8e::27) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6363.22 via Frontend Transport; Wed, 3 May 2023 07:32:40 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 165.204.84.17) smtp.mailfrom=amd.com; dkim=none (message not signed) header.d=none;dmarc=pass action=none header.from=amd.com; Received-SPF: pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) client-ip=66.175.222.108; envelope-from=bounce+27952+103886+1787277+3901457@groups.io; helo=mail02.groups.io; Received-SPF: Pass (protection.outlook.com: domain of amd.com designates 165.204.84.17 as permitted sender) receiver=protection.outlook.com; client-ip=165.204.84.17; helo=SATLEXMB04.amd.com; pr=C X-Received: from SATLEXMB04.amd.com (165.204.84.17) by CO1NAM11FT101.mail.protection.outlook.com (10.13.175.164) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.6363.22 via Frontend Transport; Wed, 3 May 2023 07:32:39 +0000 X-Received: from TPE-L1-ABNCHANG.amd.com (10.180.168.240) by SATLEXMB04.amd.com (10.181.40.145) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.34; Wed, 3 May 2023 02:32:37 -0500 From: "Chang, Abner via groups.io" To: CC: Nickle Wang , Igor Kulchytskyy Subject: [edk2-devel] [PATCH] RedfishClientPkg: Initial commit of meta files Date: Wed, 3 May 2023 15:32:22 +0800 Message-ID: <20230503073222.1083-1-abner.chang@amd.com> MIME-Version: 1.0 X-Originating-IP: [10.180.168.240] X-ClientProxiedBy: SATLEXMB04.amd.com (10.181.40.145) To SATLEXMB04.amd.com (10.181.40.145) X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: CO1NAM11FT101:EE_|DM4PR12MB6280:EE_ X-MS-Office365-Filtering-Correlation-Id: 3cd1f1d9-2293-4c7c-99d1-08db4ba89332 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam-Message-Info: ctfYPF6N3YKBG3mOo0vpAH+hsyjRiDZXYUUOwViNmII4aNfrIxxtwuFP+pb1vt47jk9iGninKo+NV2Ujd7smH9VuEd5inefhHj/ztu/OAUCs3fETUpjkLWZ3jbPHMwvasVHYDSinqx6J1gQ5Hk4wPCkQKpQ/2RBurlNyrL8eoU7rD4z+Lob0gVka9febZTSuMtwGGl0l1kOD7kzu10rOo17n1TTonm5xp+fZeC4hchl6kEzwbSR5mftcimOO2Yr4Jce2haCczmWE37lknAqGqiSN0eVx7RvHk/seBvr99eq52ZycsKKDu3x+Ixn6vxNlpJ6gLWWuFt2PcED+jnlSoMtSWriq6W4MotUD/0odi2P8dlkjfxMQi3LVft7cx1yKTCTRB5c+IuXawWHeZRtnGRSuY4p5thfWap4qSuzkLZa4rdpNlPmf6GYhFRXNzZIIi/azWBYvpqgCRnLp+IMISknbY3XzFTr0gTs9yN/12cWdb7JrRsOQ6nRpeJTNri/1fKxdxqmhbM/jHMaqIioIkNgRjeygivSl0WpULum75ObeB8/C6ua6OnUjef+L/UyP1ss3P6x2XE+MAh7dNK7/p6L6ZVMTCk5CalaFOdZnA89WrtocheG7/GpqKaZrcR6tFApmz7zZmc6SOwWOyOmZWishHf6+lcMyVGpQJP/wdRSePymV9Ow+vedvLzjIX1iMae8n/f63hnvJkRs7Su8OYacPf1ixuR9rSxadoamshSg0wmPNY49Jixj6iwr1R6Zn5JgMh6Q4gOgiSFhqB6dr9Q== X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 03 May 2023 07:32:39.7650 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 3cd1f1d9-2293-4c7c-99d1-08db4ba89332 X-MS-Exchange-CrossTenant-Id: 3dd8961f-e488-4e60-8e11-a82d994e183d X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=3dd8961f-e488-4e60-8e11-a82d994e183d;Ip=[165.204.84.17];Helo=[SATLEXMB04.amd.com] X-MS-Exchange-CrossTenant-AuthSource: CO1NAM11FT101.eop-nam11.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM4PR12MB6280 Precedence: Bulk List-Unsubscribe: List-Subscribe: List-Help: Sender: devel@edk2.groups.io List-Id: Mailing-List: list devel@edk2.groups.io; contact devel+owner@edk2.groups.io Reply-To: devel@edk2.groups.io,abner.chang@amd.com X-Gm-Message-State: NBNbNeE9BZnPGTJdhWC680nYx1787277AA= Content-Transfer-Encoding: quoted-printable DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1683099164; bh=ktZ3LwzL7Kp8+QsqCHeAotsTsQDFAAegtSN2mZGcxm4=; h=CC:Content-Type:Date:From:Reply-To:Subject:To; b=lDVvVtYUVJRoeWUerQw3Ffo1LFAmpqiJbr/u4ZDlD4owexgHqNXaZ6tXj3TEWQ5VfxA dppUsqacRlZQuiiFbVJQIpbbjz9uoubV+OeHIL5m4WK4ssaAo3uD3k1MnRblN2LG4y75e PiN2XxRXtSAjW4UA83SmLKOqx9rgT6l01gI= X-ZohoMail-DKIM: pass (identity @groups.io) X-ZM-MESSAGEID: 1683099166889100003 Content-Type: text/plain; charset="utf-8" From: Abner Chang Initial commit of RedfishClientPkg meta files. Signed-off-by: Abner Chang Cc: Nickle Wang Cc: Igor Kulchytskyy Reviewed-by: Nickle Wang --- RedfishClientPkg/RedfishClientPkg.dec | 24 ++++++++++ RedfishClientPkg/RedfishClient.dsc.inc | 21 +++++++++ .../RedfishClientComponents.dsc.inc | 16 +++++++ RedfishClientPkg/RedfishClientDefines.dsc.inc | 27 +++++++++++ RedfishClientPkg/RedfishClientLibs.dsc.inc | 13 ++++++ RedfishClientPkg/RedfishClientPkg.dsc | 46 +++++++++++++++++++ RedfishClientPkg/RedfishClient.fdf.inc | 14 ++++++ 7 files changed, 161 insertions(+) create mode 100644 RedfishClientPkg/RedfishClientPkg.dec create mode 100644 RedfishClientPkg/RedfishClient.dsc.inc create mode 100644 RedfishClientPkg/RedfishClientComponents.dsc.inc create mode 100644 RedfishClientPkg/RedfishClientDefines.dsc.inc create mode 100644 RedfishClientPkg/RedfishClientLibs.dsc.inc create mode 100644 RedfishClientPkg/RedfishClientPkg.dsc create mode 100644 RedfishClientPkg/RedfishClient.fdf.inc diff --git a/RedfishClientPkg/RedfishClientPkg.dec b/RedfishClientPkg/Redfi= shClientPkg.dec new file mode 100644 index 0000000000..4038a47bd5 --- /dev/null +++ b/RedfishClientPkg/RedfishClientPkg.dec @@ -0,0 +1,24 @@ +## @file +# Redfish Client Package +# +# (C) Copyright 2021 Hewlett Packard Enterprise Development LP
+# +# SPDX-License-Identifier: BSD-2-Clause-Patent +## + +[Defines] + DEC_SPECIFICATION =3D 0x0001001b + PACKAGE_NAME =3D RedfishClientPkg + PACKAGE_GUID =3D 61B1638B-1DF9-4052-9468-382FC164AA85 + PACKAGE_VERSION =3D 1.0 + +[Includes] + Include + + +[LibraryClasses] + +[Protocols] + +[Guids] + gEfiRedfishClientPkgTokenSpaceGuid =3D { 0x8c444dae, 0x728b, 0x48ee, = { 0x9e, 0x19, 0x8f, 0x0a, 0x3d, 0x4e, 0x9c, 0xc8 } } diff --git a/RedfishClientPkg/RedfishClient.dsc.inc b/RedfishClientPkg/Redf= ishClient.dsc.inc new file mode 100644 index 0000000000..ad771fcb7f --- /dev/null +++ b/RedfishClientPkg/RedfishClient.dsc.inc @@ -0,0 +1,21 @@ +## @file +# Redfish Client DSC include file for Platform DSC +# +# This file includes all required information to enable Redfish features. +# It can be included to a platform DSC file by using "!include RedfishClie= ntPkg/RedfishClient.dsc.inc". +# +# (C) Copyright 2021 Hewlett Packard Enterprise Development LP
+# +# SPDX-License-Identifier: BSD-2-Clause-Patent +# +## + +[Defines] + !include RedfishClientPkg/RedfishClientDefines.dsc.inc + +[LibraryClasses] + !include RedfishClientPkg/RedfishClientLibs.dsc.inc + +[Components] + !include RedfishClientPkg/RedfishClientComponents.dsc.inc + diff --git a/RedfishClientPkg/RedfishClientComponents.dsc.inc b/RedfishClie= ntPkg/RedfishClientComponents.dsc.inc new file mode 100644 index 0000000000..0648fa9d54 --- /dev/null +++ b/RedfishClientPkg/RedfishClientComponents.dsc.inc @@ -0,0 +1,16 @@ +## @file +# Redfish Client DSC include file for [Components*] section of all Archite= ctures. +# +# This file can be included to the [Components*] section(s) of a platform = DSC file +# by using "!include RedfishClientPkg/RedfishClientComponents.dsc.inc" to = specify the INF files +# of EDKII Redfish drivers according to the value of flags described in +# "RedfishClientDefines.dsc.inc". +# +# (C) Copyright 2021 Hewlett Packard Enterprise Development LP
+# +# SPDX-License-Identifier: BSD-2-Clause-Patent +# +## + +!if $(REDFISH_CLIENT) =3D=3D TRUE +!endif diff --git a/RedfishClientPkg/RedfishClientDefines.dsc.inc b/RedfishClientP= kg/RedfishClientDefines.dsc.inc new file mode 100644 index 0000000000..14b7d67102 --- /dev/null +++ b/RedfishClientPkg/RedfishClientDefines.dsc.inc @@ -0,0 +1,27 @@ +## @file +# RedfishClientPkg DSC include file for [Defines] section of all Architect= ures. +# +# This file can be included to the [Defines] section of a platform DSC fil= e by +# using "!include RedfishClientPkg/RedfishClientDefines.dsc.inc" to set va= lue of +# flags. +# +# These flags can be defined before the !include line, or changed on the c= ommand +# line to enable or disable related feature support. +# -D FLAG=3DVALUE +# +# The default value of these flags are: +# DEFINE REDFISH_CLIENT =3D TRUE +# +# (C) Copyright 2021 Hewlett Packard Enterprise Development LP
+# +# SPDX-License-Identifier: BSD-2-Clause-Patent +# +## + +!ifndef REDFISH_CLIENT + # + # This flag is to enable or disable the EDK2 Redfish client support. + # + DEFINE REDFISH_CLIENT =3D TRUE +!endif + diff --git a/RedfishClientPkg/RedfishClientLibs.dsc.inc b/RedfishClientPkg/= RedfishClientLibs.dsc.inc new file mode 100644 index 0000000000..2f360abed6 --- /dev/null +++ b/RedfishClientPkg/RedfishClientLibs.dsc.inc @@ -0,0 +1,13 @@ +## @file +# Redfish DSC include file for [LibraryClasses*] section of all Architectu= res. +# +# This file can be included to the [LibraryClasses*] section(s) of a platf= orm DSC file +# by using "!include RedfishPkg/RedfisLibs.dsc.inc" to specify the library= instances +# of EDKII network library classes. +# +# (C) Copyright 2021 Hewlett Packard Enterprise Development LP
+# +# SPDX-License-Identifier: BSD-2-Clause-Patent +# +## + diff --git a/RedfishClientPkg/RedfishClientPkg.dsc b/RedfishClientPkg/Redfi= shClientPkg.dsc new file mode 100644 index 0000000000..f423bf3861 --- /dev/null +++ b/RedfishClientPkg/RedfishClientPkg.dsc @@ -0,0 +1,46 @@ +## @file +# Redfish Client Package +# +# (C) Copyright 2021 Hewlett-Packard Enterprise Development LP. +# +# SPDX-License-Identifier: BSD-2-Clause-Patent +# +## + +[Defines] + PLATFORM_NAME =3D RedfishClientPkg + PLATFORM_GUID =3D 43491BF9-2879-492B-905E-E82E0C30B412 + PLATFORM_VERSION =3D 1.0 + DSC_SPECIFICATION =3D 0x0001001c + OUTPUT_DIRECTORY =3D Build/RedfishClientPkg + SUPPORTED_ARCHITECTURES =3D IA32|X64|ARM|AARCH64|RISCV64 + BUILD_TARGETS =3D DEBUG|RELEASE|NOOPT + SKUID_IDENTIFIER =3D DEFAULT + +!include MdePkg/MdeLibs.dsc.inc + +[LibraryClasses] + UefiDriverEntryPoint|MdePkg/Library/UefiDriverEntryPoint/UefiDriverEntry= Point.inf + UefiBootServicesTableLib|MdePkg/Library/UefiBootServicesTableLib/UefiBoo= tServicesTableLib.inf + UefiLib|MdePkg/Library/UefiLib/UefiLib.inf + UefiRuntimeServicesTableLib|MdePkg/Library/UefiRuntimeServicesTableLib/U= efiRuntimeServicesTableLib.inf + MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAll= ocationLib.inf + DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf + BaseLib|MdePkg/Library/BaseLib/BaseLib.inf + BaseMemoryLib|MdePkg/Library/BaseMemoryLib/BaseMemoryLib.inf + PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf + DebugLib|MdePkg/Library/UefiDebugLibStdErr/UefiDebugLibStdErr.inf + DebugPrintErrorLevelLib|MdePkg/Library/BaseDebugPrintErrorLevelLib/BaseD= ebugPrintErrorLevelLib.inf + PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf + +[LibraryClasses.ARM, LibraryClasses.AARCH64] + # + # This library provides the instrinsic functions generated by a given co= mpiler. + # + NULL|ArmPkg/Library/CompilerIntrinsicsLib/CompilerIntrinsicsLib.inf + NULL|MdePkg/Library/BaseStackCheckLib/BaseStackCheckLib.inf + ArmSoftFloatLib|ArmPkg/Library/ArmSoftFloatLib/ArmSoftFloatLib.inf + +[Components] + + !include RedfishClientPkg/RedfishClient.dsc.inc diff --git a/RedfishClientPkg/RedfishClient.fdf.inc b/RedfishClientPkg/Redf= ishClient.fdf.inc new file mode 100644 index 0000000000..4f0714004e --- /dev/null +++ b/RedfishClientPkg/RedfishClient.fdf.inc @@ -0,0 +1,14 @@ +## @file +# Redfish Client FDF include file for [FV*] section of all Architectures. +# +# This file can be included to the [FV*] section(s) of a platform FDF file +# by using "!include RedfishClientPkg/RedfisClientLibs.fdf.inc" to specify= the module instances +# to be built in the firmware volume. +# +# (C) Copyright 2021 Hewlett Packard Enterprise Development LP
+# +# SPDX-License-Identifier: BSD-2-Clause-Patent +# +## +!if $(REDFISH_CLIENT) =3D=3D TRUE +!endif --=20 2.37.1.windows.1 -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#103886): https://edk2.groups.io/g/devel/message/103886 Mute This Topic: https://groups.io/mt/98656949/1787277 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [importer@patchew.org] -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-