[ipxe-devel] hello, I need some help about EFI_File.

Michael Brown mcb30 at ipxe.org
Thu Mar 27 14:52:16 GMT 2014


On 27/03/14 01:55, 冯鹏祥 wrote:
> I am try to write some config file on ipxe, that should read this file
> when ipxe started.
> Did you have any ideas about it ?

See http://ipxe.org/scripting

> It is possible that I use efi_file interface to create a new file on
> harddisk?
> If yes , and how should I do to create efi file on harddisk, I only find
> "extern int efi_file_install ( EFI_HANDLE *handle );" and "extern void
> efi_file_uninstall ( EFI_HANDLE handle );" in efi_file.h .
> And how to use function efi_file_open()  to create a file ?

The efi_file_xxx() functions are related to iPXE's ability to expose its 
downloaded images as an EFI filesystem.  They provide a virtual 
filesystem to other EFI programs (e.g. a Linux bzImage, which can load 
its initrd from the virtual filesystem provided by iPXE).

Michael


More information about the ipxe-devel mailing list