| Age | Commit message (Collapse) | Author | Files | Lines | |
|---|---|---|---|---|---|
| 2025-07-14 | x86_64: fix syscall error code reading | Felix Morgner | 1 | -1/+1 | |
| 2025-06-09 | Add constexpr to create segment descriptor | Matteo Gmür | 1 | -5/+5 | |
| 2025-05-27 | Readd text kernels ection with explanation | Matteo Gmür | 1 | -2/+2 | |
| 2025-05-20 | Improve syscalls and user heap allocator | Matteo Gmür | 1 | -4/+2 | |
| 2025-05-18 | Make new usable for both kernel and user calls | Matteo Gmür | 2 | -0/+8 | |
| 2025-05-12 | Fix crashes because of are frame allocator copy | Matteo Gmür | 2 | -20/+36 | |
| 2025-05-12 | Adjust user heap to lazy allocate heap | Matteo Gmür | 1 | -5/+5 | |
| 2025-05-11 | make frame_allocator and active_page_table statically available | Fabian Imhof | 1 | -0/+6 | |
| 2025-05-11 | Adjust user heap allocator with expanding heap functionality | Matteo Gmür | 2 | -4/+30 | |
| 2025-05-05 | Add comments to syscall components | Matteo Gmür | 3 | -4/+4 | |
| 2025-05-05 | Fix recursive include using extra file | Matteo Gmür | 4 | -41/+44 | |
| 2025-05-04 | move user-mode code into own namespace and linker section | Fabian Imhof | 1 | -25/+2 | |
| 2025-05-04 | fix returning from syscall | Fabian Imhof | 2 | -2/+5 | |
| 2025-05-03 | rename syscall result variable | Fabian Imhof | 1 | -3/+3 | |
| 2025-05-03 | write wrapper function for syscall | Fabian Imhof | 4 | -68/+133 | |
| 2025-05-03 | Remove zomby code and fix 32-bit compability crash | Matteo Gmür | 1 | -30/+8 | |
| 2025-05-02 | Finish implementing 8-byte GDT entries and syscall arg loads. | Matteo Gmür | 7 | -112/+124 | |
| 2025-05-01 | WIP experiment with converting GDT to 8-Byte entries | Fabian Imhof | 6 | -38/+88 | |
| 2025-04-30 | Note linux calling contract for implementation | Matteo Gmür | 1 | -1/+11 | |
| 2025-04-30 | fix cs register after sysretq | Fabian Imhof | 1 | -10/+6 | |
| 2025-04-29 | Start adding parameters to syscall | Matteo Gmür | 1 | -3/+14 | |
| 2025-04-27 | wip enable syscall | Fabian Imhof | 1 | -16/+12 | |
| 2025-04-27 | Merge branch 'feat_inital_context_switching' of ↵ | Fabian Imhof | 1 | -0/+4 | |
| ssh://gitlab.ost.ch:45022/teachos/kernel into feat_inital_context_switching | |||||
| 2025-04-27 | test different values | Fabian Imhof | 1 | -0/+9 | |
| 2025-04-27 | Add validate methods. For WIP systemcall | Matteo Gmür | 1 | -0/+4 | |
| 2025-04-27 | merge | Fabian Imhof | 1 | -1/+0 | |
| 2025-04-27 | Move not public methods into anonymous namespace | Matteo Gmür | 2 | -40/+38 | |
| 2025-04-27 | Simplify syscall setup | Matteo Gmür | 2 | -29/+12 | |
| 2025-04-27 | wip implement syscall in cpp | Fabian Imhof | 2 | -9/+54 | |
| 2025-04-27 | create trampoline for syscall | Fabian Imhof | 1 | -1/+3 | |
| 2025-04-21 | WIP syscall | Fabian Imhof | 2 | -3/+10 | |
| 2025-04-17 | Merge branch 'syscall_interrupt_handler' into feat_inital_context_switching | Fabian Imhof | 2 | -1/+9 | |
| 2025-04-17 | add syscall interrupt handler | Fabian Imhof | 2 | -1/+9 | |
| 2025-04-14 | Add stack frame allocator. Fix stl vector bug and create stl stack ↵ | Matteo Gmür | 1 | -1/+3 | |
| implementation | |||||
| 2025-04-11 | Improve initialize_descriptor_tables | Matteo Gmür | 1 | -17/+14 | |
| 2025-04-11 | Document methods and move them into kernel cpu folder | Matteo Gmür | 1 | -49/+14 | |
| 2025-04-10 | add register validation and asserts | Fabian Imhof | 1 | -3/+6 | |
| 2025-04-10 | move context_switch function and environment into different directory | Fabian Imhof | 2 | -7/+72 | |
| 2025-04-10 | Move interrupt count into seperate variable | Matteo Gmür | 1 | -3/+6 | |
| 2025-04-07 | Fix naming from jmp to call for Far Call | Matteo Gmür | 1 | -2/+2 | |
| 2025-04-05 | add wip context switch to user mode | Fabian Imhof | 1 | -2/+2 | |
| 2025-04-05 | fix segment_selector | Fabian Imhof | 1 | -1/+1 | |
| 2025-04-04 | Multiplication by two for segment selector index | Matteo Gmür | 2 | -2/+2 | |
| 2025-04-02 | fix interrupt handler and idt | Fabian Imhof | 2 | -9/+6 | |
| 2025-03-31 | Add missing flag to idt entry. | Matteo Gmür | 1 | -8/+13 | |
| 2025-03-31 | Improve create_segment readability | Matteo Gmür | 7 | -40/+60 | |
| 2025-03-31 | Clean up global descriptor table initalization | Matteo Gmür | 4 | -58/+58 | |
| 2025-03-29 | remove empty line | Fabian Imhof | 1 | -1/+0 | |
| 2025-03-29 | fix gdt segments, improve idt and trial&error for triple fault | Fabian Imhof | 5 | -22/+31 | |
| 2025-03-28 | gdt: fix reload of GDT | Felix Morgner | 3 | -17/+18 | |
| The core problems were/are the following: - The flags of the segments were not entirely correct. Please recheck them against the spec! - The GDT pointer did not contain the address of the first (null) GTD entry, but the address of the stl::vector containing the GDT entries. - The far pointer must consist of: - the address to jump to - the byte index into the GDT for the desired segement descriptor to be loaded into CS. - The type of the "dummy" function we jump to was wrong (it's a function, we should declare it as such). - We cannot enable interrupts right now, since we die with a triple fault. This is caused by some initia fault which seems to lead to a general protection fault, which then triple faults since we cannot find the IDT. Some FIXMEs have been added to the code. Please look at them carefully and compare things against the specs. | |||||
