protos/efi_boot_entry: fix inconsistencies (3)
This commit is contained in:
@@ -276,8 +276,10 @@ Editor control options:
|
||||
* `resolution` - The resolution to be used. This setting takes the form of
|
||||
`<width>x<height>x<bpp>`. If the resolution is not available, Limine will
|
||||
pick another one automatically. Omitting `<bpp>` will default to 32.
|
||||
|
||||
* EFI Boot Entry protocol:
|
||||
* `entry` - The name of the EFI boot entry to reboot into.
|
||||
|
||||
* BIOS Chainload protocol:
|
||||
* `drive` - The 1-based drive to chainload, if omitted, assume boot drive.
|
||||
* `partition` - The 1-based partition to chainload, if omitted, or set to 0,
|
||||
|
||||
@@ -256,7 +256,6 @@ static EFI_DEVICE_PATH_PROTOCOL *build_relative_efi_file_path(struct file_handle
|
||||
return device_path;
|
||||
}
|
||||
|
||||
|
||||
noreturn void chainload(char *config, char *cmdline) {
|
||||
char *image_path = config_get_value(config, 0, "PATH");
|
||||
if (image_path == NULL) {
|
||||
|
||||
@@ -71,7 +71,7 @@ static bool find_boot_entry(CHAR16 *entry, uint16_t *out) {
|
||||
}
|
||||
|
||||
noreturn void efi_boot_entry(char *config) {
|
||||
char *boot_entry = config_get_value(config, 0, "entry");
|
||||
char *boot_entry = config_get_value(config, 0, "ENTRY");
|
||||
|
||||
if (boot_entry == NULL) {
|
||||
panic(true, "efi_boot_entry: No entry specified");
|
||||
|
||||
Reference in New Issue
Block a user