Commit Graph

50 Commits

Author SHA1 Message Date
28c95303e9 Fix PIC, add small delays when initializing 2025-11-18 23:27:49 +01:00
4fb5448dd9 Change order of sending EOI to PIC, works with -enable-kvm now 2025-11-18 16:56:28 +01:00
2a0dddead3 Fix interrupts not working with -enable-kvm 2025-11-18 14:20:46 +01:00
77b5a4a153 Modularize interrupt handlers, split up scheduler and PIT interrupt handlers 2025-11-17 01:08:23 +01:00
f2b7c5da57 Avoid deadlock in proc_killself() 2025-11-17 00:52:25 +01:00
4fe907a733 Clean up PS/2 keyboard driver, new IPC mechanism MBus (message bus) 2025-11-11 23:10:38 +01:00
07fc8a5562 Remove sched_ticks, move proc_reaper() out to proc_tick() function 2025-11-11 22:07:58 +01:00
566b35f4d5 Big code refactor, get rid of HAL entirely 2025-11-11 21:26:27 +01:00
344952fb5f Move string functions/utils from HAL to std/string 2025-11-11 19:54:09 +01:00
1f793f287f Clean up kernel/proc, remove devs_spinlock, remove PROC_DIE() macro 2025-11-11 00:32:09 +01:00
26e5d92947 Use hal_memcpy to propagate new proc interrupt frame 2025-11-10 20:25:55 +01:00
e4a5c07b3d Change proc state under held spinlock 2025-11-08 21:40:15 +01:00
9612e7961e No networking for now 2025-11-02 18:31:51 +01:00
4417141216 Implement ipc_netsockdelete() syscall and automatic dangling socket cleanup 2025-10-29 21:21:35 +01:00
815c2239fe Porting PicoTCP WIP 2025-10-29 14:29:06 +01:00
1a2962de80 Track process uptime 2025-10-16 15:45:36 +02:00
01b37e41c2 Remove vobjcnt field of Proc 2025-10-14 20:07:42 +02:00
406434fed0 Break ioctl() up into smaller syscalls 2025-10-14 20:05:41 +02:00
c34a253d11 Split processctl() syscall into multiple smaller ones 2025-10-14 16:37:36 +02:00
0117080b61 Remove bcast pipes 2025-10-04 14:43:24 +02:00
20b4545cae Fix minor warnings 2025-10-03 22:41:38 +02:00
c30d2d2ea6 Remove conversions between VfsStat struct and IoctlStat struct 2025-10-03 19:55:14 +02:00
de20efa0f3 vfs Rewrite IOCTL_STAT so that it doesnt require an already open handle 2025-10-03 01:00:09 +02:00
4e8afae5fb all procs are user procs 2025-09-29 21:32:07 +02:00
20a89502c0 Remove kernel procs 2025-09-29 21:27:46 +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
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
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
2f9f4d9397 Userspace dlmalloc port, supporting syscalls mman_map()/mman_unmap() 2025-09-10 21:52:01 +02:00
91c493c818 processctl() PCTL_SPAWN cmd, scheduler embryo state, redirected pipes 2025-09-10 01:11:22 +02:00
1029db6342 Rename event pipes to broadcast pipes 2025-09-09 17:52:19 +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
0cbf308d95 Implement a kernel process 2025-09-06 17:13:52 +02:00
cd0e262e56 Simple IPC with pipes 2025-09-06 11:47:01 +02:00
b89882e1cf VFS object auto cleanup 2025-09-06 09:31:05 +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
afa4d383e0 Redesign the VFS 2025-09-03 17:32:08 +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