From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: mx.groups.io; dkim=missing; spf=pass (domain: redhat.com, ip: 209.132.183.28, mailfrom: lersek@redhat.com) Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by groups.io with SMTP; Tue, 25 Jun 2019 03:34:32 -0700 Received: from smtp.corp.redhat.com (int-mx07.intmail.prod.int.phx2.redhat.com [10.5.11.22]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 19260C049E23; Tue, 25 Jun 2019 10:34:17 +0000 (UTC) Received: from lacos-laptop-7.usersys.redhat.com (ovpn-116-121.ams2.redhat.com [10.36.116.121]) by smtp.corp.redhat.com (Postfix) with ESMTP id 2F2141001DFE; Tue, 25 Jun 2019 10:34:15 +0000 (UTC) Subject: Re: [edk2-devel] [PATCH 1/2] LegacyBios: set NumberBbsEntries to the size of BbsTable To: "Ni, Ray" , David Woodhouse , "devel@edk2.groups.io" , "jljusten@gmail.com" , "afish@apple.com" , Paolo Bonzini References: <9c9d53f5da9c3dec56cff0ff07c399e3034444a1.camel@infradead.org> <584f8af7979d40fd960122fc077fad02ecce09b1.camel@infradead.org> <29111f7d-0f4c-bba6-697d-c061ce1b6488@redhat.com> <3def810039016f9b48deff0526720136a996a7b3.camel@infradead.org> <3f9de0c1-afc3-1984-fe1c-4ea4021974ba@redhat.com> <2d61fce0-b8b7-9cad-13ec-31ebd9682d86@redhat.com> <734D49CCEBEEF84792F5B80ED585239D5C1EED22@SHSMSX104.ccr.corp.intel.com> From: "Laszlo Ersek" Message-ID: <5314dd78-f720-5b72-092b-0b958a55969c@redhat.com> Date: Tue, 25 Jun 2019 12:34:14 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 MIME-Version: 1.0 In-Reply-To: <734D49CCEBEEF84792F5B80ED585239D5C1EED22@SHSMSX104.ccr.corp.intel.com> X-Scanned-By: MIMEDefang 2.84 on 10.5.11.22 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.31]); Tue, 25 Jun 2019 10:34:27 +0000 (UTC) Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit On 06/25/19 09:06, Ni, Ray wrote: > Can you obtain the description from the NV storage? No, nothing carries persistent (data-like) description for these devices. IIUC we just want to reuse the description generator logic (= code) from UefiBootManagerLib, with some customization. Thanks Laszlo > >> -----Original Message----- >> From: David Woodhouse >> Sent: Tuesday, June 25, 2019 2:06 PM >> To: Laszlo Ersek ; devel@edk2.groups.io; >> jljusten@gmail.com; afish@apple.com; Paolo Bonzini >> Cc: Ni, Ray >> Subject: Re: [edk2-devel] [PATCH 1/2] LegacyBios: set NumberBbsEntries to >> the size of BbsTable >> >> >> >> On 24 June 2019 23:22:03 BST, Laszlo Ersek wrote: >>> Wait, we already have EfiBootManagerRegisterBootDescriptionHandler(). >>> Could that help? >> >> No, that allows you to register a function to *provide* a description. We >> need to *obtain* a description. >> >> See the patch series I posted on Friday; I think I have this working sanely now.