From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received-SPF: Pass (sender SPF authorized) identity=mailfrom; client-ip=17.151.62.66; helo=nwk-aaemail-lapp01.apple.com; envelope-from=afish@apple.com; receiver=edk2-devel@lists.01.org Received: from nwk-aaemail-lapp01.apple.com (nwk-aaemail-lapp01.apple.com [17.151.62.66]) (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 6557D21B02822 for ; Wed, 28 Nov 2018 17:52:30 -0800 (PST) Received: from pps.filterd (nwk-aaemail-lapp01.apple.com [127.0.0.1]) by nwk-aaemail-lapp01.apple.com (8.16.0.22/8.16.0.22) with SMTP id wAT1q8N2005878; Wed, 28 Nov 2018 17:52:29 -0800 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=apple.com; h=mime-version : content-transfer-encoding : content-type : sender : subject : from : in-reply-to : date : cc : message-id : references : to; s=20180706; bh=WYo42LamJfp56yxbyEDFHuac+FfiVXGPGdzwY8Ema7g=; b=kTX5wW5XFTX/N1/TkqzBd1MdQPQB1HbMJKsxQbrguiJN1q0paH3xnK5gHOOLlkzTnxst VsFZvVPs5SV5Ds4B9k/Bkcpf8ssfZVCbC5v3xMuy/3/AQgQq1fvv4Ap7LRjwHazpcF3t O0Hz8LTZunT+gJEr7Ish2QEcb9X5So3l/3yG48tXgJ8568UDegrXfOyCco1MaCG6Aj7m iZYTQMLDL3Lz8IX7Uu7J2LD8Mw4Je3NcQVvS0jo9vu+PMnFgbNf7/DuGyj457sxYNNNq WtcISG5Zmt2/jq1lJ5YfmaNawSNCJhUfUf9cVWV8XxMDOjBNYiqjdRa4+HYl2q/0eHXa ZA== Received: from ma1-mtap-s03.corp.apple.com (ma1-mtap-s03.corp.apple.com [17.40.76.7]) by nwk-aaemail-lapp01.apple.com with ESMTP id 2p0trd5grr-7 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NO); Wed, 28 Nov 2018 17:52:29 -0800 MIME-version: 1.0 Received: from nwk-mmpp-sz10.apple.com (nwk-mmpp-sz10.apple.com [17.128.115.122]) by ma1-mtap-s03.corp.apple.com (Oracle Communications Messaging Server 8.0.2.3.20180614 64bit (built Jun 14 2018)) with ESMTPS id <0PIX005VUMJ60X20@ma1-mtap-s03.corp.apple.com>; Wed, 28 Nov 2018 17:52:18 -0800 (PST) Received: from process_viserion-daemon.nwk-mmpp-sz10.apple.com by nwk-mmpp-sz10.apple.com (Oracle Communications Messaging Server 8.0.2.3.20180614 64bit (built Jun 14 2018)) id <0PIX00N00LZP0Z00@nwk-mmpp-sz10.apple.com>; Wed, 28 Nov 2018 17:52:17 -0800 (PST) X-Va-A: X-Va-T-CD: e2689f5dc9a5d9756ddd4b4aac8dadf6 X-Va-E-CD: aa7aeb0ef9ed875844225ceadb619bb2 X-Va-R-CD: b67e6bdaf79ff4cb3ca5be40ea44d668 X-Va-CD: 0 X-Va-ID: cef493e9-637d-45c6-8a5a-816c1e23775f X-V-A: X-V-T-CD: 4126294c2607e63e7d198a281a699339 X-V-E-CD: aa7aeb0ef9ed875844225ceadb619bb2 X-V-R-CD: b67e6bdaf79ff4cb3ca5be40ea44d668 X-V-CD: 0 X-V-ID: 319168b7-8c4e-466f-9c60-f767180832c8 Received: from process_milters-daemon.nwk-mmpp-sz10.apple.com by nwk-mmpp-sz10.apple.com (Oracle Communications Messaging Server 8.0.2.3.20180614 64bit (built Jun 14 2018)) id <0PIX00700MFOGP00@nwk-mmpp-sz10.apple.com>; Wed, 28 Nov 2018 17:52:17 -0800 (PST) X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:,, definitions=2018-11-29_01:,, signatures=0 Received: from [17.234.21.188] (unknown [17.234.21.188]) by nwk-mmpp-sz10.apple.com (Oracle Communications Messaging Server 8.0.2.3.20180614 64bit (built Jun 14 2018)) with ESMTPSA id <0PIX00F53MJ47H80@nwk-mmpp-sz10.apple.com>; Wed, 28 Nov 2018 17:52:17 -0800 (PST) Sender: afish@apple.com From: Andrew Fish In-reply-to: Date: Wed, 28 Nov 2018 17:52:14 -0800 Cc: "edk2-devel@lists.01.org" , "Ni, Ruiyu" , "Zeng, Star" Message-id: <2EF700E0-AF34-498C-B740-406BE5BA0839@apple.com> References: To: Udit Kumar X-Mailer: Apple Mail (2.3445.6.18) X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:, , definitions=2018-11-29_01:, , signatures=0 Subject: Re: Help on boot manager 'Boot Manager Menu' and direct boot X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 29 Nov 2018 01:52:30 -0000 Content-transfer-encoding: 7BIT Content-type: text/plain; CHARSET=US-ASCII Udit, Memory map differences would be expected as UiApp.efi is going to allocate memory too. The OS Loader starts off as an EFI Application so it needs to know EFI time allocations in addition to what allocations are legal for the OS to use. In general how EFI communicates with the OS is via EFI NVRAM Variables. You can look at the Table in section "3.3 Globally Defined Variables" of the UEFI Spec. The OSprot will also figure out information about the platform from ACPI tables published by the EFI firmware. Also the OS Loader is an EFI App so it can access any protocol mentioned in the UEFI Spec. So form example on a Unix like OS the OS Loader may construct a Device Tree and pass it up to the kernel. It is going to be the code in the OS loader that does all this magic. If your working with a FOSS OS you may want to try and dump that device tree, and see if something is different. Then you could try to figure out the code in the OS Loader that produces that part of the device tree. Thanks, Andrew Fish > On Nov 28, 2018, at 5:42 PM, Udit Kumar wrote: > > Hi , > I am looking for information/Help. If UEFI passed different information to OS, in below boot path > > 1. Enter into Setup menu (By pressing Esc key), On display of UiApp.efi on console, select device to boot OS > 2. Let the boot OS without user intervention from same device as of 1 > > I could see, UEFI pass different memory map in case of 1 and 2. > Is there some other/extra information is being shared with OS/OS Loader. > > For me, if I use 1) for booting then OS boots okay, > If I use option 2) for booting then when user-space prints are printed as garbage. Whereas kernel space prints are good on serial console > > Thanks > Udit > _______________________________________________ > edk2-devel mailing list > edk2-devel@lists.01.org > https://lists.01.org/mailman/listinfo/edk2-devel