From 1a3c20cc9ea191a862eb7e8ac55b3a69ac74ad5e Mon Sep 17 00:00:00 2001 From: Felix Morgner Date: Mon, 24 Nov 2025 16:59:24 +0100 Subject: x86_64/vga: rely less on magic state --- kapi/CMakeLists.txt | 1 + kapi/include/kapi/boot.hpp | 11 +++++++++++ 2 files changed, 12 insertions(+) create mode 100644 kapi/include/kapi/boot.hpp (limited to 'kapi') diff --git a/kapi/CMakeLists.txt b/kapi/CMakeLists.txt index 86b0fb6..553b9ba 100644 --- a/kapi/CMakeLists.txt +++ b/kapi/CMakeLists.txt @@ -5,6 +5,7 @@ target_sources("kapi" PUBLIC FILE_SET HEADERS BASE_DIRS "include" FILES + "include/kapi/boot.hpp" "include/kapi/cio.hpp" "include/kapi/memory.hpp" "include/kapi/system.hpp" diff --git a/kapi/include/kapi/boot.hpp b/kapi/include/kapi/boot.hpp new file mode 100644 index 0000000..013e180 --- /dev/null +++ b/kapi/include/kapi/boot.hpp @@ -0,0 +1,11 @@ +#ifndef TEACHOS_KAPI_BOOT_HPP +#define TEACHOS_KAPI_BOOT_HPP + +namespace teachos::boot +{ + struct information; + + extern "C" information const bootstrap_information; +} // namespace teachos::boot + +#endif -- cgit v1.2.3