John,

There are several resources for finding useful functions in EDK II.

1)      The UEFI Specification from www.uefi.org<http://www.uefi.org>.  The 
functions listed in this document will be present on all UEFI compliant 
systems, thus affording a degree of portability to your applications.

2)      Header files in MdePkg/Include/Library.  The libraries described by 
these files encapsulate UEFI functions and some more complex operations in a 
more easily used format.

3)      The UEFI PI Specifications.  If your target platforms support the, 
optional, PI specification then there are additional functions within these 
specifications that you may use.

Functions described elsewhere may not work or exist on every implementation.

Daryl McDaniel

"I don't try to describe the future. I try to prevent it"
-- Ray Bradbury

From: John Davis [mailto:davi...@gmail.com]
Sent: Wednesday, February 26, 2014 10:31 AM
To: edk2-devel@lists.sourceforge.net
Subject: [edk2] Locating a file in the file system

Hello

Is there an example someplace for accessing a file in the filesystem?  I would 
like to be able to read a file into a buffer as a simple exercise. I saw the 
earlier notes about doing this via stdlib/posix api calls.  I figure there is a 
similar method to do this via uefi api.  Later I want to be able to locate a 
.fv file for use by the firmware volume routines.

On a related note, how do you folks find routines? I'm doing massive greps 
though the header files trying to find routines which have a similar name to 
what I am doing.  I'm also using google to search but that is hit and miss.  
For example, google "UEFI file open" gives me results about opening a .efi file 
via explorer.  That is not what I want to do.

--
John F. Davis
6 Kandes Court
Durham, NC 27713
919-888-8358

独树一帜

------------------------------------------------------------------------------
Flow-based real-time traffic analytics software. Cisco certified tool.
Monitor traffic, SLAs, QoS, Medianet, WAAS etc. with NetFlow Analyzer
Customize your own dashboards, set traffic alerts and generate reports.
Network behavioral analysis & security monitoring. All-in-one tool.
http://pubads.g.doubleclick.net/gampad/clk?id=126839071&iu=/4140/ostg.clktrk
_______________________________________________
edk2-devel mailing list
edk2-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/edk2-devel

Reply via email to