From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from NAM04-BN8-obe.outbound.protection.outlook.com (NAM04-BN8-obe.outbound.protection.outlook.com [40.107.100.52]) by mx.groups.io with SMTP id smtpd.web10.65567.1683466737154067838 for ; Sun, 07 May 2023 06:38:57 -0700 Authentication-Results: mx.groups.io; dkim=fail reason="body hash did not verify" header.i=@nvidia.com header.s=selector2 header.b=U4DsqNC0; spf=permerror, err=parse error for token &{10 18 %{i}._ip.%{h}._ehlo.%{d}._spf.vali.email}: invalid domain name (domain: nvidia.com, ip: 40.107.100.52, mailfrom: nicklew@nvidia.com) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=aQEh5I7b/NEru/vcq7elqJxYGuN0F81nHQ/dGlYfAJuloBIfO/Z2nL60Zx2UYnJY+i28x+MDpB+TxSIRCaT7F9qNIdk7YMXckLpWDUMzo6U4b5kJzx5LZdWR3asjPa3o+e2VfC9lr2pDFkucubzXRPflhXENbQu6VVSk+3ZCgJHuQGyxh7XxP5IfBT/7EbE4sHFKw8PTSX6VILAwA3PIneJn2InK0KG7L0kMLN4/XH+FDUq7cUMY4t3uwXo6IDaIWQKiVpmSZ6NLhZQc/q0W4djtceSK6OteyTq3MOMTGA983a3AIHeZk0gofeMBeEscEf6s0bexefkFjZ6LtDA8Cg== 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=vmL68zDzuMbBTl13aWzpyTpHe+8DE4+MShjHrAUW26o=; b=XGx5Ds15Gv2x6ZfSgH+7tCPbTas7Wc63OM8FV/Cg62ssn3VkXT4tbfrKs2S6zrptRZDGDZhEtjhVg4Y+E97gFlZWtDy9ZoH9Iyg20z89BQwydMCmFweHZEztfB111HCFD7e4EsArmPkLA1oEC1lloO/sdRb9ycWurk/oPXj+JPIY1pMfdVvWT5g+TKJBKHa6nvi6GIL8f+DYEagqDBvhL7dGevcbKeCy6dU0oZtyL0aTYGGJYc2aan+VcHF8b3LcUDYH6swoqnsJNmRKiwe/fvkxWEB+dlXcCVGsqRkU8wKTK08F9iQ3FB0nwzgfLZt1r6ZgteFtHO5HAaikFpib5Q== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 216.228.117.160) smtp.rcpttodomain=edk2.groups.io smtp.mailfrom=nvidia.com; dmarc=pass (p=reject sp=reject pct=100) action=none header.from=nvidia.com; dkim=none (message not signed); arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=Nvidia.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=vmL68zDzuMbBTl13aWzpyTpHe+8DE4+MShjHrAUW26o=; b=U4DsqNC0fIdZmiEQkdUd+qrWpO6sugla1D+DVV8jr2Kv3PpsjmEpAyf9/i0vhXqLLeM9VtO2S6tJBlSH/K1YIoEuxndUTMEZZCqhFr5YRXBCpcx2vl9w5oykvlFNMX2FkG/SSco0Bonfkn0+avTeyz2RxDzY9ffmMhC7yAEAGKaUDTxzsCN4dhdFzOwzWf09T8NP3lCG/vh4It2/IOgse+o2zqFvmRM3lqCcb2Y74ArROLgO8COzVD/jSK2j34fNgQ3+YY4UGZbKWA9cOWp/eFC2o1XFO+KYqe6GtE80Vw8d0gSHwbnjOt9eas18C1xDjrM5kHqbj+7jOK+9QLeP+g== Received: from MWH0EPF00056D09.namprd21.prod.outlook.com (2603:10b6:30f:fff2:0:1:0:9) by PH8PR12MB7111.namprd12.prod.outlook.com (2603:10b6:510:22d::8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6340.22; Sun, 7 May 2023 13:38:55 +0000 Received: from CO1NAM11FT111.eop-nam11.prod.protection.outlook.com (2a01:111:f400:7eab::204) by MWH0EPF00056D09.outlook.office365.com (2603:1036:d20::b) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6387.10 via Frontend Transport; Sun, 7 May 2023 13:38:54 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 216.228.117.160) smtp.mailfrom=nvidia.com; dkim=none (message not signed) header.d=none;dmarc=pass action=none header.from=nvidia.com; Received-SPF: Pass (protection.outlook.com: domain of nvidia.com designates 216.228.117.160 as permitted sender) receiver=protection.outlook.com; client-ip=216.228.117.160; helo=mail.nvidia.com; pr=C Received: from mail.nvidia.com (216.228.117.160) by CO1NAM11FT111.mail.protection.outlook.com (10.13.174.61) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6363.32 via Frontend Transport; Sun, 7 May 2023 13:38:54 +0000 Received: from rnnvmail205.nvidia.com (10.129.68.10) by mail.nvidia.com (10.129.200.66) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.986.5; Sun, 7 May 2023 06:38:31 -0700 Received: from rnnvmail202.nvidia.com (10.129.68.7) by rnnvmail205.nvidia.com (10.129.68.10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.986.37; Sun, 7 May 2023 06:38:30 -0700 Received: from NV-CL38DL3.nvidia.com (10.127.8.10) by mail.nvidia.com (10.129.68.7) with Microsoft SMTP Server id 15.2.986.37 via Frontend Transport; Sun, 7 May 2023 06:38:29 -0700 From: "Nickle Wang" To: CC: Abner Chang , Igor Kulchytskyy Subject: [edk2-redfish-client][PATCH 2/2] RedfishClientPkg: Add Redfish memory edk2 modules to build Date: Sun, 7 May 2023 21:38:29 +0800 Message-ID: <20230507133829.7641-1-nicklew@nvidia.com> X-Mailer: git-send-email 2.17.1 MIME-Version: 1.0 Return-Path: nicklew@nvidia.com X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: CO1NAM11FT111:EE_|PH8PR12MB7111:EE_ X-MS-Office365-Filtering-Correlation-Id: e13bac11-ecd6-4c60-9a4e-08db4f0066e7 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: VTuRNuBbbIP5mE9Y3+YniAK6xtw9h6Gby+kSsZvS+7rStPpD+NY4V2VmNgcfGZYftX8EcdJVnGr5CwumrVhZ4/bQj5SsrLt2/PxocMLgA0zwOhZ8+k1SgArwTnqkc4hxxgT4nJp/N5YycgXXYITI1/WtucatB8tQFGopwkvAKLjuz1enuoO0pkV5LJdSI+Wh6jt2+F45ICjFOX/dn4OABZ+YCvuFDXumwjOY8P4avtsRE+iC2uEcUjikaHhCrDSTf3gZVxaIfgb8AlDUmY1Biu5cHyHGx1jcS4+oMd1pVlhct+87MZJ+ZafjP2Y1BC81D0h1IMbnSXrTkL55uf7rGYjRpVQi7Z/8xAp1cX36toWml8qAnKm7VCcXYadbY+qliSXPc1zB1M3i3MrOlzb+G/qJFaezUezWZnmib13ogApnCFie+3xRM5KNh6BJGsVv5yS4ddXBI6qh3JXDQ4PDVfxwZzCt9hOkLOqZ0E5Fnxhx8ay8xdkS8bNRPhS2I8BTQK5djULFRXF1f0cm5CNNa8h9gnZ7bBe+BVZUqEJvk/kOHzwZlS3XkxWgIPqxXSwkN771mV65X+dgDorR6nySz3T9r+vFmX12XhHPdJgDIsZcenFtF72ZcZ/xD0/+IGMY7jgLlzIIRMhoiGJVdFm/jT13WNAswavl5sPnVu68eH8Xn9L5avCFDB7FFDXflmeuBWvU8acvpPpT5KiQ/RoR5A== X-Forefront-Antispam-Report: CIP:216.228.117.160;CTRY:US;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:mail.nvidia.com;PTR:dc6edge1.nvidia.com;CAT:NONE;SFS:(13230028)(4636009)(136003)(376002)(396003)(346002)(39860400002)(451199021)(40470700004)(36840700001)(46966006)(26005)(2616005)(1076003)(36756003)(186003)(40480700001)(40460700003)(2906002)(54906003)(8676002)(426003)(336012)(41300700001)(478600001)(316002)(7636003)(356005)(47076005)(82740400003)(70206006)(83380400001)(36860700001)(70586007)(8936002)(6916009)(4326008)(82310400005)(7696005)(5660300002)(86362001);DIR:OUT;SFP:1101; X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 07 May 2023 13:38:54.7168 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: e13bac11-ecd6-4c60-9a4e-08db4f0066e7 X-MS-Exchange-CrossTenant-Id: 43083d15-7273-40c1-b7db-39efd9ccc17a X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=43083d15-7273-40c1-b7db-39efd9ccc17a;Ip=[216.228.117.160];Helo=[mail.nvidia.com] X-MS-Exchange-CrossTenant-AuthSource: CO1NAM11FT111.eop-nam11.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: PH8PR12MB7111 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain We plan to modify the build tool to pull in the corresponding Redfish resource converters and feature drivers into build according to the "x-uefi-redfish" language that applied on HII options in VFR files. Signed-off-by: Nickle Wang Cc: Abner Chang Cc: Igor Kulchytskyy --- RedfishClientPkg/RedfishClientComponents.dsc.inc | 8 +++++--- RedfishClientPkg/RedfishClientLibs.dsc.inc | 3 +++ RedfishClientPkg/RedfishClient.fdf.inc | 3 +++ 3 files changed, 11 insertions(+), 3 deletions(-) diff --git a/RedfishClientPkg/RedfishClientComponents.dsc.inc b/RedfishClie= ntPkg/RedfishClientComponents.dsc.inc index 70a61076..128bb8b9 100644 --- a/RedfishClientPkg/RedfishClientComponents.dsc.inc +++ b/RedfishClientPkg/RedfishClientComponents.dsc.inc @@ -15,11 +15,13 @@ !if $(REDFISH_CLIENT) =3D=3D TRUE RedfishClientPkg/RedfishFeatureCoreDxe/RedfishFeatureCoreDxe.inf RedfishClientPkg/RedfishETagDxe/RedfishETagDxe.inf + RedfishClientPkg/Features/Memory/V1_7_1/Dxe/RedfishMemoryDxe.inf + RedfishClientPkg/Features/RedfishMemoryCollectionDxe/RedfishMemoryCollec= tionDxe.inf !endif =20 !if $(REDFISH_CLIENT_ALL_AUTOGENED) =3D=3D TRUE !include RedfishClientPkg/RedfishJsonStructureDxe.dsc.inc +!else + RedfishClientPkg/Converter/Memory/v1_7_1/RedfishMemory_V1_7_1_Dxe.inf + RedfishClientPkg/Converter/MemoryCollection/RedfishMemoryCollection_Dxe.= inf !endif - - RedfishClientPkg/Features/Memory/V1_7_1/Dxe/RedfishMemoryDxe.inf - RedfishClientPkg/Features/RedfishMemoryCollectionDxe/RedfishMemoryCollec= tionDxe.inf diff --git a/RedfishClientPkg/RedfishClientLibs.dsc.inc b/RedfishClientPkg/= RedfishClientLibs.dsc.inc index a23b9478..5456b72a 100644 --- a/RedfishClientPkg/RedfishClientLibs.dsc.inc +++ b/RedfishClientPkg/RedfishClientLibs.dsc.inc @@ -12,6 +12,9 @@ ## !if $(REDFISH_CLIENT_ALL_AUTOGENED) =3D=3D TRUE !include RedfishClientPkg/RedfishJsonStructureLib.dsc.inc +!else + MemoryV1_7_1Lib|RedfishClientPkg/ConverterLib/edk2library/Memory/v1_7_1/= Lib.inf + MemoryCollectionLib|RedfishClientPkg/ConverterLib/edk2library/MemoryColl= ection/Lib.inf !endif =20 NetLib|NetworkPkg/Library/DxeNetLib/DxeNetLib.inf diff --git a/RedfishClientPkg/RedfishClient.fdf.inc b/RedfishClientPkg/Redf= ishClient.fdf.inc index cc0da261..8853c93d 100644 --- a/RedfishClientPkg/RedfishClient.fdf.inc +++ b/RedfishClientPkg/RedfishClient.fdf.inc @@ -15,4 +15,7 @@ INF RedfishClientPkg/RedfishETagDxe/RedfishETagDxe.inf INF RedfishClientPkg/Features/Memory/V1_7_1/Dxe/RedfishMemoryDxe.inf INF RedfishClientPkg/Features/RedfishMemoryCollectionDxe/RedfishMemoryCo= llectionDxe.inf + + INF RedfishClientPkg/Converter/Memory/v1_7_1/RedfishMemory_V1_7_1_Dxe.in= f + INF RedfishClientPkg/Converter/MemoryCollection/RedfishMemoryCollection_= Dxe.inf !endif --=20 2.17.1