From edf9e71e2a7b6b89775c29cf28c19c6b89992c25 Mon Sep 17 00:00:00 2001 From: aqua Date: Mon, 28 Mar 2022 20:03:38 +0300 Subject: Initial commit x86 kernel that prints a hello world message to com1 --- src/mmap.h | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 src/mmap.h (limited to 'src/mmap.h') diff --git a/src/mmap.h b/src/mmap.h new file mode 100644 index 0000000..13f40f2 --- /dev/null +++ b/src/mmap.h @@ -0,0 +1,7 @@ +#pragma once + +#include "boot.h" +#include + +__attribute__((section(".multiboot.text"))) unsigned multiboot2_mmap(const struct multiboot_mmap_entry entries[], + unsigned entry_count, unsigned bitmap[1024 * 32]); -- cgit v1.2.1