-
20a89502c0
Remove kernel procs
kamkow1
2025-09-29 21:27:46 +02:00
-
8db585f581
new terminal theme
kamkow1
2025-09-28 23:51:17 +02:00
-
e03e950879
tb Fix alias expansion
kamkow1
2025-09-28 23:27:04 +02:00
-
2b93d6d184
tb input from ps2kb
kamkow1
2025-09-28 23:26:07 +02:00
-
d7562b98c1
Rewrite PS2KB using the new devctl interface
kamkow1
2025-09-28 23:25:43 +02:00
-
f5f44da5f6
tb finally works
kamkow1
2025-09-28 22:37:03 +02:00
-
1fd6c4e221
Get rid of writefmt functions
kamkow1
2025-09-28 20:10:41 +02:00
-
96ce9233ff
umalloc fixes
kamkow1
2025-09-28 19:55:37 +02:00
-
c07a2c957b
umalloc small bug fixes
kamkow1
2025-09-27 22:58:22 +02:00
-
8d081bedb0
Ditch dlmalloc in favour of custom umalloc
kamkow1
2025-09-27 22:32:38 +02:00
-
3b1bb9d531
WIP 2
kamkow1
2025-09-27 15:16:26 +02:00
-
5af7c5276a
kernel Use canonical addresses for proc mmap base and stack top
kamkow1
2025-09-22 16:19:16 +02:00
-
5c7fb3e1cf
Request process arguments differently, mmap-style dlmalloc port, new linklist utils
kamkow1
2025-09-21 22:51:38 +02:00
-
397379bca3
Rework requesting process arguments
kamkow1
2025-09-21 22:50:39 +02:00
-
475f77d30f
Rewrite LL_* (link list) macros
kamkow1
2025-09-21 18:32:22 +02:00
-
d5c2df7365
ulib dlmalloc Add page-aligned increment
kamkow1
2025-09-21 13:26:33 +02:00
-
83a28bd25b
Clean up HAL VMM
kamkow1
2025-09-21 13:26:05 +02:00
-
3f2c35f4cb
Fix dlmalloc pointer port _last ptr alignment
kamkow1
2025-09-20 20:48:08 +02:00
-
8a9687c007
ulib Make syscall() safe (add "cc" to clobbers)
kamkow1
2025-09-20 20:22:53 +02:00
-
d50bdd0051
Use custom GCC toolchain
kamkow1
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
kamkow1
2025-09-20 16:50:40 +02:00
-
222e846881
tb Allow the user to kill current process in interactive mode (Ctrl+S)
kamkow1
2025-09-20 12:41:54 +02:00
-
a24b1fc677
diagdummy Simple dummy app for diagnostics and debugging
kamkow1
2025-09-20 12:25:02 +02:00
-
a8005917eb
ulib Add quit() utility
kamkow1
2025-09-20 12:20:26 +02:00
-
97bc0aa05b
tb Use % for builtin cmd prefix
kamkow1
2025-09-20 11:38:54 +02:00
-
6cd4c73438
tb Allow for only one consequent alias expansion
kamkow1
2025-09-20 11:13:48 +02:00
-
9694d1a5a0
Use unified header file ulib.h
kamkow1
2025-09-20 10:54:31 +02:00
-
e245ecca3c
ulib Remove machine/limits.h std/limits.h std/stdlib.h
kamkow1
2025-09-20 10:47:04 +02:00
-
3f0231be3f
tb Don't schedrelease() when reading in-pipe
kamkow1
2025-09-20 10:38:36 +02:00
-
a1b3d4efa4
TODO figure out why schedrelease() messes with terminal proc's ring buffer
kamkow1
2025-09-20 01:19:20 +02:00
-
8269e097d6
spinlock only restore RFLAGS IF flag
kamkow1
2025-09-20 00:55:18 +02:00
-
dcc68154b2
Make syscalls accept their interrupt frame, remove useless intr_eoi() param
kamkow1
2025-09-20 00:28:28 +02:00
-
81dc694a23
schedrelease() don't schedule if current interrupt frame is NULL
kamkow1
2025-09-19 23:48:30 +02:00
-
5b6408b06b
tb fix call to schedrelease()
kamkow1
2025-09-19 23:47:55 +02:00
-
b7ad1e0633
tb Spin efficiently with new schedrelease() syscall
kamkow1
2025-09-19 23:41:24 +02:00
-
1b5701a659
schedrelease() syscall for more efficient spinning
kamkow1
2025-09-19 23:38:08 +02:00
-
e01d8d5e1a
pctl ls List procs by PID
kamkow1
2025-09-19 23:06:37 +02:00
-
44b5aa305c
ulib Add ARG_INT type to argument parser
kamkow1
2025-09-19 23:06:08 +02:00
-
c94ef4d990
pctl List procs by name
kamkow1
2025-09-19 22:50:34 +02:00
-
2c0d50a401
pctl Display memory usage and process state
kamkow1
2025-09-19 22:38:39 +02:00
-
1af0d1f5bc
Use uint8_t for keyboard chars
kamkow1
2025-09-19 21:00:33 +02:00
-
504bdbd4ba
pctl More compact output of ls subcmd
kamkow1
2025-09-19 20:45:43 +02:00
-
c364dca5e5
Change terminal font and colors
kamkow1
2025-09-19 20:40:17 +02:00
-
8d0f80f821
tb Clear screen shortcut
kamkow1
2025-09-19 20:07:17 +02:00
-
4cedfda19b
Fix some keyboard keypressed still being missed
kamkow1
2025-09-19 20:03:36 +02:00
-
40b7dcedf8
tb Command aliases, preloading scripts
kamkow1
2025-09-19 19:55:35 +02:00
-
24a90b24e8
tb Handle keyboard inside of the shell interactive mode
kamkow1
2025-09-19 19:09:54 +02:00
-
d7153bf0b6
pctl display bad subcommand
kamkow1
2025-09-19 18:24:48 +02:00
-
ad56890ee9
Adopt pipe handle inheritance
kamkow1
2025-09-19 18:12:36 +02:00
-
2d7ceb4b43
Make subprocess inherit parent's pipe handles
kamkow1
2025-09-18 23:31:16 +02:00
-
4c17f26915
add PCTL_DELETE for removing pipes
kamkow1
2025-09-18 22:43:24 +02:00
-
024a5b2e21
ps2kb intr fix missed key presses by sending early EOI
kamkow1
2025-09-18 11:45:56 +02:00
-
9e9d2c5190
pctl format output as a table
kamkow1
2025-09-18 11:22:09 +02:00
-
e5e707eb54
tb running cmds in interactive mode
kamkow1
2025-09-18 00:57:24 +02:00
-
b3894f1600
Return an error code when a pipe is already present in a slot
kamkow1
2025-09-18 00:54:53 +02:00
-
b0e543177b
PS2KB driver fix right shift key
kamkow1
2025-09-18 00:48:31 +02:00
-
ba1c0eedbd
tb implement command logging
kamkow1
2025-09-17 22:07:58 +02:00
-
ac1cc172f7
ulib parse boolean arguments
kamkow1
2025-09-17 22:07:42 +02:00
-
6a8af7727e
PCTL ignore build artifacts
kamkow1
2025-09-17 21:49:04 +02:00
-
91e65bb35a
Resolve hisenbugs regarding GCC and -Os
kamkow1
2025-09-17 21:48:16 +02:00
-
0a5523f234
WIP
kamkow1
2025-09-15 22:35:15 +02:00
-
ce63020b34
ulib dlmalloc, more eco friendly sbrk()
kamkow1
2025-09-15 00:33:46 +02:00
-
40ccb7d476
TB print hello world
kamkow1
2025-09-14 23:31:14 +02:00
-
062e98d714
Fix poor VMM locking leading to subtle race conditions
kamkow1
2025-09-14 23:11:24 +02:00
-
69e23a9ca3
ioctl() IOCTL_STAT command
kamkow1
2025-09-14 19:30:20 +02:00
-
26ff717b50
Fix dlmalloc horror bug - mman_map overwrites application code
kamkow1
2025-09-14 19:07:00 +02:00
-
e6891b39cc
Parsing commandline arguments
kamkow1
2025-09-13 15:43:31 +02:00
-
dc3d80d707
Handle process arguments
kamkow1
2025-09-10 23:25:03 +02:00
-
2f9f4d9397
Userspace dlmalloc port, supporting syscalls mman_map()/mman_unmap()
kamkow1
2025-09-10 21:52:01 +02:00
-
91c493c818
processctl() PCTL_SPAWN cmd, scheduler embryo state, redirected pipes
kamkow1
2025-09-10 01:11:22 +02:00
-
c4c26e0e19
Fix ps2 keyboard handling
kamkow1
2025-09-09 21:43:05 +02:00
-
3b42abc027
Temporary mountpoint (temp)
kamkow1
2025-09-09 19:38:39 +02:00
-
71be9c5fb3
Use uprintf instead of debugprint
kamkow1
2025-09-09 18:21:55 +02:00
-
4ade9ad1a0
Move all syscalls into one file
kamkow1
2025-09-09 18:18:55 +02:00
-
ac195acd2f
Rework the ioctl() syscall, clean up arguments
kamkow1
2025-09-09 18:12:33 +02:00
-
1029db6342
Rename event pipes to broadcast pipes
kamkow1
2025-09-09 17:52:19 +02:00
-
ab224eda8e
Add special event pipes, rework ps2kb process
kamkow1
2025-09-08 22:12:50 +02:00
-
94dd38d010
Set bitmap block size to page size
kamkow1
2025-09-07 22:56:00 +02:00
-
a9ac962051
Move dlmalloc outside of kernel tree
kamkow1
2025-09-07 22:48:05 +02:00
-
e71361dcca
Nice userspace wrappers for ps2kb driver
kamkow1
2025-09-07 22:24:34 +02:00
-
659f98910d
Terminal lock
kamkow1
2025-09-07 22:23:41 +02:00
-
80a788617e
Serial comm kernel process
kamkow1
2025-09-07 21:44:46 +02:00
-
9644ad0b4e
Handle ps2 keyboard via special process
kamkow1
2025-09-07 20:53:36 +02:00
-
4f3053bc8e
Handle ps2 keyboard, no APIC for now
kamkow1
2025-09-07 14:25:23 +02:00
-
0cbf308d95
Implement a kernel process
kamkow1
2025-09-06 17:13:52 +02:00
-
b04ebd9c71
Add ANSI escape sequences library to ulib
kamkow1
2025-09-06 14:55:09 +02:00
-
97bfa178d1
Printf in userspace
kamkow1
2025-09-06 12:14:54 +02:00
-
cd0e262e56
Simple IPC with pipes
kamkow1
2025-09-06 11:47:01 +02:00
-
643d692259
Remove PID_SELF_MAGIC constant
kamkow1
2025-09-06 09:50:04 +02:00
-
3b18f56376
Fix holding spinlocks for too long
kamkow1
2025-09-06 09:35:31 +02:00
-
b89882e1cf
VFS object auto cleanup
kamkow1
2025-09-06 09:31:05 +02:00
-
c31c00e8cd
Nice wrappers around ioctl() syscall
kamkow1
2025-09-05 23:00:57 +02:00
-
d399922de6
rm libulib.a
kamkow1
2025-09-05 21:12:13 +02:00
-
fb5e88a175
Simple file IO with the ioctl syscall
kamkow1
2025-09-05 19:56:27 +02:00
-
f42c4b7e44
Rework shared headers
kamkow1
2025-09-05 17:08:40 +02:00
-
708c53c64d
Move to new processctl syscall, share common kernel and ulib headers
kamkow1
2025-09-05 15:44:57 +02:00
-
ca92a0e6a8
Remove VFS object reference counting
kamkow1
2025-09-05 15:10:25 +02:00
-
90266f044b
C userspace programs
kamkow1
2025-09-04 23:20:30 +02:00
-
afa4d383e0
Redesign the VFS
kamkow1
2025-09-03 17:32:08 +02:00
-
8a12f23b69
Implement syscalls, hello world from userspace
kamkow1
2025-09-02 23:51:14 +02:00