IgrOS-Kernel 0.1.34.545
Simple C++20 Kernel for i386/x86_64
Loading...
Searching...
No Matches
register.hpp
Go to the documentation of this file.
1
11
12
13#pragma once
14
15
16// IgrOS-Kernel arch i386
18// IgrOS-Kernel arch x86_64
20
21
22// Arch namespace
23namespace igros::arch {
24
25
26#if defined(IGROS_ARCH_i386)
27
29 using i386::register_t;
30
31#elif defined(IGROS_ARCH_x86_64)
32
34 using x86_64::register_t;
35
36#else
37
38#error "Unknown architecture!"
39
40#endif
41
42
43} // namespace igros::arch
44
Task switch registers data structure.
Architecture-independent interface: drivers and aliases of current architecture types.
Task switch registers data structure.