From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail02.groups.io (mail02.groups.io [66.175.222.108]) by spool.mail.gandi.net (Postfix) with ESMTPS id 99246D811C3 for ; Thu, 4 Jan 2024 05:09:28 +0000 (UTC) DKIM-Signature: a=rsa-sha256; bh=v7bhyGwenMPTyEWz5I1f525gl+1hJ44tVTex+5PvVbU=; c=relaxed/simple; d=groups.io; h=ARC-Seal:ARC-Message-Signature:ARC-Authentication-Results:Received-SPF:From:To:CC:Subject:Date:Message-ID:MIME-Version:Precedence:List-Subscribe:List-Help:Sender:List-Id:Mailing-List:Delivered-To:Reply-To:List-Unsubscribe-Post:List-Unsubscribe:Content-Transfer-Encoding:Content-Type; s=20140610; t=1704344967; v=1; b=aO8Zo1zShdmLazDT6/82LigGsPDF1tH2UHcaaXaBzLoXzNptuxFSj79f9jIBkI25iUDbXVbd SEgADWNlupvdjaxEU4EBaVQVT9bWiaNlkXXQhn0bjiskaDGpBZejNJVUgpbY/4LyaSh0Sy8CvRQ WfEOzMAiQUnwojpwGj0d0RL8= X-Received: by 127.0.0.2 with SMTP id oQdkYY7687511xAin28rWEnA; Wed, 03 Jan 2024 21:09:27 -0800 X-Received: from NAM10-DM6-obe.outbound.protection.outlook.com (NAM10-DM6-obe.outbound.protection.outlook.com [40.107.93.48]) by mx.groups.io with SMTP id smtpd.web10.48062.1704344966144982298 for ; Wed, 03 Jan 2024 21:09:26 -0800 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=ImhcNfH7WnkSgQHqwgu3A7RH1xVhz9R4w7WW6B7LzO/De+0yIZUn8oUaGadRZkJt/o+nPy3metpGEDC9IMjcCAk7mrgk9H6nfQEltzQxpaWaSWkbYxd4oqMeIlX8mc+9PrsNt7KYca2MTUJO6jPEThggFe0d29dcic5kv57SnuRSsmByOUm2WdkDS6fJzDnH9E+t94Vi4E7cxgl38Bhwv7BC9T/8qev/hwutr7KuDEcvCdJN4CHAqZo0fvMYDtegPrPa2N830vB7sEIjIUdU1Vo/Wqg1mQWiJ+Pa5A3mbH1tzKr2S2q+Uf6Yj3yMFpzZY4br4Y7R15WPEta3qmtxTw== 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=gAk23yT+3SiTev0Ed7I9jqdw0DQV0itBCQBOuOfjgiQ=; b=jd7x1A2SdMHZB66q9V4xUPb+VPf8z82QAiptxI20LPyL6Bk6ODuRnqZGtoR0qRtmIaKIlDq0uTA++FScx8xMIDZvX31KOjJeUWBgGV9/n3zt80Hti0e15UVlplZl+fjbBH8wqcQnWlB1rt7Fp+LL9UwFhESVHJdUZBaGxi8i69h+TbG5CZchraL5gIXmrOvtP7XVIb2Epj8fA92BtP8lIpBZY5V+PUvn/s0ttiJQ4swr8BfZeeqR3s+GlZLppo6Js3jry5uVa98pE01V1wvPFIUiCUHbITRdvq9iKO/ovhFAtcvXYevPhozBxewZMytorbG2YXUVa9FvGENLoYRhvw== 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 (0) X-Received: from BYAPR11CA0100.namprd11.prod.outlook.com (2603:10b6:a03:f4::41) by PH8PR12MB6818.namprd12.prod.outlook.com (2603:10b6:510:1c9::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7159.15; Thu, 4 Jan 2024 05:09:22 +0000 X-Received: from SJ5PEPF000001D0.namprd05.prod.outlook.com (2603:10b6:a03:f4:cafe::f9) by BYAPR11CA0100.outlook.office365.com (2603:10b6:a03:f4::41) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7135.20 via Frontend Transport; Thu, 4 Jan 2024 05:09:22 +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 X-Received: from mail.nvidia.com (216.228.117.160) by SJ5PEPF000001D0.mail.protection.outlook.com (10.167.242.52) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7159.9 via Frontend Transport; Thu, 4 Jan 2024 05:09:22 +0000 X-Received: from rnnvmail203.nvidia.com (10.129.68.9) 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.41; Wed, 3 Jan 2024 21:09:12 -0800 X-Received: from rnnvmail205.nvidia.com (10.129.68.10) by rnnvmail203.nvidia.com (10.129.68.9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.986.41; Wed, 3 Jan 2024 21:09:11 -0800 X-Received: from NV-CL38DL3.nvidia.com (10.127.8.10) by mail.nvidia.com (10.129.68.10) with Microsoft SMTP Server id 15.2.986.41 via Frontend Transport; Wed, 3 Jan 2024 21:09:11 -0800 From: "Nickle Wang via groups.io" To: CC: Abner Chang , Igor Kulchytskyy , "Nick Ramirez" Subject: [edk2-devel] [edk2-redfish-client][PATCH 0/4] Introduce Redfish boot option drivers Date: Thu, 4 Jan 2024 13:09:10 +0800 Message-ID: <20240104050910.70482-1-nicklew@nvidia.com> MIME-Version: 1.0 X-NVConfidentiality: public X-NV-OnPremToCloud: ExternallySecured X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: SJ5PEPF000001D0:EE_|PH8PR12MB6818:EE_ X-MS-Office365-Filtering-Correlation-Id: fd435370-4cd0-4519-2b50-08dc0ce35046 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam-Message-Info: YUTpYDZ4MrRGIpiIWiThRN6m4p6B/bFtgJqWeWwCgIkF+skfpQjuF1f5VWEIeNZNDvQWtei0M/VAPmuTKDFse7fz+xkDSLGNdGAd4+8nCAiZLB8iqZj/9bt2rEDjE6ocbH56u02xGs/0DwOjCYPzDE1pIR0D+cHJhL94FOeqQzj5xKzoLjUw4HUKx9UgBlJ61OsvAr7KsTEXrqB92FfcSp1wCSYweXBZf1Pk8p17HL+VeEZhXa1oximMDTSJaocuO9JC4WG09sNkvndxC+xmiNEeb+ILTLx/IHjsIFIgaYWwaDT8w7CHAjVjGvntbyO76BdLOdeA9+/OFZzj57Pmu2NetGqedHRZQuSnNRNPj/vLwK8VGqcA8P77C71HfEGRbow+UIueDZfSetcw5+Igms6cUaCAk1MoAZe3Fuiq4SEPgVEx35Y1Azj/2scgaPjJ746ztQEfgEk+tSffQcci++2Qn91fau4HZs5k+K6KyskZwt8bezBt48Fyre1/M8rMmz/L+w4oThQvMTu26BVR9vPHCS8G3bWQT3kzCFEwaRZVjIKWheDrQzZGU3YHNmhsUb3mzWqJPqKIpDSHaP8dlomm4sRnlYSe43jiCCz8u5pg/C1FqRPrb3qILTXsSqK/si6dtYn5zQLYciNtNixD+U1dNVcpg1yuixDhn7r5BXNeW2SzKaPFi1fbJzrCWk8mooJRRVnF9EHr6zn3DY7xHvKj1wC9uw7yRQvvpcmrg4OEmkz+Xq2sjg7hX4UCfpw6 X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 04 Jan 2024 05:09:22.2403 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: fd435370-4cd0-4519-2b50-08dc0ce35046 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: SJ5PEPF000001D0.namprd05.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: PH8PR12MB6818 Precedence: Bulk 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,nicklew@nvidia.com List-Unsubscribe-Post: List-Unsubscribe=One-Click List-Unsubscribe: X-Gm-Message-State: r5pRlq6pI8cnISNtua8wL8Wsx7686176AA= Content-Transfer-Encoding: quoted-printable Content-Type: text/plain X-GND-Status: LEGIT Authentication-Results: spool.mail.gandi.net; dkim=pass header.d=groups.io header.s=20140610 header.b=aO8Zo1zS; spf=pass (spool.mail.gandi.net: domain of bounce@groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce@groups.io; dmarc=none; arc=reject ("signature check failed: fail, {[1] = sig:microsoft.com:reject}") Introduction Redfish boot option collection and boot option drivers to=20 support Redfish resource at /redfish/v1/Systems/SYSTEM_ID/BootOptions. Signed-off-by: Nickle Wang Cc: Abner Chang Cc: Igor Kulchytskyy Cc: Nick Ramirez Nickle Wang (4): RedfishClientPkg: add ETag to Redfish resource check function RedfishClientPkg/ConverterLib: fix GCC build error RedfishClientPkg/Features: introduce boot option collection RedfishClientPkg/Features: introduce boot option .../RedfishClientComponents.dsc.inc | 6 +- RedfishClientPkg/RedfishClientLibs.dsc.inc | 2 + .../BootOption/v1_0_4/Dxe/BootOptionDxe.inf | 56 + .../BootOptionCollectionDxe.inf | 60 + .../v1_0_4/Common/BootOptionCommon.h | 33 + .../BootOptionCollectionDxe.h | 33 + .../Include/RedfishResourceCommon.h | 4 +- .../BootOption.V1_0_4/BootOption.V1_0_4.c | 1005 ++++++++--------- .../BootOptionCollection.c | 496 ++++---- .../Features/Bios/v1_0_9/Common/BiosCommon.c | 15 +- .../Features/Bios/v1_0_9/Dxe/BiosDxe.c | 12 +- .../v1_0_4/Common/BootOptionCommon.c | 799 +++++++++++++ .../BootOption/v1_0_4/Dxe/BootOptionDxe.c | 701 ++++++++++++ .../BootOptionCollectionDxe.c | 858 ++++++++++++++ .../v1_5_0/Common/ComputerSystemCommon.c | 15 +- .../v1_5_0/Dxe/ComputerSystemDxe.c | 12 +- .../Memory/V1_7_1/Common/MemoryCommon.c | 15 +- .../Features/Memory/V1_7_1/Dxe/MemoryDxe.c | 12 +- .../RedfishFeatureUtilityLib.c | 4 +- RedfishClientPkg/RedfishClient.fdf.inc | 6 +- 20 files changed, 3379 insertions(+), 765 deletions(-) create mode 100644 RedfishClientPkg/Features/BootOption/v1_0_4/Dxe/BootOpt= ionDxe.inf create mode 100644 RedfishClientPkg/Features/BootOptionCollection/BootOpti= onCollectionDxe.inf create mode 100644 RedfishClientPkg/Features/BootOption/v1_0_4/Common/Boot= OptionCommon.h create mode 100644 RedfishClientPkg/Features/BootOptionCollection/BootOpti= onCollectionDxe.h create mode 100644 RedfishClientPkg/Features/BootOption/v1_0_4/Common/Boot= OptionCommon.c create mode 100644 RedfishClientPkg/Features/BootOption/v1_0_4/Dxe/BootOpt= ionDxe.c create mode 100644 RedfishClientPkg/Features/BootOptionCollection/BootOpti= onCollectionDxe.c --=20 2.34.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 (#113131): https://edk2.groups.io/g/devel/message/113131 Mute This Topic: https://groups.io/mt/103517649/7686176 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [rebecca@openfw.io] -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-