From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: mx.groups.io; dkim=missing; spf=pass (domain: intel.com, ip: 192.55.52.136, mailfrom: ray.ni@intel.com) Received: from mga12.intel.com (mga12.intel.com [192.55.52.136]) by groups.io with SMTP; Sun, 05 May 2019 19:37:10 -0700 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by fmsmga106.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 05 May 2019 19:37:09 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.60,435,1549958400"; d="scan'208";a="171036298" Received: from fmsmsx105.amr.corp.intel.com ([10.18.124.203]) by fmsmga001.fm.intel.com with ESMTP; 05 May 2019 19:37:09 -0700 Received: from fmsmsx126.amr.corp.intel.com (10.18.125.43) by FMSMSX105.amr.corp.intel.com (10.18.124.203) with Microsoft SMTP Server (TLS) id 14.3.408.0; Sun, 5 May 2019 19:37:09 -0700 Received: from shsmsx106.ccr.corp.intel.com (10.239.4.159) by FMSMSX126.amr.corp.intel.com (10.18.125.43) with Microsoft SMTP Server (TLS) id 14.3.408.0; Sun, 5 May 2019 19:37:09 -0700 Received: from shsmsx104.ccr.corp.intel.com ([169.254.5.33]) by SHSMSX106.ccr.corp.intel.com ([169.254.10.213]) with mapi id 14.03.0415.000; Mon, 6 May 2019 10:37:07 +0800 From: "Ni, Ray" To: "Liu, Zhiguang" , "devel@edk2.groups.io" CC: "Justen, Jordan L" , Andrew Fish Subject: Re: [Patch V2 1/2] EmulatorPkg: Save the modified order after rebooting Thread-Topic: [Patch V2 1/2] EmulatorPkg: Save the modified order after rebooting Thread-Index: AQHVA7BrN6husmKRV0O9gFFeHLK6BaZdYcZg Date: Mon, 6 May 2019 02:37:06 +0000 Deferred-Delivery: Mon, 6 May 2019 02:37:00 +0000 Message-ID: <734D49CCEBEEF84792F5B80ED585239D5C12AC96@SHSMSX104.ccr.corp.intel.com> References: <20190506020618.12032-1-zhiguang.liu@intel.com> <20190506020618.12032-2-zhiguang.liu@intel.com> In-Reply-To: <20190506020618.12032-2-zhiguang.liu@intel.com> Accept-Language: en-US, zh-CN X-MS-Has-Attach: X-MS-TNEF-Correlator: x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiNTdlZDFjZDktNTA2Yy00ZDlhLTk2MDktMWVkODNjOTMzNTk3IiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX05UIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE3LjEwLjE4MDQuNDkiLCJUcnVzdGVkTGFiZWxIYXNoIjoiNzI0NUIzSTRcL3ViTDdVdmdLRFRIUGNBbjFzNDJiZ3Y4cWhSRm5qT2hRWDZJQUZxRTdBRmJDT294R1JBclFtMHcifQ== x-ctpclassification: CTP_NT dlp-product: dlpe-windows dlp-version: 11.0.600.7 dlp-reaction: no-action x-originating-ip: [10.239.127.40] MIME-Version: 1.0 Return-Path: ray.ni@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: Liu, Zhiguang > Sent: Monday, May 6, 2019 10:06 AM > To: devel@edk2.groups.io > Cc: Justen, Jordan L ; Andrew Fish > ; Ni, Ray > Subject: [Patch V2 1/2] EmulatorPkg: Save the modified order after reboot= ing >=20 > REF:https://bugzilla.tianocore.org/show_bug.cgi?id=3D1650 >=20 > v2: > Abandon v1, and avoid using memory mapped FV device path by adding > FvNameGuid to EmulatorPkg.fdf file. >=20 > v1: > The reason why boot order changed is that everytime Emulator restarts, th= e > memory mapped address will change. > This patch correct the device path to the right one. >=20 > Signed-off-by: Zhiguang Liu > Cc: Jordan Justen > Cc: Andrew Fish > Cc: Ray Ni > --- > EmulatorPkg/EmulatorPkg.fdf | 1 + > 1 file changed, 1 insertion(+) >=20 > diff --git a/EmulatorPkg/EmulatorPkg.fdf b/EmulatorPkg/EmulatorPkg.fdf > index 85197a14ca..c5c69f8a84 100644 > --- a/EmulatorPkg/EmulatorPkg.fdf > +++ b/EmulatorPkg/EmulatorPkg.fdf > @@ -80,6 +80,7 @@ DATA =3D { >=20 > gEmulatorPkgTokenSpaceGuid.PcdEmuFlashNvStorageFtwSpareBase|gEfiMd > eModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwSpareSize >=20 > [FV.FvRecovery] > +FvNameGuid =3D 6D99E806-3D38-42c2-A095-5F4300BFD7DC > FvAlignment =3D 16 #FV alignment and FV attributes settin= g. > ERASE_POLARITY =3D 1 > MEMORY_MAPPED =3D TRUE > -- > 2.21.0.windows.1