Commit Graph

54 Commits

Author SHA1 Message Date
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
1f93e8db13 Reduce proc stack size to 1M 2025-11-10 18:48:47 +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
8a1d42896c Decrease user process stack size to 4MiB 2025-10-17 00:04:10 +02: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
5af7c5276a kernel Use canonical addresses for proc mmap base and stack top 2025-09-22 16:19:16 +02:00
397379bca3 Rework requesting process arguments 2025-09-21 22:50:39 +02:00
475f77d30f Rewrite LL_* (link list) macros 2025-09-21 18:32:22 +02:00
0c65bd9891 Rewrite ps2kbproc, rbuf (kernel ring buffer) and pipe read/write, Change to -O0 in kernel code 2025-09-20 16:50:40 +02:00
a1b3d4efa4 TODO figure out why schedrelease() messes with terminal proc's ring buffer 2025-09-20 01:19:20 +02:00
1af0d1f5bc Use uint8_t for keyboard chars 2025-09-19 21:00:33 +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
c4c26e0e19 Fix ps2 keyboard handling 2025-09-09 21:43:05 +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
fb5e88a175 Simple file IO with the ioctl syscall 2025-09-05 19:56:27 +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