From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from rn-mailsvcp-ppex-lapp24.apple.com (rn-mailsvcp-ppex-lapp24.apple.com [17.179.253.38]) by mx.groups.io with SMTP id smtpd.web11.744.1626367557715162049 for ; Thu, 15 Jul 2021 09:45:57 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@apple.com header.s=20180706 header.b=txHAM/8q; spf=pass (domain: apple.com, ip: 17.179.253.38, mailfrom: afish@apple.com) Received: from pps.filterd (rn-mailsvcp-ppex-lapp24.rno.apple.com [127.0.0.1]) by rn-mailsvcp-ppex-lapp24.rno.apple.com (8.16.1.2/8.16.1.2) with SMTP id 16FGgFn7004569; Thu, 15 Jul 2021 09:45:57 -0700 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=apple.com; h=from : content-type : mime-version : subject : date : references : to : in-reply-to : message-id; s=20180706; bh=qUSjpH6/qH1JxSotT3GiZo8zciI4lqq0Ws9wV3Ajafc=; b=txHAM/8qIstzRVMLuImzXY+NFi7SZ1QdAjoD3xQlPHjwBcZDBKB+DYv7hnNjnTrGEXHt HlgWP2x21Q6ddiBXogeN/BIBEPMIm/e+EYY2atzh0cB0wyOFP4NbeWuvxWhsq2Ib9bWN 08tZ02Om2O87pmAbhlyIMccC1ckkFPNsNfJ8aDssrD4AZkJNk8YNk6vYBZg9OYoJpdk5 GpzXtKThqYdxGJ+Kw9ie+WfI4eE14Q0lNbou8p2Imqlq8pc5RxTz6m1WwZR6yWHmg/Qc niQmesMhUhQhXaNIPsIOVgt7QV/atytiF5NUGa/nXv3DK1olaauOkbu7zyMYoV++cya7 Qg== Received: from rn-mailsvcp-mta-lapp03.rno.apple.com (rn-mailsvcp-mta-lapp03.rno.apple.com [10.225.203.151]) by rn-mailsvcp-ppex-lapp24.rno.apple.com with ESMTP id 39q959vg2g-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NO); Thu, 15 Jul 2021 09:45:57 -0700 Received: from rn-mailsvcp-mmp-lapp02.rno.apple.com (rn-mailsvcp-mmp-lapp02.rno.apple.com [17.179.253.15]) by rn-mailsvcp-mta-lapp03.rno.apple.com (Oracle Communications Messaging Server 8.1.0.9.20210415 64bit (built Apr 15 2021)) with ESMTPS id <0QWA00UDHP8LUFJ0@rn-mailsvcp-mta-lapp03.rno.apple.com>; Thu, 15 Jul 2021 09:45:57 -0700 (PDT) Received: from process_milters-daemon.rn-mailsvcp-mmp-lapp02.rno.apple.com by rn-mailsvcp-mmp-lapp02.rno.apple.com (Oracle Communications Messaging Server 8.1.0.9.20210415 64bit (built Apr 15 2021)) id <0QWA00Y00P6RV000@rn-mailsvcp-mmp-lapp02.rno.apple.com>; Thu, 15 Jul 2021 09:45:57 -0700 (PDT) X-Va-A: X-Va-T-CD: ed29f25d3ba6a0a5e6b0d00693d18ee4 X-Va-E-CD: 43b40b9869f78e294e98a3f17e730030 X-Va-R-CD: 498dc0c2954d6a4eb9af69dfe4f9b5af X-Va-CD: 0 X-Va-ID: 3b8d1fac-b76f-409c-97a1-54703c7fbded X-V-A: X-V-T-CD: ed29f25d3ba6a0a5e6b0d00693d18ee4 X-V-E-CD: 43b40b9869f78e294e98a3f17e730030 X-V-R-CD: 498dc0c2954d6a4eb9af69dfe4f9b5af X-V-CD: 0 X-V-ID: 18b10153-bc71-45d4-a39d-4a887d73cba5 X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.391,18.0.790 definitions=2021-07-15_10:2021-07-14,2021-07-15 signatures=0 Received: from [17.235.26.132] (unknown [17.235.26.132]) by rn-mailsvcp-mmp-lapp02.rno.apple.com (Oracle Communications Messaging Server 8.1.0.9.20210415 64bit (built Apr 15 2021)) with ESMTPSA id <0QWA00U4IP8J6C00@rn-mailsvcp-mmp-lapp02.rno.apple.com>; Thu, 15 Jul 2021 09:45:56 -0700 (PDT) From: "Andrew Fish" MIME-version: 1.0 (Mac OS X Mail 14.0 \(3654.20.0.2.1\)) Subject: Re: [edk2-devel] EFIFileLib status, removal, and replacement Date: Thu, 15 Jul 2021 09:45:55 -0700 References: To: edk2-devel-groups-io , wincent6394@hotmail.com In-reply-to: Message-id: <85F1625F-F8AA-4C53-9C49-257AAC83613F@apple.com> X-Mailer: Apple Mail (2.3654.20.0.2.1) X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.391,18.0.790 definitions=2021-07-15_10:2021-07-14,2021-07-15 signatures=0 Content-type: multipart/alternative; boundary="Apple-Mail=_9623796D-AA47-4502-8E9A-4648E5ED8CA5" --Apple-Mail=_9623796D-AA47-4502-8E9A-4648E5ED8CA5 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii > On Jul 15, 2021, at 1:06 AM, Winz wrote: >=20 > Hi everyone, >=20 > I noticed that EFIFileLib no longer appear on the latest version of edk2= . > Does anyone know why it was removed? It got removed since it is obsolete. I wrote it a long time ago as part of= the Embedded Boot Loader (EBL). The EBL was a proof of concept I wrote in = something like 2007 to show an EFI system could have a smaller footprint li= ke uBoot. The EFIFileLib uses the device name (volume name) scheme of the E= BL This scheme was unique to the EBL. For example the fs3: volume name in t= he EFIFileLib is not the same as the volume names in the UEFI Shell.=20 The EBL is obsolete and got replaced by the UEFI Shell. I think EFIFileLib= ended up getting used in other places so it stayed around longer.=20 Supported Device Names: A0x1234:0x12 - A memory buffer starting at address 0x1234 for 0x12 bytes l1: - EFI LoadFile device one. B0: - EFI BlockIo zero. fs3: - EFI Simple File System device 3 Fv2: - EFI Firmware VOlume device 2 10.0.1.102: - TFTP service IP followed by the file name > Also, what is the designated replacement library? What problem are you trying to solve? There are UEFI Shell libs for writin= g UEFI Shell applications, etc.=20 > Is it okay for me to maintain a local copy and use it? >=20 As long as you understand the caveats with he device (volume) names.=20 Feel free to ask questions on the mailing list about how it works:=20 https://github.com/tianocore/edk2/blob/UDK2017/EmbeddedPkg/Library/EfiFile= Lib/EfiFileLib.c Thanks, Andrew Fish > Thanks, > W >=20 --Apple-Mail=_9623796D-AA47-4502-8E9A-4648E5ED8CA5 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=us-ascii
On Jul 15= , 2021, at 1:06 AM, Winz <wincent6394@hotmail.com> wrote:

Hi everyone,

= I noticed that EFIFileLib no longer appear on the latest version of edk2.Does anyone know why it was removed?

It got removed since it is obsolete.= I wrote it a long time ago as part of the Embedded Boot Loader (EBL). The = EBL was a proof of concept I wrote in something like 2007 to show an EFI sy= stem could have a smaller footprint like uBoot. The EFIFileLib uses the dev= ice name (volume name) scheme of the EBL This scheme was unique to the EBL.= For example the fs3: volume name in the EFIFileLib is not the same as the = volume names in the UEFI Shell. 

T= he EBL is obsolete and got replaced by the UEFI Shell. I think EFIFileLib e= nded up getting used in other places so it stayed around longer. 

=
Supported Device Names:<= /td>
A0x1234:0x12 - A me= mory buffer starting at address 0x1234 for 0x12 bytes
l1: - EFI LoadFile devic= e one.
B0: = - EFI BlockIo zero.
fs3: - EFI Simple File System device 3
Fv2: - EFI F= irmware VOlume device 2
10.0.1.102: - TFTP service IP followed by the file name=

Also, what is the designated replacement library?<= br class=3D"">

What proble= m are you trying to solve? There are UEFI Shell libs for writing UEFI Shell= applications, etc. 

Is it okay for me to maintain a local copy and use = it?


As long as you understand the caveats with he device (volume) names= . 

Feel free to ask questions on t= he mailing list about how it works: 

Tha= nks,

Andrew Fish

Thanks,
W

--Apple-Mail=_9623796D-AA47-4502-8E9A-4648E5ED8CA5--