mirror of
https://codeberg.org/Limine/Limine
synced 2026-01-26 21:22:15 +00:00
multiboot2: Fix SMBIOS tag size to include table data length
This commit is contained in:
parent
be4bd11312
commit
fbc5b77f6d
@ -783,7 +783,7 @@ skip_modeset:;
|
||||
struct multiboot_tag_smbios *tag = (struct multiboot_tag_smbios *)(mb2_info + info_idx);
|
||||
|
||||
tag->type = MULTIBOOT_TAG_TYPE_SMBIOS;
|
||||
tag->size = sizeof(struct multiboot_tag_smbios);
|
||||
tag->size = sizeof(struct multiboot_tag_smbios) + smbios_entry_32->length;
|
||||
|
||||
tag->major = smbios_entry_32->major_version;
|
||||
tag->minor = smbios_entry_32->minor_version;
|
||||
@ -798,7 +798,7 @@ skip_modeset:;
|
||||
struct multiboot_tag_smbios *tag = (struct multiboot_tag_smbios *)(mb2_info + info_idx);
|
||||
|
||||
tag->type = MULTIBOOT_TAG_TYPE_SMBIOS;
|
||||
tag->size = sizeof(struct multiboot_tag_smbios);
|
||||
tag->size = sizeof(struct multiboot_tag_smbios) + smbios_entry_64->length;
|
||||
|
||||
tag->major = smbios_entry_64->major_version;
|
||||
tag->minor = smbios_entry_64->minor_version;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user