diff --git a/Makefile.am b/Makefile.am index 1e0a576..36daae2 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1,6 +1,6 @@ SUBDIRS = include -AM_CFLAGS = -std=c99 -I$(top_srcdir)/include +AM_CFLAGS = -std=c99 -Wall -Wextra -I$(top_srcdir)/include lib_LIBRARIES = libkernaux.a diff --git a/src/multiboot2/print.c b/src/multiboot2/print.c index 965b00e..f5cfe04 100644 --- a/src/multiboot2/print.c +++ b/src/multiboot2/print.c @@ -104,6 +104,8 @@ void KernAux_Multiboot2_TagBase_print( print(" size: %u\n", tag_base->size); switch (tag_base->type) { + case KERNAUX_MULTIBOOT2_TAGTYPE_NONE: + break; case KERNAUX_MULTIBOOT2_TAGTYPE_BOOT_CMD_LINE: print( " cmdline: %s\n", @@ -145,6 +147,66 @@ void KernAux_Multiboot2_TagBase_print( print(" sub_partition: %u\n", tag_bbd->sub_partition); } break; + case KERNAUX_MULTIBOOT2_TAGTYPE_MEMORY_MAP: + { + } + break; + case KERNAUX_MULTIBOOT2_TAGTYPE_VBE_INFO: + { + } + break; + case KERNAUX_MULTIBOOT2_TAGTYPE_FRAMEBUFFER_INFO: + { + } + break; + case KERNAUX_MULTIBOOT2_TAGTYPE_ELF_SYMBOLS: + { + } + break; + case KERNAUX_MULTIBOOT2_TAGTYPE_APM_TABLE: + { + } + break; + case KERNAUX_MULTIBOOT2_TAGTYPE_EFI_32BIT_SYSTEM_TABLE_PTR: + { + } + break; + case KERNAUX_MULTIBOOT2_TAGTYPE_EFI_64BIT_SYSTEM_TABLE_PTR: + { + } + break; + case KERNAUX_MULTIBOOT2_TAGTYPE_SMBIOS_TABLES: + { + } + break; + case KERNAUX_MULTIBOOT2_TAGTYPE_ACPI_OLD_RSDP: + { + } + break; + case KERNAUX_MULTIBOOT2_TAGTYPE_ACPI_NEW_RSDP: + { + } + break; + case KERNAUX_MULTIBOOT2_TAGTYPE_NETWORKING_INFO: + { + } + break; + case KERNAUX_MULTIBOOT2_TAGTYPE_EFI_MEMORY_MAP: + { + } + break; + case KERNAUX_MULTIBOOT2_TAGTYPE_EFI_BOOT_SERVICES_NOT_TERMINATED: + { + } + break; + case KERNAUX_MULTIBOOT2_TAGTYPE_EFI_32BIT_IMAGE_HANDLE_PTR: + { + } + break; + case KERNAUX_MULTIBOOT2_TAGTYPE_EFI_64BIT_IMAGE_HANDLE_PTR: + { + } + break; case KERNAUX_MULTIBOOT2_TAGTYPE_IMAGE_LOAD_BASE_PHYS_ADDR: print( " load base addr: %u\n",