diff --git a/tests/multiboot2_header_example2.h b/tests/multiboot2_header_example2.h index 1186993..2c8e3da 100644 --- a/tests/multiboot2_header_example2.h +++ b/tests/multiboot2_header_example2.h @@ -22,6 +22,8 @@ static const struct { struct KernAux_Multiboot2_HTag_ModuleAlign tag_module_align; + struct KernAux_Multiboot2_HTag_EFIBootServices tag_efi_boot_services; + struct KernAux_Multiboot2_HTag_None tag_none; } multiboot2_header_example2 = { .multiboot2_header = { @@ -113,6 +115,13 @@ static const struct { .size = sizeof(multiboot2_header_example2.tag_module_align), }, }, + .tag_efi_boot_services = { + .base = { + .type = KERNAUX_MULTIBOOT2_HTAG_EFI_BOOT_SERVICES, + .flags = 0, + .size = sizeof(multiboot2_header_example2.tag_efi_boot_services), + }, + }, .tag_none = { .base = { .type = KERNAUX_MULTIBOOT2_HTAG_NONE, diff --git a/tests/test_multiboot2_header_print.c b/tests/test_multiboot2_header_print.c index e09e5e0..339cc38 100644 --- a/tests/test_multiboot2_header_print.c +++ b/tests/test_multiboot2_header_print.c @@ -14,8 +14,8 @@ static const char output2[] = "Multiboot 2 header\n" " magic: 920085129\n" " arch: 1\n" - " size: 208\n" - " checksum: 3374881958\n" + " size: 216\n" + " checksum: 3374881950\n" "Multiboot 2 header tag\n" " type: 1 (information request)\n" " flags: 0\n" @@ -41,6 +41,10 @@ static const char output2[] = " flags: 0\n" " size: 8\n" "Multiboot 2 header tag\n" + " type: 7 (EFI boot services)\n" + " flags: 0\n" + " size: 8\n" + "Multiboot 2 header tag\n" " type: 0 (none)\n" " flags: 0\n" " size: 8\n";