diff --git a/common/console.c b/common/console.c index 4f1c3023..a0b099fd 100644 --- a/common/console.c +++ b/common/console.c @@ -7,7 +7,7 @@ #include #include #include -#include +#include #include #include #include diff --git a/common/drivers/disk.s2.c b/common/drivers/disk.s2.c index c879ce6b..66bb03ef 100644 --- a/common/drivers/disk.s2.c +++ b/common/drivers/disk.s2.c @@ -8,7 +8,7 @@ #elif uefi == 1 # include #endif -#include +#include #include #include #include diff --git a/common/drivers/edid.c b/common/drivers/edid.c index f1247325..c8cf95a4 100644 --- a/common/drivers/edid.c +++ b/common/drivers/edid.c @@ -2,7 +2,7 @@ #include #include #include -#include +#include #include #include diff --git a/common/drivers/gop.c b/common/drivers/gop.c index be1674ca..2226ba5a 100644 --- a/common/drivers/gop.c +++ b/common/drivers/gop.c @@ -3,7 +3,7 @@ #include #include #include -#include +#include #include #include #include diff --git a/common/drivers/serial.s2.c b/common/drivers/serial.s2.c index 4141dc4c..ac14ad08 100644 --- a/common/drivers/serial.s2.c +++ b/common/drivers/serial.s2.c @@ -3,7 +3,7 @@ #include #include #include -#include +#include #if uefi == 1 # include #endif diff --git a/common/drivers/vbe.c b/common/drivers/vbe.c index 0f341691..f16925f1 100644 --- a/common/drivers/vbe.c +++ b/common/drivers/vbe.c @@ -6,7 +6,7 @@ #include #include #include -#include +#include #include #include #include diff --git a/common/drivers/vga_textmode.c b/common/drivers/vga_textmode.c index 225f779c..1a51cb36 100644 --- a/common/drivers/vga_textmode.c +++ b/common/drivers/vga_textmode.c @@ -7,7 +7,7 @@ #include #include #include -#include +#include #include #include diff --git a/common/entry.s2.c b/common/entry.s2.c index 986c838f..4d05c4ef 100644 --- a/common/entry.s2.c +++ b/common/entry.s2.c @@ -4,7 +4,7 @@ #include #include #include -#include +#include #include #include #include diff --git a/common/entry.s3.c b/common/entry.s3.c index d10dc5fa..fc6a6b78 100644 --- a/common/entry.s3.c +++ b/common/entry.s3.c @@ -3,7 +3,7 @@ #include #include #include -#include +#include #include #include #include diff --git a/common/fs/ext2.s2.c b/common/fs/ext2.s2.c index d57ad0e6..9afeb4bd 100644 --- a/common/fs/ext2.s2.c +++ b/common/fs/ext2.s2.c @@ -4,7 +4,7 @@ #include #include #include -#include +#include #include #include diff --git a/common/fs/fat32.s2.c b/common/fs/fat32.s2.c index 98892998..9c781036 100644 --- a/common/fs/fat32.s2.c +++ b/common/fs/fat32.s2.c @@ -1,5 +1,5 @@ #include -#include +#include #include #include #include diff --git a/common/fs/file.s2.c b/common/fs/file.s2.c index bf37f513..704237b1 100644 --- a/common/fs/file.s2.c +++ b/common/fs/file.s2.c @@ -5,7 +5,7 @@ #include #include #include -#include +#include #include #include #include diff --git a/common/fs/iso9660.s2.c b/common/fs/iso9660.s2.c index 6a01bfce..8aac409d 100644 --- a/common/fs/iso9660.s2.c +++ b/common/fs/iso9660.s2.c @@ -1,5 +1,5 @@ #include -#include +#include #include #include diff --git a/common/lib/acpi.c b/common/lib/acpi.c index 301e99dd..c1a1ad95 100644 --- a/common/lib/acpi.c +++ b/common/lib/acpi.c @@ -2,7 +2,7 @@ #include #include #include -#include +#include #include #include diff --git a/common/lib/bmp.c b/common/lib/bmp.c index c7ad75db..0a8cb37f 100644 --- a/common/lib/bmp.c +++ b/common/lib/bmp.c @@ -3,7 +3,7 @@ #include #include #include -#include +#include #include struct bmp_header { diff --git a/common/lib/config.c b/common/lib/config.c index f64a20dd..8ae6765b 100644 --- a/common/lib/config.c +++ b/common/lib/config.c @@ -2,7 +2,7 @@ #include #include #include -#include +#include #include #include #include diff --git a/common/lib/elf.c b/common/lib/elf.c index 5030c217..ae4c5f36 100644 --- a/common/lib/elf.c +++ b/common/lib/elf.c @@ -1,6 +1,6 @@ #include #include -#include +#include #include #include #include diff --git a/common/lib/elsewhere.c b/common/lib/elsewhere.c index 063a538d..62bbeb67 100644 --- a/common/lib/elsewhere.c +++ b/common/lib/elsewhere.c @@ -2,7 +2,7 @@ #include #include #include -#include +#include #include static bool elsewhere_overlap_check(uint64_t base1, uint64_t top1, diff --git a/common/lib/gterm.c b/common/lib/gterm.c index 5152af30..0b68dd2d 100644 --- a/common/lib/gterm.c +++ b/common/lib/gterm.c @@ -2,7 +2,7 @@ #include #include #include -#include +#include #include #include #include diff --git a/common/lib/guid.c b/common/lib/guid.c index e6c635da..2e9f4746 100644 --- a/common/lib/guid.c +++ b/common/lib/guid.c @@ -2,7 +2,7 @@ #include #include #include -#include +#include bool is_valid_guid(const char *s) { for (size_t i = 0; ; i++) { diff --git a/common/lib/image.c b/common/lib/image.c index 5e6f480b..bc2d0319 100644 --- a/common/lib/image.c +++ b/common/lib/image.c @@ -1,7 +1,7 @@ #include #include #include -#include +#include #include #include diff --git a/common/lib/libc.s2.c b/common/lib/libc.s2.c index 1b818135..34f93a1f 100644 --- a/common/lib/libc.s2.c +++ b/common/lib/libc.s2.c @@ -2,7 +2,7 @@ #include #include #include -#include +#include bool isprint(int c) { return c >= ' ' && c <= '~'; diff --git a/common/lib/blib.c b/common/lib/misc.c similarity index 99% rename from common/lib/blib.c rename to common/lib/misc.c index c6d7f635..a0bf75dd 100644 --- a/common/lib/blib.c +++ b/common/lib/misc.c @@ -2,7 +2,7 @@ #include #include #include -#include +#include #include #include #include diff --git a/common/lib/blib.h b/common/lib/misc.h similarity index 98% rename from common/lib/blib.h rename to common/lib/misc.h index 5a82f4c8..8e8d50ef 100644 --- a/common/lib/blib.h +++ b/common/lib/misc.h @@ -1,5 +1,5 @@ -#ifndef __LIB__BLIB_H__ -#define __LIB__BLIB_H__ +#ifndef __LIB__MISC_H__ +#define __LIB__MISC_H__ #include #include diff --git a/common/lib/blib.s2.c b/common/lib/misc.s2.c similarity index 99% rename from common/lib/blib.s2.c rename to common/lib/misc.s2.c index 079581b2..25039631 100644 --- a/common/lib/blib.s2.c +++ b/common/lib/misc.s2.c @@ -1,6 +1,6 @@ #include #include -#include +#include #include bool verbose = true; diff --git a/common/lib/panic.s2.c b/common/lib/panic.s2.c index 47b07c93..c2387263 100644 --- a/common/lib/panic.s2.c +++ b/common/lib/panic.s2.c @@ -7,7 +7,7 @@ #if uefi == 1 # include #endif -#include +#include #include #include #include diff --git a/common/lib/part.s2.c b/common/lib/part.s2.c index 63ef7603..e236af00 100644 --- a/common/lib/part.s2.c +++ b/common/lib/part.s2.c @@ -6,7 +6,7 @@ # include #endif #include -#include +#include #include #include #include diff --git a/common/lib/print.s2.c b/common/lib/print.s2.c index 05d540aa..799d4093 100644 --- a/common/lib/print.s2.c +++ b/common/lib/print.s2.c @@ -2,7 +2,7 @@ #include #include #include -#include +#include #include #include #if bios == 1 diff --git a/common/lib/rand.c b/common/lib/rand.c index 4149fccf..6d34ce1f 100644 --- a/common/lib/rand.c +++ b/common/lib/rand.c @@ -1,7 +1,7 @@ #include #include #include -#include +#include #include #include #include diff --git a/common/lib/readline.c b/common/lib/readline.c index 119e1181..651d22d4 100644 --- a/common/lib/readline.c +++ b/common/lib/readline.c @@ -2,7 +2,7 @@ #include #include #include -#include +#include #include #include #if bios == 1 diff --git a/common/lib/term.c b/common/lib/term.c index b9a62c36..c236e782 100644 --- a/common/lib/term.c +++ b/common/lib/term.c @@ -4,7 +4,7 @@ #include #include #include -#include +#include #include #include #include diff --git a/common/lib/term.s2.c b/common/lib/term.s2.c index 15f6e323..a23bd047 100644 --- a/common/lib/term.s2.c +++ b/common/lib/term.s2.c @@ -2,7 +2,7 @@ #include #include #include -#include +#include #include bool early_term = false; diff --git a/common/lib/time.c b/common/lib/time.c index 7678a07d..8052b9e9 100644 --- a/common/lib/time.c +++ b/common/lib/time.c @@ -6,7 +6,7 @@ #elif uefi == 1 # include #endif -#include +#include // Julian date calculation from https://en.wikipedia.org/wiki/Julian_day static uint64_t get_jdn(uint8_t days, uint8_t months, uint16_t years) { diff --git a/common/lib/trace.s2.c b/common/lib/trace.s2.c index 5fdac159..8f40ebda 100644 --- a/common/lib/trace.s2.c +++ b/common/lib/trace.s2.c @@ -1,7 +1,7 @@ #include #include #include -#include +#include #include #include #include diff --git a/common/lib/uri.c b/common/lib/uri.c index b2f765ab..22245259 100644 --- a/common/lib/uri.c +++ b/common/lib/uri.c @@ -1,7 +1,7 @@ #include #include #include -#include +#include #include #include #include diff --git a/common/menu.c b/common/menu.c index feba27da..cf34814f 100644 --- a/common/menu.c +++ b/common/menu.c @@ -5,7 +5,7 @@ #include #include #include -#include +#include #include #include #include diff --git a/common/mm/pmm.s2.c b/common/mm/pmm.s2.c index e37340f4..07af2e5b 100644 --- a/common/mm/pmm.s2.c +++ b/common/mm/pmm.s2.c @@ -4,7 +4,7 @@ #include #include #include -#include +#include #include #include #if uefi == 1 diff --git a/common/mm/vmm.c b/common/mm/vmm.c index a3d787ba..a1103572 100644 --- a/common/mm/vmm.c +++ b/common/mm/vmm.c @@ -2,7 +2,7 @@ #include #include #include -#include +#include #include #include diff --git a/common/protos/chainload.c b/common/protos/chainload.c index eee0f681..a60aa9b8 100644 --- a/common/protos/chainload.c +++ b/common/protos/chainload.c @@ -4,7 +4,7 @@ #include #include #include -#include +#include #include #include #include diff --git a/common/protos/chainload_next.c b/common/protos/chainload_next.c index 37a4315d..05d62f66 100644 --- a/common/protos/chainload_next.c +++ b/common/protos/chainload_next.c @@ -3,7 +3,7 @@ #include #include #include -#include +#include #include #include diff --git a/common/protos/limine.c b/common/protos/limine.c index 32655b00..a899bb02 100644 --- a/common/protos/limine.c +++ b/common/protos/limine.c @@ -4,7 +4,7 @@ #include #include #include -#include +#include #include #include #include diff --git a/common/protos/linux.c b/common/protos/linux.c index cdd2180b..89132aca 100644 --- a/common/protos/linux.c +++ b/common/protos/linux.c @@ -6,7 +6,7 @@ #include #include #include -#include +#include #include #include #include diff --git a/common/protos/multiboot.h b/common/protos/multiboot.h index b2683c83..b595caac 100644 --- a/common/protos/multiboot.h +++ b/common/protos/multiboot.h @@ -2,7 +2,7 @@ #define __PROTOS__MULTIBOOT_H__ #include -#include +#include struct mb_reloc_stub { char jmp[4]; diff --git a/common/protos/multiboot1.c b/common/protos/multiboot1.c index 1e137d42..763e2d1b 100644 --- a/common/protos/multiboot1.c +++ b/common/protos/multiboot1.c @@ -8,7 +8,7 @@ #include #include #include -#include +#include #include #include #include diff --git a/common/protos/multiboot2.c b/common/protos/multiboot2.c index b21b4fda..f5ae0630 100644 --- a/common/protos/multiboot2.c +++ b/common/protos/multiboot2.c @@ -8,7 +8,7 @@ #include #include #include -#include +#include #include #include #include @@ -22,7 +22,7 @@ #include #include #include -#include +#include #include #define LIMINE_BRAND "Limine " LIMINE_VERSION diff --git a/common/pxe/pxe.s2.c b/common/pxe/pxe.s2.c index 0b229802..72f6a9f0 100644 --- a/common/pxe/pxe.s2.c +++ b/common/pxe/pxe.s2.c @@ -4,7 +4,7 @@ #include #include #include -#include +#include #include void set_pxe_fp(uint32_t fp); diff --git a/common/pxe/tftp.s2.c b/common/pxe/tftp.s2.c index 25b00c17..33e72550 100644 --- a/common/pxe/tftp.s2.c +++ b/common/pxe/tftp.s2.c @@ -6,7 +6,7 @@ #include #include #include -#include +#include uint32_t get_boot_server_info(void) { struct pxenv_get_cached_info cachedinfo = { 0 }; diff --git a/common/sys/e820.s2.c b/common/sys/e820.s2.c index 1658f1b7..aae955c5 100644 --- a/common/sys/e820.s2.c +++ b/common/sys/e820.s2.c @@ -4,7 +4,7 @@ #include #include #include -#include +#include #include #include diff --git a/common/sys/exceptions.s2.c b/common/sys/exceptions.s2.c index ec80564d..a3551a3b 100644 --- a/common/sys/exceptions.s2.c +++ b/common/sys/exceptions.s2.c @@ -1,5 +1,5 @@ #include -#include +#include #include #include diff --git a/common/sys/idt.c b/common/sys/idt.c index 7804dc5b..0bacf94f 100644 --- a/common/sys/idt.c +++ b/common/sys/idt.c @@ -7,7 +7,7 @@ #include #include #include -#include +#include static struct idt_entry *dummy_idt = NULL; diff --git a/common/sys/idt.s2.c b/common/sys/idt.s2.c index e5baf3e9..88894147 100644 --- a/common/sys/idt.s2.c +++ b/common/sys/idt.s2.c @@ -1,7 +1,7 @@ #include #include #include -#include +#include #if bios == 1 diff --git a/common/sys/lapic.c b/common/sys/lapic.c index 3d63d464..cb348968 100644 --- a/common/sys/lapic.c +++ b/common/sys/lapic.c @@ -5,7 +5,7 @@ #include #include #include -#include +#include #include #include diff --git a/common/sys/pic.c b/common/sys/pic.c index 36b59750..0c9dcee0 100644 --- a/common/sys/pic.c +++ b/common/sys/pic.c @@ -5,7 +5,7 @@ #include #include #include -#include +#include void pic_eoi(int irq) { if (irq >= 8) { diff --git a/common/sys/smp.c b/common/sys/smp.c index 6dace9b6..a35d9b89 100644 --- a/common/sys/smp.c +++ b/common/sys/smp.c @@ -4,7 +4,7 @@ #include #include #include -#include +#include #include #include #include