From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mga05.intel.com (mga05.intel.com [192.55.52.43]) by mx.groups.io with SMTP id smtpd.web11.4024.1689127579229925591 for ; Tue, 11 Jul 2023 19:06:19 -0700 Authentication-Results: mx.groups.io; dkim=fail reason="unable to parse pub key" header.i=@intel.com header.s=intel header.b=SmI3eLQJ; spf=pass (domain: intel.com, ip: 192.55.52.43, mailfrom: isaac.w.oram@intel.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1689127579; x=1720663579; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-transfer-encoding:mime-version; bh=5cyvb3j2CQgxr33L0Y9uwDgkisv0N0V2BOD4zBWy55o=; b=SmI3eLQJup9yYCFTqXw5FbCmdjSrlUlmwsi90sZGkkcPMIKont4TOLxZ WqSF+19D4+5uGRECKB1wUTqzkdozOifOHo9Z/qQQKtNmoP6Vb6MatfE+R /pIDeX2fBqavRUiBFXN+Js9J9jzDMiD++WYMF89bkXrrZGCVxejO0nm33 fpG7mYdfAAGnS3uUgfNW/WfmC5UiDX3EehM43eAR3qub72V+ZnFyzB7n6 gdy9vT+KRdoEPIbmgROFYUT+/rC+ds8P4vimaFhlnkFGiRoD9U66i3qN2 CKCKZPSs63sOd8hbXErUihqeW7UuHo5LI7c6drIvyAkb5XB/J6jPxdkfT g==; X-IronPort-AV: E=McAfee;i="6600,9927,10768"; a="451144421" X-IronPort-AV: E=Sophos;i="6.01,198,1684825200"; d="scan'208";a="451144421" Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by fmsmga105.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 11 Jul 2023 19:06:18 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10768"; a="811410897" X-IronPort-AV: E=Sophos;i="6.01,198,1684825200"; d="scan'208";a="811410897" Received: from orsmsx601.amr.corp.intel.com ([10.22.229.14]) by FMSMGA003.fm.intel.com with ESMTP; 11 Jul 2023 19:06:18 -0700 Received: from orsmsx610.amr.corp.intel.com (10.22.229.23) by ORSMSX601.amr.corp.intel.com (10.22.229.14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.27; Tue, 11 Jul 2023 19:06:17 -0700 Received: from ORSEDG601.ED.cps.intel.com (10.7.248.6) by orsmsx610.amr.corp.intel.com (10.22.229.23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.27 via Frontend Transport; Tue, 11 Jul 2023 19:06:17 -0700 Received: from NAM12-MW2-obe.outbound.protection.outlook.com (104.47.66.42) by edgegateway.intel.com (134.134.137.102) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2507.27; Tue, 11 Jul 2023 19:06:17 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=C215Vrdqsov33B84qj3Owlt0i6icFn6SPhVGJyAx3N+CyIzGTpeO2OrZ6tiLEOGOKIt85L6BVIMfKJtzA5x3mrxNFicAvf7fLwe/KZc3oOqahOIb1ihyJkaz7HRKHJIC6iUVTfMMVDDyJV7DqzhGRgyZJUIjaoyMHv7t9VvhDY/Jyujzo/WVJuhyHEhPHkNaeejeLfT+ruw2x+qPj6maWdj5LWham0Aoz3xhAw1M9CLrtvtZQiS/F1rYogNoHFwLVxH4AWBRNzhm3/Wv9skbqUY2wFgTeCy4RvX9b+87/bFrfUVh7Vr9yKxMyqu0E1SUyBSFf4ftD549eBMX86UdRw== 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=PNyCiI8SsZ5wDI62rpRtUxs9x0VM4itknDpOSN8/jmc=; b=U0sILkj4CJlRXcYTLtWeWlPbEfl+ihlFsh1r2+DZOlaCmVMhqV64YZzIgJ4hfAye7ykysdPZWv6IUci38oqgGMIaninfx25vQdYXXyrMfRyxrx5oOZM+nowb9QOKffudFJko8VE2Iulsn1Wr1dfax4o+0Hw4rNFoWvrZZKIr6pjDhQtz4E1DP75aADyyIx8EmpqTYxsAfxmdngvQRxukG+nadad6SNNFdMvSoitFZRYYektrB+vtElXdn+x4M74AoNjsGmzxjvJVBFE5E4S9lzoPl0rQfLdeY/MZyS2ZOVFBhoEld5o9pQ5t/P32//4KOi/p1bj7+wa4MMXnBVQOkg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=intel.com; dmarc=pass action=none header.from=intel.com; dkim=pass header.d=intel.com; arc=none Received: from SA1PR11MB5801.namprd11.prod.outlook.com (2603:10b6:806:23d::13) by DS0PR11MB7971.namprd11.prod.outlook.com (2603:10b6:8:122::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6565.30; Wed, 12 Jul 2023 02:06:15 +0000 Received: from SA1PR11MB5801.namprd11.prod.outlook.com ([fe80::ba9b:b98b:c9f2:b32]) by SA1PR11MB5801.namprd11.prod.outlook.com ([fe80::ba9b:b98b:c9f2:b32%7]) with mapi id 15.20.6565.026; Wed, 12 Jul 2023 02:06:15 +0000 From: "Isaac Oram" To: "Chang, Abner" , "Chesley, Brit" , "devel@edk2.groups.io" CC: "Attar, AbdulLateef (Abdul Lateef)" , "Nickle Wang" Subject: Re: [edk2-platforms][PATCH v1 1/1] ManageabilityPkg: Ipmi Get/Set Boot Options Thread-Topic: [edk2-platforms][PATCH v1 1/1] ManageabilityPkg: Ipmi Get/Set Boot Options Thread-Index: AQHZs5gbDdOAIx1mpEOcxZ0DKsMWv6+1Y5Ng Date: Wed, 12 Jul 2023 02:06:15 +0000 Message-ID: References: <20230710192323.32-1-Brit.Chesley@amd.com> In-Reply-To: Accept-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: msip_labels: MSIP_Label_4342314e-0df4-4b58-84bf-38bed6170a0f_ActionId=9d5c5455-6ee8-46da-b50d-74a6d69afd68;MSIP_Label_4342314e-0df4-4b58-84bf-38bed6170a0f_ContentBits=0;MSIP_Label_4342314e-0df4-4b58-84bf-38bed6170a0f_Enabled=true;MSIP_Label_4342314e-0df4-4b58-84bf-38bed6170a0f_Method=Standard;MSIP_Label_4342314e-0df4-4b58-84bf-38bed6170a0f_Name=General;MSIP_Label_4342314e-0df4-4b58-84bf-38bed6170a0f_SetDate=2023-07-11T01:34:31Z;MSIP_Label_4342314e-0df4-4b58-84bf-38bed6170a0f_SiteId=3dd8961f-e488-4e60-8e11-a82d994e183d; authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=intel.com; x-ms-publictraffictype: Email x-ms-traffictypediagnostic: SA1PR11MB5801:EE_|DS0PR11MB7971:EE_ x-ms-office365-filtering-correlation-id: 76c46b77-889f-4da5-94ab-08db827c92d8 x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: GTFprarHGW+Dckl0NZr79C6tAyCnd1QQu9Zghtzs2v3rwghPDnR42WSijBsSYUoYeTqLAxAisf8/fDtn02CEQKLIlMvbMR1PpcfM7t6o4SVcwYDech0Coep1usXsSF64rAbe8wlJV3YiHnaoNIkIl0IVm7bP5WHzJGcOQJbopIsEo36U9mWm7FZBw+Veb9UEaoXCK99+eKR4SsfUWF3+SBOP65fE6k7ZN6HUmjtCvt6sgjPqiwmXrLOaTnkaitbvv1P2gac+GLeys1MjTtmeH7IjSlRETdn+zdEVv9grWDFiaqESkf/joi2WdobecmvsKutpvQd1a2s9uymKd52r63Ad1Kt+opW/OG1j8NvVhcLv5+sY0IaJRViGR9z9RAnotSEw2sDnxYrcmC1mqDnYKJTzAmFVHek4HiJDrBVgQK+HkfFcuRwjH9zx+LVbiYxc1+GollrlZ86iuY+jITz/xm9ZSb8z2HyUqb1V8V0EYSLaE29h4IjAGRCXLXvUWNZUt/b/Q7SFn3UV2EKYsEwxeK3pIYCDzN5SviI6jPz56WKnzO8XULkLaIJcbWjMyfp9OECO8e9n+0weKX5NibNgZuk8QcJDnK2w24+MN5CKfuj4udRzurg3sD7nQ3yLH3L4 x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:SA1PR11MB5801.namprd11.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230028)(376002)(346002)(366004)(136003)(39860400002)(396003)(451199021)(8676002)(8936002)(5660300002)(186003)(52536014)(83380400001)(6506007)(26005)(86362001)(53546011)(41300700001)(33656002)(7696005)(71200400001)(316002)(9686003)(66446008)(66476007)(2906002)(82960400001)(66946007)(55016003)(76116006)(66556008)(64756008)(54906003)(122000001)(478600001)(110136005)(4326008)(38100700002)(38070700005);DIR:OUT;SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?PICjMRWo56QySkrOX5msrG5NOz/2VLjDBbJyEnyPVfydzopqFXktLaB1euOm?= =?us-ascii?Q?fnjIIkqYNpHdBoIQDfiIWvNTzYRd4qj0rxuzdaceBVcOS4tyoxvzC1sSQpN6?= =?us-ascii?Q?ZJML3ttkQzz51dIP/lAzUQnNOp22iMvBneC68ueRMPzkuUb3yAs3Otn7nO8J?= =?us-ascii?Q?xGNerYTeW87AZsFN+bfjQ1Ee58SeYzWI3lC61xG4OWM0tEsa9TmKS7ste4Pk?= =?us-ascii?Q?x+vdiAp+Kaqnmr4eQU+fY3VeHeL6s4XuFIoHqHtFU+v6CKtTG3wHFXXJr4l4?= =?us-ascii?Q?i5bB/HqFJqjyW9D1w4VGZidmmHXp7vZQbQprsuv8mjnHrT/OEO4Fn6yiEY6y?= =?us-ascii?Q?dZ8vhBDwbrD3fyn824YnRuKgShwLFWEQAAvoToSL0balYVW3Da5kY35fQzGI?= =?us-ascii?Q?o6WiEYIsDYrl3EuiIkdisfehIF83H3TALOaBr/pYcxyiUjRwxPmdS0kl86GI?= =?us-ascii?Q?sgrsXBdqqbUtG6WhZP7b86QmjnXfr2MCY7zShxLOPUlWThMXZInEYGR21sNO?= =?us-ascii?Q?DWYvTsao7WsZXwkrXQ6fTYGoFw6z4PEPzT2bbumnrWCLZ80SvzFS0n4yGcLP?= =?us-ascii?Q?8Rq2PiNL4UmoUtsjPCfC3jF3IGuRvrcb9XBcgcRUKCZornTCETyixXYNrDyV?= =?us-ascii?Q?3Xh7zpmdM4Q1m/Ul7cJklnNfZ7UR3KYzTk4Quj5CLv7r5fBB360uJXPh9L6t?= =?us-ascii?Q?mn2yvnaFMvUC6MIRxyZz1odcWEiZeot6axB8xjDcXHSxJoxgLHrysq1aXDLZ?= =?us-ascii?Q?S1Jm94sTjik8cp3F2ZZTyrAxXK3FTfvqXjf9l5vXAP7Polx1NgEnbSlEOFoz?= =?us-ascii?Q?yD29rK1rkE2zbq9iHdztl+/FU6dME0IF+u79ZD/kAwRg/iiFtMyDY1BHf+Yo?= =?us-ascii?Q?UDCZU9KswQLTjEifk7k9JnDQUOQwakbABNTdWO3Qwqg4fuzMjSEfqrOEOC+p?= =?us-ascii?Q?e8j0P821koACwiCBo5E6sM99/qjfMF9hIdojdrgjTlE7FY/bfNN/CeoYkCIM?= =?us-ascii?Q?1vmD8l0w79xPhggubDHy/XQvzaVgzpc/m3Mv9UtZLBQ4pcow1+COG80f6aik?= =?us-ascii?Q?VwOw6/2KhdjX+c3Hihuv5mAN2JOI0GZKzw3bPmTJQKtLOCDFVxAL6c3bYVIO?= =?us-ascii?Q?Phhh0yBsMQPgIZtX3jgxKizCIDQWi9JifJ8Ir1qkCWepqmFemm1/mno1nTxB?= =?us-ascii?Q?NMHLMSipaXoycwE84jDXDrRDFir4bxGiUx3bE8wWzknQVb0szKhKkUr7IO3h?= =?us-ascii?Q?PFkOWzK3NJDOzY0LVg52PWSQHKFleAtpwZHa+LSTr1zyLYg4JuI6Ai6aDEWt?= =?us-ascii?Q?gPZnnqFTikujRDGKl/68SIkO7qIdVDqLxpNHzPGjNrxDclkPF+NvU7lFycWp?= =?us-ascii?Q?4cIIRLqJYxFzUldEPQI1TPBK9RX7UI1clsZn02rCz6nAJzj6UeFN97WIW8ES?= =?us-ascii?Q?jU7UVRhUIBDPHe6WpqkQEPyVt0F8A622XghtrdhMMGa0g0vP1qU0Y0EQq2h0?= =?us-ascii?Q?8lnEl6Nj09h5nX7EkAdDc9gg5Sr070achoQphnIdGDX6ao2no0hX5v6AHuJs?= =?us-ascii?Q?PJ6/4RKlps+hT/8Ks/LelZ6k6zmn5VvbTihWOeUc?= MIME-Version: 1.0 X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: SA1PR11MB5801.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 76c46b77-889f-4da5-94ab-08db827c92d8 X-MS-Exchange-CrossTenant-originalarrivaltime: 12 Jul 2023 02:06:15.3887 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 46c98d88-e344-4ed4-8496-4ed7712e255d X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: qmO+1wR8lyBpKeycNA9AXB9kZ9k6xfxFF7vE0R6NQxVM78GN/TlnfDDaJKxuM7zHlnJPUfpEri87FORDKyQstg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DS0PR11MB7971 Return-Path: isaac.w.oram@intel.com X-OriginatorOrg: intel.com Content-Language: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Reviewed-by: Isaac Oram -----Original Message----- From: Chang, Abner =20 Sent: Monday, July 10, 2023 6:36 PM To: Chesley, Brit ; devel@edk2.groups.io Cc: Oram, Isaac W ; Attar, AbdulLateef (Abdul Latee= f) ; Nickle Wang Subject: RE: [edk2-platforms][PATCH v1 1/1] ManageabilityPkg: Ipmi Get/Set = Boot Options [AMD Official Use Only - General] Thank you Brit for the contribution! Let's wait for 1-2 days to see if ther= e is any other comments for this change. Reviewed-by: Abner Chang > -----Original Message----- > From: Chesley, Brit > Sent: Tuesday, July 11, 2023 3:23 AM > To: devel@edk2.groups.io > Cc: Chang, Abner ; Isaac Oram=20 > ; Attar, AbdulLateef (Abdul Lateef)=20 > ; Nickle Wang > Subject: [edk2-platforms][PATCH v1 1/1] ManageabilityPkg: Ipmi Get/Set=20 > Boot Options > > From: Brit Chesley > > BZ #: 4455. > Support parameter selectors for IPMI Get/Set boot options. The size of=20 > the response data is now dependent on the parameter selector, rather=20 > than being fixed. > > Cc: Abner Chang > Cc: Isaac Oram > Cc: Abdul Lateef Attar > Cc: Nickle Wang > Signed-off-by: Brit Chesley > --- > .../IpmiCommandLibNetFnChassis.c | 124 ++++++++++++++---- > 1 file changed, 102 insertions(+), 22 deletions(-) > > diff --git > a/Features/ManageabilityPkg/Library/IpmiCommandLib/IpmiCommandLibNe > tFnChassis.c > b/Features/ManageabilityPkg/Library/IpmiCommandLib/IpmiCommandLibNe > tFnChassis.c > index 0c40ad20b98a..01682f55b36d 100644 > --- > a/Features/ManageabilityPkg/Library/IpmiCommandLib/IpmiCommandLibNe > tFnChassis.c > +++ > b/Features/ManageabilityPkg/Library/IpmiCommandLib/IpmiCommandLibNe > tFnChassis.c > @@ -152,17 +152,58 @@ IpmiSetSystemBootOptions ( > ) > { > EFI_STATUS Status; > - UINT32 DataSize; > - > - DataSize =3D sizeof (*BootOptionsResponse); > - Status =3D IpmiSubmitCommand ( > - IPMI_NETFN_CHASSIS, > - IPMI_CHASSIS_SET_SYSTEM_BOOT_OPTIONS, > - (VOID *)BootOptionsRequest, > - sizeof (*BootOptionsRequest), > - (VOID *)BootOptionsResponse, > - &DataSize > - ); > + UINT32 RequestDataSize; > + UINT32 ResponseDataSize; > + > + ResponseDataSize =3D sizeof (*BootOptionsResponse); RequestDataSize = =20 > + =3D sizeof (*BootOptionsRequest); > + > + switch (BootOptionsRequest->ParameterValid.Bits.ParameterSelector) { > + case IPMI_BOOT_OPTIONS_PARAMETER_SELECTOR_SET_IN_PROGRESS: > + RequestDataSize +=3D sizeof > (IPMI_BOOT_OPTIONS_RESPONSE_PARAMETER_0); > + break; > + > + case > IPMI_BOOT_OPTIONS_PARAMETER_SELECTOR_SERVICE_PARTITION_SELECT > OR: > + RequestDataSize +=3D sizeof > (IPMI_BOOT_OPTIONS_RESPONSE_PARAMETER_1); > + break; > + > + case > IPMI_BOOT_OPTIONS_PARAMETER_SELECTOR_SERVICE_PARTITION_SCAN: > + RequestDataSize +=3D sizeof > (IPMI_BOOT_OPTIONS_RESPONSE_PARAMETER_2); > + break; > + > + case IPMI_BOOT_OPTIONS_PARAMETER_SELECTOR_BMC_BOOT_FLAG: > + RequestDataSize +=3D sizeof > (IPMI_BOOT_OPTIONS_RESPONSE_PARAMETER_3); > + break; > + > + case IPMI_BOOT_OPTIONS_PARAMETER_BOOT_INFO_ACK: > + RequestDataSize +=3D sizeof > (IPMI_BOOT_OPTIONS_RESPONSE_PARAMETER_4); > + break; > + > + case IPMI_BOOT_OPTIONS_PARAMETER_BOOT_FLAGS: > + RequestDataSize +=3D sizeof > (IPMI_BOOT_OPTIONS_RESPONSE_PARAMETER_5); > + break; > + > + case IPMI_BOOT_OPTIONS_PARAMETER_BOOT_INITIATOR_INFO: > + RequestDataSize +=3D sizeof > (IPMI_BOOT_OPTIONS_RESPONSE_PARAMETER_6); > + break; > + > + case IPMI_BOOT_OPTIONS_PARAMETER_BOOT_INITIATOR_MAILBOX: > + RequestDataSize +=3D sizeof > (IPMI_BOOT_OPTIONS_RESPONSE_PARAMETER_7); > + break; > + > + default: > + return EFI_INVALID_PARAMETER; > + break; > + } > + > + Status =3D IpmiSubmitCommand ( > + IPMI_NETFN_CHASSIS, > + IPMI_CHASSIS_SET_SYSTEM_BOOT_OPTIONS, > + (VOID *)BootOptionsRequest, > + RequestDataSize, > + (VOID *)BootOptionsResponse, > + &ResponseDataSize > + ); > return Status; > } > > @@ -184,16 +225,55 @@ IpmiGetSystemBootOptions ( > ) > { > EFI_STATUS Status; > - UINT32 DataSize; > - > - DataSize =3D sizeof (*BootOptionsResponse); > - Status =3D IpmiSubmitCommand ( > - IPMI_NETFN_CHASSIS, > - IPMI_CHASSIS_GET_SYSTEM_BOOT_OPTIONS, > - (VOID *)BootOptionsRequest, > - sizeof (*BootOptionsRequest), > - (VOID *)BootOptionsResponse, > - &DataSize > - ); > + UINT32 ResponseDataSize; > + > + ResponseDataSize =3D sizeof (*BootOptionsResponse); > + > + switch (BootOptionsRequest->ParameterSelector.Bits.ParameterSelector) = { > + case IPMI_BOOT_OPTIONS_PARAMETER_SELECTOR_SET_IN_PROGRESS: > + ResponseDataSize +=3D sizeof > (IPMI_BOOT_OPTIONS_RESPONSE_PARAMETER_0); > + break; > + > + case > IPMI_BOOT_OPTIONS_PARAMETER_SELECTOR_SERVICE_PARTITION_SELECT > OR: > + ResponseDataSize +=3D sizeof > (IPMI_BOOT_OPTIONS_RESPONSE_PARAMETER_1); > + break; > + > + case > IPMI_BOOT_OPTIONS_PARAMETER_SELECTOR_SERVICE_PARTITION_SCAN: > + ResponseDataSize +=3D sizeof > (IPMI_BOOT_OPTIONS_RESPONSE_PARAMETER_2); > + break; > + > + case IPMI_BOOT_OPTIONS_PARAMETER_SELECTOR_BMC_BOOT_FLAG: > + ResponseDataSize +=3D sizeof > (IPMI_BOOT_OPTIONS_RESPONSE_PARAMETER_3); > + break; > + > + case IPMI_BOOT_OPTIONS_PARAMETER_BOOT_INFO_ACK: > + ResponseDataSize +=3D sizeof > (IPMI_BOOT_OPTIONS_RESPONSE_PARAMETER_4); > + break; > + > + case IPMI_BOOT_OPTIONS_PARAMETER_BOOT_FLAGS: > + ResponseDataSize +=3D sizeof > (IPMI_BOOT_OPTIONS_RESPONSE_PARAMETER_5); > + break; > + > + case IPMI_BOOT_OPTIONS_PARAMETER_BOOT_INITIATOR_INFO: > + ResponseDataSize +=3D sizeof > (IPMI_BOOT_OPTIONS_RESPONSE_PARAMETER_6); > + break; > + > + case IPMI_BOOT_OPTIONS_PARAMETER_BOOT_INITIATOR_MAILBOX: > + ResponseDataSize +=3D sizeof > (IPMI_BOOT_OPTIONS_RESPONSE_PARAMETER_7); > + break; > + > + default: > + return EFI_INVALID_PARAMETER; > + break; > + } > + > + Status =3D IpmiSubmitCommand ( > + IPMI_NETFN_CHASSIS, > + IPMI_CHASSIS_GET_SYSTEM_BOOT_OPTIONS, > + (VOID *)BootOptionsRequest, > + sizeof (*BootOptionsRequest), > + (VOID *)BootOptionsResponse, > + &ResponseDataSize > + ); > return Status; > } > -- > 2.36.1