diff options
author | Michael Brown <mcb30@ipxe.org> | 2023-01-29 18:48:08 +0000 |
---|---|---|
committer | Michael Brown <mcb30@ipxe.org> | 2023-01-29 18:56:11 +0000 |
commit | 4bb521a8c4b324902651714915dfe6fd4a5c36af (patch) | |
tree | e27012b95f0c8a88648942a8e8f2c6fbc7a9b4a1 /src/include/ipxe/efi | |
parent | b9be454010ad261cebc336ce6a1a2e8ba418a686 (diff) | |
download | ipxe-eficmdline.zip ipxe-eficmdline.tar.gz ipxe-eficmdline.tar.bz2 |
[efi] Accept a command line passed to an iPXE image via LoadOptionseficmdline
Treat a command line passed to iPXE via UEFI LoadOptions as an image
to be registered at startup, as is already done for the .lkrn, .pxe,
and .exe BIOS images.
Originally-implemented-by: Ladi Prosek <lprosek@redhat.com>
Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/include/ipxe/efi')
-rw-r--r-- | src/include/ipxe/efi/efi_cmdline.h | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/src/include/ipxe/efi/efi_cmdline.h b/src/include/ipxe/efi/efi_cmdline.h new file mode 100644 index 0000000..45abd54 --- /dev/null +++ b/src/include/ipxe/efi/efi_cmdline.h @@ -0,0 +1,18 @@ +#ifndef _IPXE_EFI_CMDLINE_H +#define _IPXE_EFI_CMDLINE_H + +/** @file + * + * EFI command line + * + */ + +FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL ); + +#include <stdint.h> +#include <wchar.h> + +extern const wchar_t *efi_cmdline; +extern size_t efi_cmdline_len; + +#endif /* _IPXE_EFI_CMDLINE_H */ |