index
:
pub/fmorgner/teachos.git
develop
develop-BA-FS26
main
The TeachOS kernel, a greenfield, pure 64-bit, educational operating system.
fmorgner
about
summary
refs
log
tree
commit
diff
log msg
author
committer
range
diff options
context:
1
2
3
4
5
6
7
8
9
10
15
20
25
30
35
40
space:
include
ignore
mode:
unified
ssdiff
stat only
Diffstat
-rw-r--r--
.clang-format
163
-rw-r--r--
.clang-tidy
7
-rw-r--r--
.clangd
3
-rw-r--r--
.devcontainer/x86-64/devcontainer.json
37
-rw-r--r--
.gitignore
14
-rw-r--r--
.vscode/extensions.json
6
-rw-r--r--
.vscode/launch.json
31
-rw-r--r--
.vscode/settings.json
42
-rw-r--r--
.vscode/tasks.json
6
-rw-r--r--
CMakeLists.txt
151
-rw-r--r--
CMakePresets.json
25
-rw-r--r--
Doxyfile
2974
-rw-r--r--
arch/x86_64/CMakeLists.txt
176
-rw-r--r--
arch/x86_64/include/arch/boot/pointers.hpp
15
-rw-r--r--
arch/x86_64/include/arch/io/port_io.hpp
133
-rw-r--r--
arch/x86_64/include/arch/kernel/cpu/control_register.hpp
71
-rw-r--r--
arch/x86_64/include/arch/memory/allocator/area_frame_allocator.hpp
67
-rw-r--r--
arch/x86_64/include/arch/memory/allocator/concept.hpp
21
-rw-r--r--
arch/x86_64/include/arch/memory/allocator/physical_frame.hpp
86
-rw-r--r--
arch/x86_64/include/arch/memory/allocator/tiny_frame_allocator.hpp
74
-rw-r--r--
arch/x86_64/include/arch/memory/main.hpp
30
-rw-r--r--
arch/x86_64/include/arch/memory/multiboot/elf_symbols_section.hpp
169
-rw-r--r--
arch/x86_64/include/arch/memory/multiboot/memory_map.hpp
53
-rw-r--r--
arch/x86_64/include/arch/memory/multiboot/reader.hpp
53
-rw-r--r--
arch/x86_64/include/arch/memory/paging/active_page_table.hpp
206
-rw-r--r--
arch/x86_64/include/arch/memory/paging/inactive_page_table.hpp
39
-rw-r--r--
arch/x86_64/include/arch/memory/paging/kernel_mapper.hpp
180
-rw-r--r--
arch/x86_64/include/arch/memory/paging/page_entry.hpp
121
-rw-r--r--
arch/x86_64/include/arch/memory/paging/page_table.hpp
157
-rw-r--r--
arch/x86_64/include/arch/memory/paging/temporary_page.hpp
64
-rw-r--r--
arch/x86_64/include/arch/memory/paging/virtual_page.hpp
91
-rw-r--r--
arch/x86_64/include/arch/stl/container.hpp
99
-rw-r--r--
arch/x86_64/include/arch/stl/contiguous_pointer_iterator.hpp
216
-rw-r--r--
arch/x86_64/include/arch/stl/forward_value_iterator.hpp
121
-rw-r--r--
arch/x86_64/include/arch/video/vga/io.hpp
39
-rw-r--r--
arch/x86_64/include/arch/video/vga/text.hpp
169
-rw-r--r--
arch/x86_64/include/x86_64/boot/boot.hpp
70
-rw-r--r--
arch/x86_64/include/x86_64/boot/ld.hpp
61
-rw-r--r--
arch/x86_64/include/x86_64/cpu/control_register.hpp
244
-rw-r--r--
arch/x86_64/include/x86_64/cpu/model_specific_register.hpp
148
-rw-r--r--
arch/x86_64/include/x86_64/cpu/registers.hpp
30
-rw-r--r--
arch/x86_64/include/x86_64/device_io/port_io.hpp
101
-rw-r--r--
arch/x86_64/include/x86_64/memory/buffered_allocator.hpp
68
-rw-r--r--
arch/x86_64/include/x86_64/memory/kernel_mapper.hpp
32
-rw-r--r--
arch/x86_64/include/x86_64/memory/mmu.hpp
(renamed from arch/x86_64/include/arch/kernel/cpu/tlb.hpp)
14
-rw-r--r--
arch/x86_64/include/x86_64/memory/page_table.hpp
341
-rw-r--r--
arch/x86_64/include/x86_64/memory/page_utilities.hpp
22
-rw-r--r--
arch/x86_64/include/x86_64/memory/paging_root.hpp
27
-rw-r--r--
arch/x86_64/include/x86_64/memory/recursive_page_mapper.hpp
23
-rw-r--r--
arch/x86_64/include/x86_64/memory/region_allocator.hpp
79
-rw-r--r--
arch/x86_64/include/x86_64/memory/scoped_mapping.hpp
66
-rw-r--r--
arch/x86_64/include/x86_64/vga/crtc.hpp
39
-rw-r--r--
arch/x86_64/include/x86_64/vga/text.hpp
178
-rw-r--r--
arch/x86_64/pre/include/arch/context_switching/interrupt_descriptor_table/gate_descriptor.hpp
(renamed from arch/x86_64/include/arch/context_switching/interrupt_descriptor_table/gate_descriptor.hpp)
0
-rw-r--r--
arch/x86_64/pre/include/arch/context_switching/interrupt_descriptor_table/idt_flags.hpp
(renamed from arch/x86_64/include/arch/context_switching/interrupt_descriptor_table/idt_flags.hpp)
0
-rw-r--r--
arch/x86_64/pre/include/arch/context_switching/interrupt_descriptor_table/interrupt_descriptor_table.hpp
(renamed from arch/x86_64/include/arch/context_switching/interrupt_descriptor_table/interrupt_descriptor_table.hpp)
0
-rw-r--r--
arch/x86_64/pre/include/arch/context_switching/interrupt_descriptor_table/interrupt_descriptor_table_pointer.hpp
(renamed from arch/x86_64/include/arch/context_switching/interrupt_descriptor_table/interrupt_descriptor_table_pointer.hpp)
0
-rw-r--r--
arch/x86_64/pre/include/arch/context_switching/interrupt_descriptor_table/ist_offset.hpp
(renamed from arch/x86_64/include/arch/context_switching/interrupt_descriptor_table/ist_offset.hpp)
0
-rw-r--r--
arch/x86_64/pre/include/arch/context_switching/interrupt_descriptor_table/segment_selector.hpp
(renamed from arch/x86_64/include/arch/context_switching/interrupt_descriptor_table/segment_selector.hpp)
6
-rw-r--r--
arch/x86_64/pre/include/arch/context_switching/main.hpp
(renamed from arch/x86_64/include/arch/context_switching/main.hpp)
0
-rw-r--r--
arch/x86_64/pre/include/arch/context_switching/segment_descriptor_table/access_byte.hpp
(renamed from arch/x86_64/include/arch/context_switching/segment_descriptor_table/access_byte.hpp)
0
-rw-r--r--
arch/x86_64/pre/include/arch/context_switching/segment_descriptor_table/gdt_flags.hpp
(renamed from arch/x86_64/include/arch/context_switching/segment_descriptor_table/gdt_flags.hpp)
0
-rw-r--r--
arch/x86_64/pre/include/arch/context_switching/segment_descriptor_table/global_descriptor_table.hpp
(renamed from arch/x86_64/include/arch/context_switching/segment_descriptor_table/global_descriptor_table.hpp)
0
-rw-r--r--
arch/x86_64/pre/include/arch/context_switching/segment_descriptor_table/global_descriptor_table_pointer.hpp
(renamed from arch/x86_64/include/arch/context_switching/segment_descriptor_table/global_descriptor_table_pointer.hpp)
0
-rw-r--r--
arch/x86_64/pre/include/arch/context_switching/segment_descriptor_table/segment_descriptor_base.hpp
(renamed from arch/x86_64/include/arch/context_switching/segment_descriptor_table/segment_descriptor_base.hpp)
0
-rw-r--r--
arch/x86_64/pre/include/arch/context_switching/segment_descriptor_table/segment_descriptor_extension.hpp
(renamed from arch/x86_64/include/arch/context_switching/segment_descriptor_table/segment_descriptor_extension.hpp)
0
-rw-r--r--
arch/x86_64/pre/include/arch/context_switching/segment_descriptor_table/segment_descriptor_type.hpp
(renamed from arch/x86_64/include/arch/context_switching/segment_descriptor_table/segment_descriptor_type.hpp)
0
-rw-r--r--
arch/x86_64/pre/include/arch/context_switching/segment_descriptor_table/task_state_segment.hpp
(renamed from arch/x86_64/include/arch/context_switching/segment_descriptor_table/task_state_segment.hpp)
0
-rw-r--r--
arch/x86_64/pre/include/arch/context_switching/syscall/main.hpp
(renamed from arch/x86_64/include/arch/context_switching/syscall/main.hpp)
5
-rw-r--r--
arch/x86_64/pre/include/arch/context_switching/syscall/syscall_enable.hpp
(renamed from arch/x86_64/include/arch/context_switching/syscall/syscall_enable.hpp)
0
-rw-r--r--
arch/x86_64/pre/include/arch/context_switching/syscall/syscall_handler.hpp
(renamed from arch/x86_64/include/arch/context_switching/syscall/syscall_handler.hpp)
0
-rw-r--r--
arch/x86_64/pre/include/arch/exception_handling/assert.hpp
(renamed from arch/x86_64/include/arch/exception_handling/assert.hpp)
0
-rw-r--r--
arch/x86_64/pre/include/arch/exception_handling/panic.hpp
(renamed from arch/x86_64/include/arch/exception_handling/panic.hpp)
0
-rw-r--r--
arch/x86_64/pre/include/arch/interrupt_handling/generic_interrupt_handler.hpp
(renamed from arch/x86_64/include/arch/interrupt_handling/generic_interrupt_handler.hpp)
0
-rw-r--r--
arch/x86_64/pre/include/arch/kernel/cpu/call.hpp
(renamed from arch/x86_64/include/arch/kernel/cpu/call.hpp)
0
-rw-r--r--
arch/x86_64/pre/include/arch/kernel/cpu/gdtr.hpp
(renamed from arch/x86_64/include/arch/kernel/cpu/gdtr.hpp)
0
-rw-r--r--
arch/x86_64/pre/include/arch/kernel/cpu/idtr.hpp
(renamed from arch/x86_64/include/arch/kernel/cpu/idtr.hpp)
0
-rw-r--r--
arch/x86_64/pre/include/arch/kernel/cpu/if.hpp
(renamed from arch/x86_64/include/arch/kernel/cpu/if.hpp)
0
-rw-r--r--
arch/x86_64/pre/include/arch/kernel/cpu/msr.hpp
(renamed from arch/x86_64/include/arch/kernel/cpu/msr.hpp)
0
-rw-r--r--
arch/x86_64/pre/include/arch/kernel/cpu/segment_register.hpp
(renamed from arch/x86_64/include/arch/kernel/cpu/segment_register.hpp)
0
-rw-r--r--
arch/x86_64/pre/include/arch/kernel/cpu/tr.hpp
(renamed from arch/x86_64/include/arch/kernel/cpu/tr.hpp)
0
-rw-r--r--
arch/x86_64/pre/include/arch/kernel/halt.hpp
(renamed from arch/x86_64/include/arch/kernel/halt.hpp)
0
-rw-r--r--
arch/x86_64/pre/include/arch/kernel/main.hpp
(renamed from arch/x86_64/include/arch/kernel/main.hpp)
0
-rw-r--r--
arch/x86_64/pre/include/arch/memory/heap/bump_allocator.hpp
(renamed from arch/x86_64/include/arch/memory/heap/bump_allocator.hpp)
0
-rw-r--r--
arch/x86_64/pre/include/arch/memory/heap/global_heap_allocator.hpp
(renamed from arch/x86_64/include/arch/memory/heap/global_heap_allocator.hpp)
19
-rw-r--r--
arch/x86_64/pre/include/arch/memory/heap/heap_allocator.hpp
(renamed from arch/x86_64/include/arch/memory/heap/heap_allocator.hpp)
8
-rw-r--r--
arch/x86_64/pre/include/arch/memory/heap/linked_list_allocator.hpp
(renamed from arch/x86_64/include/arch/memory/heap/linked_list_allocator.hpp)
10
-rw-r--r--
arch/x86_64/pre/include/arch/memory/heap/memory_block.hpp
(renamed from arch/x86_64/include/arch/memory/heap/memory_block.hpp)
0
-rw-r--r--
arch/x86_64/pre/include/arch/memory/heap/user_heap_allocator.hpp
(renamed from arch/x86_64/include/arch/memory/heap/user_heap_allocator.hpp)
11
-rw-r--r--
arch/x86_64/pre/include/arch/user/main.hpp
(renamed from arch/x86_64/include/arch/user/main.hpp)
0
-rw-r--r--
arch/x86_64/pre/src/context_switching/interrupt_descriptor_table/gate_descriptor.cpp
(renamed from arch/x86_64/src/context_switching/interrupt_descriptor_table/gate_descriptor.cpp)
0
-rw-r--r--
arch/x86_64/pre/src/context_switching/interrupt_descriptor_table/idt_flags.cpp
(renamed from arch/x86_64/src/context_switching/interrupt_descriptor_table/idt_flags.cpp)
5
-rw-r--r--
arch/x86_64/pre/src/context_switching/interrupt_descriptor_table/interrupt_descriptor_table.cpp
(renamed from arch/x86_64/src/context_switching/interrupt_descriptor_table/interrupt_descriptor_table.cpp)
2
-rw-r--r--
arch/x86_64/pre/src/context_switching/interrupt_descriptor_table/interrupt_descriptor_table_pointer.cpp
(renamed from arch/x86_64/src/context_switching/interrupt_descriptor_table/interrupt_descriptor_table_pointer.cpp)
0
-rw-r--r--
arch/x86_64/pre/src/context_switching/interrupt_descriptor_table/ist_offset.cpp
(renamed from arch/x86_64/src/context_switching/interrupt_descriptor_table/ist_offset.cpp)
0
-rw-r--r--
arch/x86_64/pre/src/context_switching/interrupt_descriptor_table/segment_selector.cpp
(renamed from arch/x86_64/src/context_switching/interrupt_descriptor_table/segment_selector.cpp)
15
-rw-r--r--
arch/x86_64/pre/src/context_switching/main.cpp
(renamed from arch/x86_64/src/context_switching/main.cpp)
13
-rw-r--r--
arch/x86_64/pre/src/context_switching/segment_descriptor_table/access_byte.cpp
(renamed from arch/x86_64/src/context_switching/segment_descriptor_table/access_byte.cpp)
5
-rw-r--r--
arch/x86_64/pre/src/context_switching/segment_descriptor_table/gdt_flags.cpp
(renamed from arch/x86_64/src/context_switching/segment_descriptor_table/gdt_flags.cpp)
10
-rw-r--r--
arch/x86_64/pre/src/context_switching/segment_descriptor_table/global_descriptor_table.cpp
(renamed from arch/x86_64/src/context_switching/segment_descriptor_table/global_descriptor_table.cpp)
10
-rw-r--r--
arch/x86_64/pre/src/context_switching/segment_descriptor_table/global_descriptor_table_pointer.cpp
(renamed from arch/x86_64/src/context_switching/segment_descriptor_table/global_descriptor_table_pointer.cpp)
0
-rw-r--r--
arch/x86_64/pre/src/context_switching/segment_descriptor_table/segment_descriptor_base.cpp
(renamed from arch/x86_64/src/context_switching/segment_descriptor_table/segment_descriptor_base.cpp)
5
-rw-r--r--
arch/x86_64/pre/src/context_switching/segment_descriptor_table/segment_descriptor_extension.cpp
(renamed from arch/x86_64/src/context_switching/segment_descriptor_table/segment_descriptor_extension.cpp)
10
-rw-r--r--
arch/x86_64/pre/src/context_switching/syscall/main.cpp
(renamed from arch/x86_64/src/context_switching/syscall/main.cpp)
2
-rw-r--r--
arch/x86_64/pre/src/context_switching/syscall/syscall_enable.cpp
(renamed from arch/x86_64/src/context_switching/syscall/syscall_enable.cpp)
10
-rw-r--r--
arch/x86_64/pre/src/context_switching/syscall/syscall_handler.cpp
(renamed from arch/x86_64/src/context_switching/syscall/syscall_handler.cpp)
11
-rw-r--r--
arch/x86_64/pre/src/exception_handling/abort.cpp
(renamed from arch/x86_64/src/exception_handling/abort.cpp)
5
-rw-r--r--
arch/x86_64/pre/src/exception_handling/assert.cpp
(renamed from arch/x86_64/src/exception_handling/assert.cpp)
0
-rw-r--r--
arch/x86_64/pre/src/exception_handling/panic.cpp
(renamed from arch/x86_64/src/exception_handling/panic.cpp)
5
-rw-r--r--
arch/x86_64/pre/src/exception_handling/pure_virtual.cpp
(renamed from arch/x86_64/src/exception_handling/pure_virtual.cpp)
0
-rw-r--r--
arch/x86_64/pre/src/interrupt_handling/generic_interrupt_handler.cpp
(renamed from arch/x86_64/src/interrupt_handling/generic_interrupt_handler.cpp)
0
-rw-r--r--
arch/x86_64/pre/src/kernel/cpu/call.cpp
(renamed from arch/x86_64/src/kernel/cpu/call.cpp)
0
-rw-r--r--
arch/x86_64/pre/src/kernel/cpu/gdtr.cpp
(renamed from arch/x86_64/src/kernel/cpu/gdtr.cpp)
0
-rw-r--r--
arch/x86_64/pre/src/kernel/cpu/idtr.cpp
(renamed from arch/x86_64/src/kernel/cpu/idtr.cpp)
0