Commit Graph

49 Commits

Author SHA1 Message Date
acbf051dbc New rewritten serial driver + dev interface 2025-10-04 21:31:45 +02:00
ef9393e694 fs Add tree subcommand 2025-10-04 12:02:03 +02:00
04a4b1395c Store devices as a hashtable 2025-10-03 23:47:58 +02:00
57ba9ff126 Store device structs in a dynamic list 2025-10-03 22:25:16 +02:00
bc2b115cb3 fs Fetch file contents 2025-10-02 22:29:20 +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
fa8a774115 tb Hex/byte escapes 2025-09-29 23:18:27 +02:00
2b93d6d184 tb input from ps2kb 2025-09-28 23:26:07 +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
5c7fb3e1cf Request process arguments differently, mmap-style dlmalloc port, new linklist utils 2025-09-21 22:51:38 +02:00
d5c2df7365 ulib dlmalloc Add page-aligned increment 2025-09-21 13:26:33 +02:00
8a9687c007 ulib Make syscall() safe (add "cc" to clobbers) 2025-09-20 20:22:53 +02:00
a8005917eb ulib Add quit() utility 2025-09-20 12:20:26 +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
1b5701a659 schedrelease() syscall for more efficient spinning 2025-09-19 23:38:08 +02:00
44b5aa305c ulib Add ARG_INT type to argument parser 2025-09-19 23:06:08 +02:00
ac1cc172f7 ulib parse boolean arguments 2025-09-17 22:07:42 +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
ce63020b34 ulib dlmalloc, more eco friendly sbrk() 2025-09-15 00:33:46 +02:00
40ccb7d476 TB print hello world 2025-09-14 23:31:14 +02:00
69e23a9ca3 ioctl() IOCTL_STAT command 2025-09-14 19:30:20 +02:00
26ff717b50 Fix dlmalloc horror bug - mman_map overwrites application code 2025-09-14 19:07:00 +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
4ade9ad1a0 Move all syscalls into one file 2025-09-09 18:18:55 +02:00
ac195acd2f Rework the ioctl() syscall, clean up arguments 2025-09-09 18:12:33 +02:00
e71361dcca Nice userspace wrappers for ps2kb driver 2025-09-07 22:24:34 +02:00
b04ebd9c71 Add ANSI escape sequences library to ulib 2025-09-06 14:55:09 +02:00
97bfa178d1 Printf in userspace 2025-09-06 12:14:54 +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
c31c00e8cd Nice wrappers around ioctl() syscall 2025-09-05 23:00:57 +02:00
d399922de6 rm libulib.a 2025-09-05 21:12:13 +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
ca92a0e6a8 Remove VFS object reference counting 2025-09-05 15:10:25 +02:00
90266f044b C userspace programs 2025-09-04 23:20:30 +02:00