IgrOS-Kernel 0.1.34.545
Simple C++20 Kernel for i386/x86_64
Loading...
Searching...
No Matches
kmain.hpp
Go to the documentation of this file.
1
11
12
13#pragma once
14
15
16// IgrOS-Kernel arch
17#include <arch/types.hpp>
18
19
20#ifdef __cplusplus
21
22extern "C" {
23
24#endif // __cplusplus
25
26
30 [[noreturn]]
31 void kmain(const igros::igros_usize_t multibootAddress, const igros::igros_dword_t magic) noexcept;
32
33
34#ifdef __cplusplus
35
36} // extern "C"
37
38#endif // __cplusplus
39
std::size_t igros_usize_t
Unsigned size.
Definition types.hpp:51
std::uint32_t igros_dword_t
32-bit unsigned integer
Definition types.hpp:43
void kmain(const igros::igros_usize_t multibootAddress, const igros::igros_dword_t magic) noexcept
Kernel main function (called from boot.s).
Definition kmain.cpp:43
Common C++ types redefinition.