Commit Graph

52 Commits

Author SHA1 Message Date
7015bc9576 Decouple I/O from HAL 2025-11-11 19:59:01 +01:00
344952fb5f Move string functions/utils from HAL to std/string 2025-11-11 19:54:09 +01:00
5c02d4d44a Fix distingishing kernel/user mode cpu exceptions 2025-11-10 18:35:46 +01:00
0f93aa2a81 Implement schedsleep() syscall to sleep a process for a given time 2025-11-02 16:46:37 +01:00
9ccc6751e3 Use CS register to detect kernel code vs. user code in case of an exception 2025-11-02 00:46:31 +01:00
a5fe64b253 Pass implicit PID into syscalls 2025-10-18 12:10:59 +02:00
48231931bd Improve ipcpipe locking 2025-10-15 23:26:14 +02:00
0c3250e8d6 Remove/fix unused stuff and other warnings 2025-10-14 20:20:41 +02:00
25cb309105 Implement an ATA driver, Add vfsmount/vfsunmount syscalls 2025-10-14 00:39:59 +02:00
cb9e15330e Increate kernel stack size 2025-10-12 19:02:41 +02:00
b717387adb Implement random number generation with x86 rdrand 2025-10-11 21:36:33 +02:00
e9838d530f Rearchitecture PS2KB driver using event buffers 2025-10-05 19:48:15 +02:00
933083ffeb HAL clean up, remove uACPI 2025-10-05 00:13:38 +02:00
20b4545cae Fix minor warnings 2025-10-03 22:41:38 +02:00
d7562b98c1 Rewrite PS2KB using the new devctl interface 2025-09-28 23:25:43 +02:00
3b1bb9d531 WIP 2 2025-09-27 15:16:26 +02:00
475f77d30f Rewrite LL_* (link list) macros 2025-09-21 18:32:22 +02:00
83a28bd25b Clean up HAL VMM 2025-09-21 13:26:05 +02:00
dcc68154b2 Make syscalls accept their interrupt frame, remove useless intr_eoi() param 2025-09-20 00:28:28 +02:00
1b5701a659 schedrelease() syscall for more efficient spinning 2025-09-19 23:38:08 +02:00
1af0d1f5bc Use uint8_t for keyboard chars 2025-09-19 21:00:33 +02:00
4cedfda19b Fix some keyboard keypressed still being missed 2025-09-19 20:03:36 +02:00
024a5b2e21 ps2kb intr fix missed key presses by sending early EOI 2025-09-18 11:45:56 +02:00
91e65bb35a Resolve hisenbugs regarding GCC and -Os 2025-09-17 21:48:16 +02:00
0a5523f234 WIP 2025-09-15 22:35:15 +02:00
062e98d714 Fix poor VMM locking leading to subtle race conditions 2025-09-14 23:11:24 +02:00
26ff717b50 Fix dlmalloc horror bug - mman_map overwrites application code 2025-09-14 19:07:00 +02:00
dc3d80d707 Handle process arguments 2025-09-10 23:25:03 +02:00
c4c26e0e19 Fix ps2 keyboard handling 2025-09-09 21:43:05 +02:00
ab224eda8e Add special event pipes, rework ps2kb process 2025-09-08 22:12:50 +02:00
80a788617e Serial comm kernel process 2025-09-07 21:44:46 +02:00
9644ad0b4e Handle ps2 keyboard via special process 2025-09-07 20:53:36 +02:00
4f3053bc8e Handle ps2 keyboard, no APIC for now 2025-09-07 14:25:23 +02:00
f42c4b7e44 Rework shared headers 2025-09-05 17:08:40 +02:00
708c53c64d Move to new processctl syscall, share common kernel and ulib headers 2025-09-05 15:44:57 +02:00
90266f044b C userspace programs 2025-09-04 23:20:30 +02:00
8a12f23b69 Implement syscalls, hello world from userspace 2025-09-02 23:51:14 +02:00
920de10025 Move vmm fully into hal 2025-09-02 07:51:02 +02:00
2015e0e0aa Hello user process 2025-09-01 23:22:47 +02:00
13ab117b1b Timed waiting with hal_wait() 2025-08-31 00:21:17 +02:00
0273330cf4 Kernel processes / multitasking 2025-08-30 23:47:25 +02:00
60a530b900 hal x86_64 vmm minor fixes in mapping/unmapping 2025-08-30 13:41:47 +02:00
7a52f2f051 Rework x86_64 paging and vmm 2025-08-30 00:31:20 +02:00
182c6e2956 Implement PIT interrupts 2025-08-22 12:37:48 +02:00
9d8849a425 Init IOAPIC nad LAPICs 2025-08-21 00:47:58 +02:00
3f6df79885 Implement interrupts 2025-08-19 22:51:33 +02:00
92ccd189e7 Integrate uACPI 2025-08-17 18:37:57 +02:00
922fee88c7 Init IDT 2025-08-15 20:46:11 +02:00
95832bb3a7 Integrate flaterm terminal 2025-08-13 23:28:25 +02:00
95173a17bd Fix GDT parethesis warning 2025-08-10 21:38:53 +02:00