From 05cb6f62889098dfb32b100f46f0b85f35695c8a Mon Sep 17 00:00:00 2001 From: Alex Kotov Date: Sun, 29 Nov 2020 19:42:27 +0500 Subject: [PATCH] Add more Multiboot 2 tags to example data --- tests/multiboot2_print2.c | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/tests/multiboot2_print2.c b/tests/multiboot2_print2.c index 51d5708..f933b98 100644 --- a/tests/multiboot2_print2.c +++ b/tests/multiboot2_print2.c @@ -92,6 +92,11 @@ static const struct { unsigned char data[8]; } tag_acpi_new_rsdp; + struct { + struct KernAux_Multiboot2_Tag_NetworkingInfo tag; + unsigned char data[8]; + } tag_networking_info; + struct KernAux_Multiboot2_Tag_None tag_none; } multiboot2_example = { .multiboot2 = { @@ -301,6 +306,15 @@ static const struct { }, .data = {0, 0, 0, 0, 0, 0, 0, 0}, }, + .tag_networking_info = { + .tag = { + .base = { + .type = KERNAUX_MULTIBOOT2_TAGTYPE_NETWORKING_INFO, + .size = sizeof(multiboot2_example.tag_networking_info), + }, + }, + .data = {0, 0, 0, 0, 0, 0, 0, 0}, + }, .tag_none = { .base = { .type = KERNAUX_MULTIBOOT2_TAGTYPE_NONE,