From 8607858df7ddc92ef9b352c35ae59cc45b3f85d8 Mon Sep 17 00:00:00 2001 From: Alex Kotov Date: Sun, 29 Nov 2020 02:58:20 +0500 Subject: [PATCH] Display reserved field --- src/multiboot2/print.c | 1 + tests/test_multiboot2_print.c | 1 + 2 files changed, 2 insertions(+) diff --git a/src/multiboot2/print.c b/src/multiboot2/print.c index d3cf307..12580ee 100644 --- a/src/multiboot2/print.c +++ b/src/multiboot2/print.c @@ -173,6 +173,7 @@ void KernAux_Multiboot2_TagBase_print( print(" framebuffer height: %u\n", tag_fb->framebuffer_height); print(" framebuffer bpp: %u\n", tag_fb->framebuffer_bpp); print(" framebuffer type: %u\n", tag_fb->framebuffer_type); + print(" reserved1: %u\n", tag_fb->reserved1); } break; case KERNAUX_MULTIBOOT2_TAGTYPE_ELF_SYMBOLS: diff --git a/tests/test_multiboot2_print.c b/tests/test_multiboot2_print.c index 591baa2..889868e 100644 --- a/tests/test_multiboot2_print.c +++ b/tests/test_multiboot2_print.c @@ -60,6 +60,7 @@ static const char output[] = " framebuffer height: 25\n" " framebuffer bpp: 16\n" " framebuffer type: 2\n" + " reserved1: 0\n" "Multiboot 2 tag\n" " type: 14 (ACPI old RSDP)\n" " size: 28\n"