From 239900af293f192931391dc5579afab39a43e6c6 Mon Sep 17 00:00:00 2001 From: Aleksa Vuckovic Date: Sat, 25 Feb 2023 06:56:01 +0100 Subject: clang-format --- kernel/include/multiboot2.h | 33 ++++++++++++++++----------------- 1 file changed, 16 insertions(+), 17 deletions(-) (limited to 'kernel/include/multiboot2.h') diff --git a/kernel/include/multiboot2.h b/kernel/include/multiboot2.h index ff91092..5891a56 100644 --- a/kernel/include/multiboot2.h +++ b/kernel/include/multiboot2.h @@ -43,7 +43,7 @@ struct mb2_tag_module { uint32_t size; uint32_t mod_start; uint32_t mod_end; - char* name; + char *name; }; typedef struct mb2_tag_module mb2_tag_module; @@ -55,26 +55,25 @@ typedef struct mmap_t mmap_t; extern mmap_t mmap; - // multiboot2 magic check -#define MB2_MAGIC 0x36D76289 +#define MB2_MAGIC 0x36D76289 // multiboot2 tag -#define MB2_TAG_END 0 -#define MB2_TAG_CMDLINE 1 -#define MB2_TAG_BOOTLOADER 2 -#define MB2_TAG_MODULE 3 -#define MB2_TAG_MEM 4 -#define MB2_TAG_BIOS 5 -#define MB2_TAG_MMAP 6 -#define MB2_TAG_VBE 7 -#define MB2_TAG_FB 8 +#define MB2_TAG_END 0 +#define MB2_TAG_CMDLINE 1 +#define MB2_TAG_BOOTLOADER 2 +#define MB2_TAG_MODULE 3 +#define MB2_TAG_MEM 4 +#define MB2_TAG_BIOS 5 +#define MB2_TAG_MMAP 6 +#define MB2_TAG_VBE 7 +#define MB2_TAG_FB 8 -extern mb2_tag_module* ext2_module; +extern mb2_tag_module *ext2_module; -void read_mb2(mb2_tag_header* multiboot_bootinfo, uint32_t multiboot_magic); -void init_fb(mb2_tag_fb* tag_fb); -void init_mmap(mb2_tag_mmap* tag_mmap); -void init_module(mb2_tag_module* tag_module); +void read_mb2(mb2_tag_header *multiboot_bootinfo, uint32_t multiboot_magic); +void init_fb(mb2_tag_fb *tag_fb); +void init_mmap(mb2_tag_mmap *tag_mmap); +void init_module(mb2_tag_module *tag_module); #endif -- cgit v1.2.3