protos/efi_boot_entry: fix inconsistencies (3)

This commit is contained in:
lg
2026-03-11 19:55:29 -04:00
parent ceafd6f901
commit 3e9131d913
3 changed files with 3 additions and 2 deletions

View File

@@ -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,

View File

@@ -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) {

View File

@@ -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");