functionality for bootloaders that do not have such support
this option is necessary.
-config EFI_GENERIC_STUB_INITRD_CMDLINE_LOADER
- bool "Enable the command line initrd loader" if !X86
- depends on EFI_STUB && (EFI_GENERIC_STUB || X86)
- default y if X86
- help
- Select this config option to add support for the initrd= command
- line parameter, allowing an initrd to be loaded into memory that
- resides on a file system backed by an implementation of
- EFI_SIMPLE_FILE_SYSTEM_PROTOCOL.
-
- This method has been superseded by the simpler LoadFile2 based
- initrd loading method, but the initrd= loader is retained as it
- can be used from the UEFI Shell or other generic loaders that
- don't implement the Linux specific LoadFile2 method.
-
config EFI_BOOTLOADER_CONTROL
tristate "EFI Bootloader Control"
select UCS2_STRING
unsigned long soft_limit,
unsigned long hard_limit)
{
- if (!IS_ENABLED(CONFIG_EFI_GENERIC_STUB_INITRD_CMDLINE_LOADER) ||
- (IS_ENABLED(CONFIG_X86) && image == NULL))
+ if (image == NULL)
return EFI_UNSUPPORTED;
return handle_cmdline_files(image, L"initrd=", sizeof(L"initrd=") - 2,
* handover_offset and xloadflags fields in the bootparams structure.
*/
#define LINUX_EFISTUB_MAJOR_VERSION 0x1
-#define LINUX_EFISTUB_MINOR_VERSION 0x0
+#define LINUX_EFISTUB_MINOR_VERSION 0x1
#define MZ_MAGIC 0x5a4d /* "MZ" */