Commit Graph

146 Commits

Author SHA1 Message Date
2cfd3ee2fa ioctl() IOCTL_STAT use path instead of already open io handle 2025-10-02 23:57:38 +02:00
c345e2284e pctl Remove unnecessary header files 2025-10-02 22:33:08 +02:00
bc2b115cb3 fs Fetch file contents 2025-10-02 22:29:20 +02:00
91d648ade4 Remove % prefix for builtin commands 2025-10-01 22:50:27 +02:00
0232849994 tb Allow empty lines 2025-10-01 22:30:34 +02:00
73effcd52a tb Implement a string stack 2025-10-01 21:26:22 +02:00
62cf07afc7 ulib uprintf to pipe not termdev, ulib Add stringbuffer and linearlist, tb Capture subshell output 2025-10-01 20:08:44 +02:00
0e4a35eb86 ipcpipe Add pipe ownership guards 2025-10-01 19:57:09 +02:00
fa8a774115 tb Hex/byte escapes 2025-09-29 23:18:27 +02:00
39981fdbbf tb String escaping 2025-09-29 23:12:19 +02:00
10711f7fb3 tb Fix string tokenization bug (bad classification) 2025-09-29 22:58:40 +02:00
0fb63b4695 pctl Add kill command 2025-09-29 21:43:28 +02:00
46e52c8d48 tb %PID builtin command 2025-09-29 21:37:48 +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
8db585f581 new terminal theme 2025-09-28 23:51:17 +02:00
e03e950879 tb Fix alias expansion 2025-09-28 23:27:04 +02:00
2b93d6d184 tb input from ps2kb 2025-09-28 23:26:07 +02:00
d7562b98c1 Rewrite PS2KB using the new devctl interface 2025-09-28 23:25:43 +02:00
f5f44da5f6 tb finally works 2025-09-28 22:37:03 +02:00
1fd6c4e221 Get rid of writefmt functions 2025-09-28 20:10:41 +02:00
96ce9233ff umalloc fixes 2025-09-28 19:55:37 +02:00
c07a2c957b umalloc small bug fixes 2025-09-27 22:58:22 +02:00
8d081bedb0 Ditch dlmalloc in favour of custom umalloc 2025-09-27 22:32:38 +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
5c7fb3e1cf Request process arguments differently, mmap-style dlmalloc port, new linklist utils 2025-09-21 22:51:38 +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
d5c2df7365 ulib dlmalloc Add page-aligned increment 2025-09-21 13:26:33 +02:00
83a28bd25b Clean up HAL VMM 2025-09-21 13:26:05 +02:00
3f2c35f4cb Fix dlmalloc pointer port _last ptr alignment 2025-09-20 20:48:08 +02:00
8a9687c007 ulib Make syscall() safe (add "cc" to clobbers) 2025-09-20 20:22:53 +02:00
d50bdd0051 Use custom GCC toolchain 2025-09-20 20:07:39 +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
222e846881 tb Allow the user to kill current process in interactive mode (Ctrl+S) 2025-09-20 12:41:54 +02:00
a24b1fc677 diagdummy Simple dummy app for diagnostics and debugging 2025-09-20 12:25:02 +02:00
a8005917eb ulib Add quit() utility 2025-09-20 12:20:26 +02:00
97bc0aa05b tb Use % for builtin cmd prefix 2025-09-20 11:38:54 +02:00
6cd4c73438 tb Allow for only one consequent alias expansion 2025-09-20 11:13:48 +02:00
9694d1a5a0 Use unified header file ulib.h 2025-09-20 10:54:31 +02:00
e245ecca3c ulib Remove machine/limits.h std/limits.h std/stdlib.h 2025-09-20 10:47:04 +02:00
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
8269e097d6 spinlock only restore RFLAGS IF flag 2025-09-20 00:55:18 +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
5b6408b06b tb fix call to schedrelease() 2025-09-19 23:47:55 +02:00
b7ad1e0633 tb Spin efficiently with new schedrelease() syscall 2025-09-19 23:41:24 +02:00
1b5701a659 schedrelease() syscall for more efficient spinning 2025-09-19 23:38:08 +02:00