Commit Graph

29 Commits

Author SHA1 Message Date
3f0231be3f tb Don't schedrelease() when reading in-pipe 2025-09-20 10:38:36 +02:00
a1b3d4efa4 TODO figure out why schedrelease() messes with terminal proc's ring buffer 2025-09-20 01:19:20 +02:00
dcc68154b2 Make syscalls accept their interrupt frame, remove useless intr_eoi() param 2025-09-20 00:28:28 +02:00
81dc694a23 schedrelease() don't schedule if current interrupt frame is NULL 2025-09-19 23:48:30 +02:00
1b5701a659 schedrelease() syscall for more efficient spinning 2025-09-19 23:38:08 +02:00
2c0d50a401 pctl Display memory usage and process state 2025-09-19 22:38:39 +02:00
2d7ceb4b43 Make subprocess inherit parent's pipe handles 2025-09-18 23:31:16 +02:00
4c17f26915 add PCTL_DELETE for removing pipes 2025-09-18 22:43:24 +02:00
e5e707eb54 tb running cmds in interactive mode 2025-09-18 00:57:24 +02:00
b3894f1600 Return an error code when a pipe is already present in a slot 2025-09-18 00:54:53 +02:00
0a5523f234 WIP 2025-09-15 22:35:15 +02:00
69e23a9ca3 ioctl() IOCTL_STAT command 2025-09-14 19:30:20 +02:00
e6891b39cc Parsing commandline arguments 2025-09-13 15:43:31 +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
ac195acd2f Rework the ioctl() syscall, clean up arguments 2025-09-09 18:12:33 +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
9644ad0b4e Handle ps2 keyboard via special process 2025-09-07 20:53:36 +02:00
cd0e262e56 Simple IPC with pipes 2025-09-06 11:47:01 +02:00
643d692259 Remove PID_SELF_MAGIC constant 2025-09-06 09:50:04 +02:00
3b18f56376 Fix holding spinlocks for too long 2025-09-06 09:35:31 +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
8a12f23b69 Implement syscalls, hello world from userspace 2025-09-02 23:51:14 +02:00