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.web08.7075.1651129884070641425 for ; Thu, 28 Apr 2022 00:11:24 -0700 Authentication-Results: mx.groups.io; dkim=fail reason="unable to parse pub key" header.i=@intel.com header.s=intel header.b=Mzy1MGka; spf=pass (domain: intel.com, ip: 192.55.52.43, mailfrom: ray.ni@intel.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1651129884; x=1682665884; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-transfer-encoding:mime-version; bh=mnOmlfGSnWwnBIyBfNqWgjDuYJbmuGYbYwskibqjYKc=; b=Mzy1MGkapTKg+QWNlpDoZ05ozENPE+ZO+T5oyjZeubdo42MLwk/PDkH6 aYxL8Azf4eSR3N6jt0OEwydUusR8yhMQmoT+ZmdGSn6SIPBbDFyG2gPAH P/M7I5KBRn9U/2QAs6EE+fPyUz9iXzLt2cYM6ITgNlYXyh0Hkf9RPnH2G WlRSJrNOE69d6EiXabo/vbLPi5VvVEhRsvLfucQ3/sG2i5PzQxR4lHblj 2RFrGM0lYHZAZXY9ZFoHmO91+hoStfzP3S2B6gIFZqSVnjeEywFM0Dt9r 0mbw/9697kmisM2EZBd7sEiUHs7J02fTyuwh6iihxEBvKooHmTK/t8j5a g==; X-IronPort-AV: E=McAfee;i="6400,9594,10330"; a="352619778" X-IronPort-AV: E=Sophos;i="5.90,295,1643702400"; d="scan'208";a="352619778" Received: from orsmga001.jf.intel.com ([10.7.209.18]) by fmsmga105.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 28 Apr 2022 00:11:23 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.90,295,1643702400"; d="scan'208";a="596655626" Received: from orsmsx601.amr.corp.intel.com ([10.22.229.14]) by orsmga001.jf.intel.com with ESMTP; 28 Apr 2022 00:11:23 -0700 Received: from orsmsx611.amr.corp.intel.com (10.22.229.24) 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.2308.27; Thu, 28 Apr 2022 00:11:22 -0700 Received: from orsmsx608.amr.corp.intel.com (10.22.229.21) by ORSMSX611.amr.corp.intel.com (10.22.229.24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.27; Thu, 28 Apr 2022 00:11:22 -0700 Received: from ORSEDG601.ED.cps.intel.com (10.7.248.6) by orsmsx608.amr.corp.intel.com (10.22.229.21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.27 via Frontend Transport; Thu, 28 Apr 2022 00:11:22 -0700 Received: from NAM11-BN8-obe.outbound.protection.outlook.com (104.47.58.171) 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.2308.27; Thu, 28 Apr 2022 00:11:22 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=HBK+kwxqRY/VlFIbhclUG3JIwtMfCJ1Z+k/tD7/D4xQcXdArkuB1sPb4Yc+de3DFPcDmm6dfWqET6dVRpsHc1fI9DafLqpEXs2X35LkbnIFQUtyABvlh3eRb5HVXUXOrlGa9MglJjNxnbXcqyVfD7szZsVKVY3KMl5muVcdcb4wzuB3fjvLEtab8lNYwcrJ1O1xHk4nNL4AuAyyGYU7OudbULkdihOrLQpW6DpsW8cBKhaXJ7y7f7vZj6tbOPsl8xEcRE79wMvpLx9EFChwkATCkzuQosfWDkMIo6Pb1VeiRJywkx5GVlN646/QKlBkNBTihYdHr2ggziVRuyWeicw== 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=fA9N5vsx1ie52aQeWsWC91fK7Qt9n7L0i/1RhdTIQB0=; b=HxWDc5O8GM3WueILDL5/661NqVdaSwhM2i05nr1HHSvbBfiOvl7URpeflZX3D57zNTujwZ93La2fYwzZVgHcBTRZc6fJAk0C1+QAUpZRf+bCW2pCn5fChh8591MKmLj+/vKXtycfPgo9VZtBphN65JYcmUXI7rhP8DzpoKkeOXlI0ioWSNcJuiyzOzmYNaYOfgDFIkWQ+gH0l0ZIgupEVWEKNSFZX+1mbVo+SH8a2q8CxeboxSwNRdvyUY7UE6ccETez9J2O26I/VNMfj/O3zU6rcA5J1Re03+gQCh9b0FJJtNQnNbcXtXMvbohXQoZk29pkQY94J5U5JJDi4bBAHQ== 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 MWHPR11MB1631.namprd11.prod.outlook.com (2603:10b6:301:10::10) by BN6PR11MB3924.namprd11.prod.outlook.com (2603:10b6:405:7a::23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5206.13; Thu, 28 Apr 2022 07:11:20 +0000 Received: from MWHPR11MB1631.namprd11.prod.outlook.com ([fe80::ccd3:2b56:48a4:507a]) by MWHPR11MB1631.namprd11.prod.outlook.com ([fe80::ccd3:2b56:48a4:507a%9]) with mapi id 15.20.5186.023; Thu, 28 Apr 2022 07:11:19 +0000 From: "Ni, Ray" To: "Tan, Dun" , "devel@edk2.groups.io" CC: "Dong, Guo" , "You, Benjamin" , "Rhodes, Sean" , "Liu, Zhiguang" Subject: Re: [Patch V2] UefiPayloadPkg: Add definition for PayloadCommandLine HOB Thread-Topic: [Patch V2] UefiPayloadPkg: Add definition for PayloadCommandLine HOB Thread-Index: AQHYWsuhptiUDJ4Z/0eGar9LYx9BOa0E6KrA Date: Thu, 28 Apr 2022 07:11:18 +0000 Message-ID: References: <20220428064547.1631-1-dun.tan@intel.com> In-Reply-To: <20220428064547.1631-1-dun.tan@intel.com> Accept-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=intel.com; x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 581e8684-d68e-413e-f0c5-08da28e64ae0 x-ms-traffictypediagnostic: BN6PR11MB3924:EE_ x-ld-processed: 46c98d88-e344-4ed4-8496-4ed7712e255d,ExtAddr x-microsoft-antispam-prvs: x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: UeFZujkZjZvxx3db6AbgGFc+lWbTOPSn1RPqX0uxcEAP7DbzbO9s3glkQKSCjUJwBICPtT4aW7vBMi9i0mf2hH6V1BrkqQU6k+9awRuU47pjtxnEn1knKZNdKTt8/OtKyubasaV9HhhroAGs++hCK5/HwTIKyZza0yDDe3Mh6BdkdrpbR7xaERJpeQ4RtJZ/rFP/0J0dYN1kNloItD7O4RrrBHJ4AowU6CxntndXN7lmtCmzDRI37Fp1qO9BatOn+qHtwZmxodwHExyyEm1KEpNfE08asNaNgPp4plZU1IDRwSh1c7xDH9tOUW5mcCHAPgYj27Y0cCdRZUO+sgsTDCa5BxT9qpHOHpGAPlewHhGUpHfOCKPgcBdJooZJ+4Adq9lxAm114DwZUUtJHqfi9KL58TeSzH/gOzgKuNYcPVQNGA3uIUGOZ472z21MuNyqmsYfsx/r5rRXy3GZoz3K7UvwcF6+2JNECyG8mp8Nkx2sMQxqLe1FW38hdwy0GvB2NNI8xWNvxJLGTkBNzRpFuRB/etK+Yh6Jq9j3UGg2gSuDMujRYg3T5MRX3moSQEC8RyoOeO3VjCjJnvHZH7D/KoM7Osd6eu1lKm9IJL6DEusV5xjoampiUQ2XZJx7knzlN4iC5eJ3kELGwZ1y3W8ospXPYW+nJI5YuAQctcByiccSIlN7aVgdsuuLZbVOayDblFtGULoBTl67Rd3ExLMRQw== x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:MWHPR11MB1631.namprd11.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230001)(366004)(33656002)(9686003)(7696005)(508600001)(2906002)(5660300002)(8676002)(66946007)(26005)(8936002)(4326008)(66556008)(66476007)(66446008)(64756008)(53546011)(71200400001)(6506007)(86362001)(76116006)(82960400001)(38100700002)(122000001)(316002)(38070700005)(110136005)(55016003)(54906003)(52536014)(107886003)(186003)(83380400001);DIR:OUT;SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?A1oyCx6gF1MJu4Mkua5lHwgXtF2BEVOO17nVaa82bmLZKfwTnHa/WJnJ/zCK?= =?us-ascii?Q?0IY0ngT2snhCYxriV+ezdzOADMxxC4z3+b1Gr1FbjQBs/9HHLSa4jQ/DQKX6?= =?us-ascii?Q?lTtVUcLnyxPG66w1cjep8BLeBkfuIlhNnijBDt9iO/pn3yc1aeN1fwzr3EH6?= =?us-ascii?Q?ROvO93ediZvLif7hJPLT7pFVqNfAbLty0kPOBmNpTY/mlN0rmu9okty9+UjC?= =?us-ascii?Q?H+RUama55Qy57mkPJh6XnqWHnyckdfE3bbic2i7SynsHvPZ2eBtEI8w9k19B?= =?us-ascii?Q?1SD2pi5BIY1DCcMKCTlIhDkIVcCxInnrHbwLKirhspzvtHb/PDKMmmsA7PDt?= =?us-ascii?Q?Wy0I4mSpUTSFZXH78pn9V3p4f27Eq/E7K03Tds6fnysGd9JFf+p0n19Kuazk?= =?us-ascii?Q?6Y2Zu9Syfb36NOMmjW6L716AHfKclDUMQFFu5m4q1Bk6K8xpFUQ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BO+kEVWvuG3rJpPeewchlekINcLE1BO2KNv?= =?us-ascii?Q?1YtRm4kACRFJthkrsSXMaMedaKmK5F/9MvInOpbmyTngGo8bgCKR8ImyMdrZ?= =?us-ascii?Q?9+2Eic3/QeTcmNErRSEUJRPiDxnFCHAhV/ZKjZSI3wLwSbEe3phvAExLZxE8?= =?us-ascii?Q?vS5BVH3havbWkV1eeUb2NOX9ZYEm2RQYJJNgDVAhrXP/ukBb3ZDg2sbh9zZp?= =?us-ascii?Q?2C46mD+ynJ5T6wTMik1BGGDSRQiJAx8esfbaEZi0Ijnd6o+fp3DsmbbA+aCM?= =?us-ascii?Q?PCbf1Ym/U24hFp29t9jxEh7aodeolXgIHTjAjOkMLUxnGIWUVevwRlLYIqn1?= =?us-ascii?Q?QDQAl/CyXF/M6WOdOwON4KXzH+6Xpvtmxp5TCvUPcesFgDttvShQuM6kDmI4?= =?us-ascii?Q?X/5k8+6KZg=3D=3D?= MIME-Version: 1.0 X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: MWHPR11MB1631.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 581e8684-d68e-413e-f0c5-08da28e64ae0 X-MS-Exchange-CrossTenant-originalarrivaltime: 28 Apr 2022 07:11:18.9722 (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: i2u3mqoTSKr+3ZYOu+6n9iwADt9AdAmb108QIxKOf2pU57BbiWXwu/+XOgi9sHt7xlQsTdRVVqgl9MiBEFa5xg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN6PR11MB3924 Return-Path: ray.ni@intel.com X-OriginatorOrg: intel.com Content-Language: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Reviewed-by: Ray Ni > -----Original Message----- > From: Tan, Dun > Sent: Thursday, April 28, 2022 2:46 PM > To: devel@edk2.groups.io > Cc: Tan, Dun ; Ni, Ray ; Dong, Guo <= guo.dong@intel.com>; You, Benjamin > ; Rhodes, Sean ; Liu, Zhig= uang > Subject: [Patch V2] UefiPayloadPkg: Add definition for PayloadCommandLine= HOB >=20 > From: duntan >=20 > Add definition for UNIVERSAL_PAYLOAD_COMMAND_LINE Hob. > This Hob is used to pass command Line to Payload. >=20 > Signed-off-by: Dun Tan > Cc: Ray Ni > Cc: Guo Dong > Cc: Benjamin You > Cc: Sean Rhodes > Cc: Zhiguang Liu > Signed-off-by: Dun Tan > --- > UefiPayloadPkg/Include/Guid/PayloadCommandLine.h | 28 ++++++++++++++++++= ++++++++++ > UefiPayloadPkg/UefiPayloadPkg.dec | 1 + > 2 files changed, 29 insertions(+) >=20 > diff --git a/UefiPayloadPkg/Include/Guid/PayloadCommandLine.h b/UefiPaylo= adPkg/Include/Guid/PayloadCommandLine.h > new file mode 100644 > index 0000000000..845a30efe1 > --- /dev/null > +++ b/UefiPayloadPkg/Include/Guid/PayloadCommandLine.h > @@ -0,0 +1,28 @@ > +/** @file > + Define the structure for the Payload command line Hob. > + > +Copyright (c) 2022, Intel Corporation. All rights reserved.
> +SPDX-License-Identifier: BSD-2-Clause-Patent > + > +**/ > + > +#ifndef PAYLOAD_COMMAND_LINE_H_ > +#define PAYLOAD_COMMAND_LINE_H_ > + > +#include > +#include > + > +#pragma pack (1) > + > +typedef struct { > + UNIVERSAL_PAYLOAD_GENERIC_HEADER Header; > + UINT32 Count; > + CHAR8 CommandLine[0]; > +} UNIVERSAL_PAYLOAD_COMMAND_LINE; > + > +#pragma pack() > + > +#define UNIVERSAL_PAYLOAD_COMMAND_LINE_REVISION 1 > + > +extern GUID gEdkiiPayloadCommandLineGuid; > +#endif > diff --git a/UefiPayloadPkg/UefiPayloadPkg.dec b/UefiPayloadPkg/UefiPaylo= adPkg.dec > index 5c1aeb8235..1ccfc32548 100644 > --- a/UefiPayloadPkg/UefiPayloadPkg.dec > +++ b/UefiPayloadPkg/UefiPayloadPkg.dec > @@ -35,6 +35,7 @@ > gUefiAcpiBoardInfoGuid =3D {0xad3d31b, 0xb3d8, 0x4506, {0xae, 0x71, = 0x2e, 0xf1, 0x10, 0x6, 0xd9, 0xf}} > gUefiSerialPortInfoGuid =3D { 0x6c6872fe, 0x56a9, 0x4403, { 0xbb, 0x9= 8, 0x95, 0x8d, 0x62, 0xde, 0x87, 0xf1 } } > gLoaderMemoryMapInfoGuid =3D { 0xa1ff7424, 0x7a1a, 0x478e, { 0xa9, 0xe= 4, 0x92, 0xf3, 0x57, 0xd1, 0x28, 0x32 } } > + gEdkiiPayloadCommandLineGuid =3D {0xb5aeb34f, 0x3047, 0x4955, {0xb8, 0= x80, 0xad, 0xd3, 0x6d, 0x86, 0xdc, 0x0f}} >=20 > # SMM variable support > gNvVariableInfoGuid =3D { 0x7a345dca, 0xc26, 0x4f2a, { 0xa8, 0x9= a, 0x57, 0xc0, 0x8d, 0xdd, 0x22, 0xee } } > -- > 2.31.1.windows.1