48 Commits

Author SHA1 Message Date
Karina caf2d2b4a8 v0.5.3: syscalls, minilibc.
- fix(gs): was a nightmare. now its solved. Both MSR_GS_BASE and MSR_KERNEL_GS_BASE are now initialized to , preventing null GS_BASE when interrupt occurs during the first kernel task run
- chore(syscall.asm): stability improvements. User RSP is now saved via kernel stack instead of global g_cpu, preventing stack theft when task switch occurs during a syscall
- feat(interrupts): all irq and isr handlers now conditionally perform swapgs based on the CS selector (checkin if comfing from ring 3)
- upgrade(scheduler): big update: 1) added TASK_BLOCKED state from process sync; 2) syncronized PID and Task ID to fix wakeup logic; 3) implemented sched_block and sched_exit() for proper wait/exit syscalls
v0.5.3
2026-01-30 07:12:57 +04:00
Karina 888bc5abdd v0.5.3-pre: refactor syscall handlers and introduce libterm
Moved handlers to syscalls/, implemented libterm (malloc, stdio)
v0.5.3-pre
2026-01-30 04:58:43 +04:00
Karina 9c103218d0 docs: readme and roadmap 2026-01-30 00:52:43 +04:00
Karina 21270a3cc8 feat: introduce HOT! executable format and Ring 3 process isolation (v0.5.2)
- Implement custom 'HOT!' binary format and Rust-based elf2hot converter.
- Upgrade kernel loader with segment-based loading and BSS zeroing.
- Refactor scheduler for Ring 3 IRET frames and fix CS/SS selector swap.
- Add user stack allocation (0x70000000) and linker scripts for binary cleanup.
v0.5.2
2026-01-30 00:12:11 +04:00
Karina 7d32444da2 feat(core): v0.5.1 - process isolation and syscalls
- Implemented CR3 switching in scheduler for process isolation

- Added 'process' structure and PML4 cloning (vmm_create_address_space)

- Added NASM crt0 and C entry point for userspace apps
v0.5.1
2026-01-29 22:28:41 +04:00
Karina 55ea8fc533 feat(userspace): userspace support
build: updated CMakeLists to build and copy to initramfs

wip(syscalls): initial syscalls

chore(ksh/kfetch): minor changes

chore(gitignore): added initramfs/*
v0.5.0
2026-01-29 21:25:45 +04:00
Karina 3f3a026432 build: officially naming the kernel "Dewar" and updating kfetch 2026-01-29 05:29:39 +04:00
Karina 8a6994ebd8 build(cmake): added TERMOS_VERSION defenition
fix(kfetch): added correct versioning in kfetch
2026-01-29 05:03:46 +04:00
Karina 3525c81d9e fix(linker): _start is now always first in binary
feat(rand): real random using rdrand/xorshift

chore(panic): added 2 more fun_messages

feat(ksh): removed rectest and added rand command

wip(ksh/kfetch): now it shows vendor string instead of stub
2026-01-29 04:44:25 +04:00
Karina d01a91c993 feat: jumping to userspace (currently only in dbg command with infinit jmp to self loop v0.4.9 2026-01-29 01:10:14 +04:00
Karina ae27f28d04 feat: basic vfs v0.4.8 2026-01-28 06:29:41 +04:00
Karina 0761153d24 feat: implement initial CPIO parsing and shell improvements
- core: added CPIO parser (fs/cpio.c) and VFS structs

- shell: refactored ksh, added 'help' command

- lib: added string utils (strcpy, strncpy, strncmp)

- wip: working on initramfs loading in kmain
2026-01-28 02:04:40 +04:00
Karina 26c0353554 feat: blinking cursor
minor changes while trying to remember what i even wrote here after month break
2026-01-24 19:26:12 +04:00
Karina 358061cd6c feat: basic scheduler; basic composer 2025-12-30 23:53:59 +04:00
Karina 9a296e4045 ref: changed ifndef -> pragma 2025-12-30 21:28:29 +04:00
Karina db9b7cdbd5 feat: heap, dbg command (currently heap test there) 2025-12-29 08:41:51 +04:00
Karina 6bfce3c866 wip: timer. sending to pc 2025-12-29 06:24:58 +04:00
Karina 0ac17ad472 feat: HHDM 2025-12-28 20:03:35 +04:00
Karina 894c513609 minor refactor; cats in ksh 2025-12-28 07:36:04 +04:00
Karina 0cf509856e im honestly dont remember 2025-12-28 04:31:59 +04:00
Karina caf4f7a055 feat: basic ksh 2025-12-28 01:47:17 +04:00
Karina 45fcf8e834 fix: backspace 2025-12-28 00:32:52 +04:00
Karina d0d025dd90 feat: kgets() 2025-12-28 00:10:18 +04:00
Karina 794dae7084 Refactor: Modular kernel structure & WIP keyboard driver
- Reorganized src/inc into arch, drivers, core, shell
- Updated CMakeLists.txt for multi-arch support
- Added basic scancode-to-ASCII mapping (US QWERTY)
- Initial KSH (Kernel Shell) skeleton
- WIP: Keyboard modifier handling
2025-12-27 22:10:24 +04:00
Karina e644bc5577 feat: irq interrupts; basic kb driver 2025-12-27 20:54:19 +04:00
Karina 664bf2e869 License; WIP: PIC 2025-12-27 17:54:34 +04:00
Karina 18b3e9cbe7 wip: pic. sending to continue on main pc 2025-12-27 17:09:14 +04:00
Karina 144ac4e581 readme? 2025-12-27 02:41:34 +04:00
Karina 3072bf5aef readme? 2025-12-27 02:40:41 +04:00
Karina 0d38c268b3 wip: saving to continue on laptop 2025-12-27 02:35:05 +04:00
Karina 0aa7086589 feat: vmm; solved rectest() issue 2025-12-26 20:14:28 +04:00
Karina 412c3bacc0 feat: pmm 2025-12-26 07:18:02 +04:00
Karina 9dafc29aa4 removed useless comments in tools/ 2025-12-24 00:24:32 +04:00
Karina 4a8dc5aad6 feat: panic messages AGAIN 2025-12-23 16:49:15 +04:00
Karina 43264eaab0 feat: and even more fun messages 2025-12-23 16:43:58 +04:00
Karina f3c1c94a61 feat: more fun messages in panic; types are not _BitInt() anymore (C's asm refused to eat that) 2025-12-23 16:30:28 +04:00
Karina 4b101ceda8 feat: new AWESOME logo by kinolenta2004 2025-12-23 16:08:44 +04:00
Karina d7da0a8046 feat: TSS with a cup of my tears; Maan i fucking HATE intel.- Implemented TSS (it works!.. mostly..) - fun messages in panic - my first issue in this os! rectest() issue! running it causes triplefault without panic i plan to resolve rectest() when i get memory manager 2025-12-23 04:16:31 +04:00
Karina e834122e08 some minor stuff; good night 2025-12-22 02:47:27 +04:00
Karina a83bd40a86 fix: 0x0x in panic 2025-12-22 00:47:49 +04:00
Karina 2c998b53e5 feat: changed font to 8x16; kfetch 2025-12-22 00:11:32 +04:00
Karina dd4155584a feat: idt, gdt. I fucking hate that. I understand like nothing. fuck intel. 2025-12-21 21:14:29 +04:00
Karina e5ce668a8a random 2025-12-21 17:45:35 +04:00
Karina 30b786c891 feat: panic, printf, logo and something i dont remember 2025-12-21 16:59:33 +04:00
Karina 1977e5b02b random changes 2025-12-21 13:57:40 +04:00
Karina 602a876fd1 fix: mirrored letter 2025-12-21 13:43:59 +04:00
Karina 626174d3d5 feat: io: serial & console 2025-12-21 13:40:52 +04:00
Karina bce8adb119 init: it boots 2025-12-21 03:49:12 +04:00