From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received-SPF: Pass (sender SPF authorized) identity=mailfrom; client-ip=192.55.52.115; helo=mga14.intel.com; envelope-from=david.wei@intel.com; receiver=edk2-devel@lists.01.org Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id 99ECB21BADAB2 for ; Thu, 2 Aug 2018 23:54:30 -0700 (PDT) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga003.jf.intel.com ([10.7.209.27]) by fmsmga103.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 02 Aug 2018 23:54:29 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.51,437,1526367600"; d="scan'208";a="72226531" Received: from fmsmsx103.amr.corp.intel.com ([10.18.124.201]) by orsmga003.jf.intel.com with ESMTP; 02 Aug 2018 23:45:45 -0700 Received: from fmsmsx126.amr.corp.intel.com (10.18.125.43) by FMSMSX103.amr.corp.intel.com (10.18.124.201) with Microsoft SMTP Server (TLS) id 14.3.319.2; Thu, 2 Aug 2018 23:45:45 -0700 Received: from shsmsx102.ccr.corp.intel.com (10.239.4.154) by FMSMSX126.amr.corp.intel.com (10.18.125.43) with Microsoft SMTP Server (TLS) id 14.3.319.2; Thu, 2 Aug 2018 23:45:45 -0700 Received: from shsmsx101.ccr.corp.intel.com ([169.254.1.57]) by shsmsx102.ccr.corp.intel.com ([169.254.2.124]) with mapi id 14.03.0319.002; Fri, 3 Aug 2018 14:45:43 +0800 From: "Wei, David" To: "Guo, Mang" , "edk2-devel@lists.01.org" Thread-Topic: [Patch][edk2-platforms/devel-IntelAtomProcessorE3900] Get boot mode Thread-Index: AdQq8bVFuQ4V2pmpQOKQ6V6Sod9LMQAA9UtQ Date: Fri, 3 Aug 2018 06:45:42 +0000 Message-ID: <89954A0B46707A448411A627AD4EEE34690E1916@SHSMSX101.ccr.corp.intel.com> References: <22D2C85ED001C54AA20BFE3B0E4751D1526B4EB2@SHSMSX103.ccr.corp.intel.com> In-Reply-To: <22D2C85ED001C54AA20BFE3B0E4751D1526B4EB2@SHSMSX103.ccr.corp.intel.com> Accept-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiMzRjYmFlNzctNmI0Ny00YWM1LTg2ZWYtN2E0ZjhiYWIyN2Y5IiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX05UIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE3LjEwLjE4MDQuNDkiLCJUcnVzdGVkTGFiZWxIYXNoIjoiNHRnMTZMVEZPXC9NSTVueHFSUDM3dFNocmV0UFZpaFVSTHN6eXhKK0lzRkpyWnZjaVlWQ1RHUDNcL0d6QzVNaUlEIn0= x-ctpclassification: CTP_NT dlp-product: dlpe-windows dlp-version: 11.0.400.15 dlp-reaction: no-action x-originating-ip: [10.239.127.40] MIME-Version: 1.0 Subject: Re: [Patch][edk2-platforms/devel-IntelAtomProcessorE3900] Get boot mode X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 03 Aug 2018 06:54:30 -0000 Content-Language: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Reviewed-by: zwei4 Thanks, David Wei Intel SSG/STO/UEFI BIOS =20 -----Original Message----- From: Guo, Mang=20 Sent: Friday, August 3, 2018 2:18 PM To: edk2-devel@lists.01.org Cc: Wei, David Subject: [Patch][edk2-platforms/devel-IntelAtomProcessorE3900] Get boot mod= e Get boot mode in platformBootManagerBeforeConsole. Cc: Wei, David Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Guo Mang --- .../Common/Library/PlatformBootManagerLib/PlatformBootManager.c |= 1 + 1 file changed, 1 insertion(+) diff --git a/Platform/BroxtonPlatformPkg/Common/Library/PlatformBootManager= Lib/PlatformBootManager.c b/Platform/BroxtonPlatformPkg/Common/Library/Plat= formBootManagerLib/PlatformBootManager.c index 6715d90..c9c2cbf 100644 --- a/Platform/BroxtonPlatformPkg/Common/Library/PlatformBootManagerLib/Pla= tformBootManager.c +++ b/Platform/BroxtonPlatformPkg/Common/Library/PlatformBootManagerLib/Pla= tformBootManager.c @@ -858,6 +858,7 @@ PlatformBootManagerBeforeConsole ( // // Fill ConIn/ConOut in Full Configuration boot mode. // + mBootMode =3D GetBootModeHob(); DEBUG ((DEBUG_ERROR, "PlatformBootManagerInit - %x\n", mBootMode)); if (mBootMode =3D=3D BOOT_WITH_FULL_CONFIGURATION || mBootMode =3D=3D BOOT_WITH_DEFAULT_SETTINGS || --=20 2.10.1.windows.1