diff options
author | Michael Brown | 2016-03-14 16:23:42 +0100 |
---|---|---|
committer | Michael Brown | 2016-03-14 22:11:01 +0100 |
commit | 9913a405ea151706770559d42e758bc2c1da8525 (patch) | |
tree | 9e984a144fabd875f31fd7c8c0e6b3763c26e089 /src/include/ipxe/errfile.h | |
parent | [uri] Support "file:" URIs describing relative paths (diff) | |
download | ipxe-9913a405ea151706770559d42e758bc2c1da8525.tar.gz ipxe-9913a405ea151706770559d42e758bc2c1da8525.tar.xz ipxe-9913a405ea151706770559d42e758bc2c1da8525.zip |
[efi] Provide access to files stored on EFI filesystems
Provide access to local files via the "file://" URI scheme. There are
three syntaxes:
- An opaque URI with a relative path (e.g. "file:script.ipxe").
This will be interpreted as a path relative to the iPXE binary.
- A hierarchical URI with a non-network absolute path
(e.g. "file:/boot/script.ipxe"). This will be interpreted as a
path relative to the root of the filesystem from which the iPXE
binary was loaded.
- A hierarchical URI with a network path in which the authority is a
volume label (e.g. "file://bootdisk/script.ipxe"). This will be
interpreted as a path relative to the root of the filesystem with
the specified volume label.
Note that the potentially desirable shell mappings (e.g. "fs0:" and
"blk0:") are concepts internal to the UEFI shell binary, and do not
seem to be exposed in any way to external executables. The old
EFI_SHELL_PROTOCOL (which did provide access to these mappings) is no
longer installed by current versions of the UEFI shell.
Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/include/ipxe/errfile.h')
-rw-r--r-- | src/include/ipxe/errfile.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/include/ipxe/errfile.h b/src/include/ipxe/errfile.h index 4129861a..63893157 100644 --- a/src/include/ipxe/errfile.h +++ b/src/include/ipxe/errfile.h @@ -347,6 +347,7 @@ FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL ); #define ERRFILE_efi_pxe ( ERRFILE_OTHER | 0x004a0000 ) #define ERRFILE_efi_usb ( ERRFILE_OTHER | 0x004b0000 ) #define ERRFILE_efi_fbcon ( ERRFILE_OTHER | 0x004c0000 ) +#define ERRFILE_efi_local ( ERRFILE_OTHER | 0x004d0000 ) /** @} */ |