]> git.ipfire.org Git - thirdparty/grub.git/commit
loader/i386/linux: Update linux_kernel_params to match upstream
authorPatrick Colp <patrick.colp@oracle.com>
Thu, 3 Apr 2025 21:04:11 +0000 (14:04 -0700)
committerDaniel Kiper <daniel.kiper@oracle.com>
Fri, 4 Apr 2025 19:57:05 +0000 (21:57 +0200)
commit204a6ddfb3bb456929e7c364e1e8d6ee1928b471
treecd9fb8ddc7929b4f175a80014be304e82c1407b8
parent6b64f297e5906feb295dcc6fb5046368f5f3e95b
loader/i386/linux: Update linux_kernel_params to match upstream

Update linux_kernel_params to match the v6.13.7 upstream version of boot_params.
Refactor most things out into structs, as the Linux kernel does.

edid_info should be a struct with "unsigned char dummy[128]" and efi_info should
be a struct as well, starting at 0x1c0. However, for backwards compatibility,
GRUB can have efi_systab at 0x1b8 and padding at 0x1bc (or padding at both spots).
This cuts into the end of edid_info. Make edid_info inline and only make it go
up to 0x1b8.

Signed-off-by: Patrick Colp <patrick.colp@oracle.com>
Reviewed-by: Daniel Kiper <daniel.kiper@oracle.com>
grub-core/loader/i386/linux.c
include/grub/i386/linux.h