git.cappig.dev / apheleiaOS.git master

4d22b9bc9e28516b8228122ac16b2e69177d8f10 master
cappig <[email protected]> ยท 4 months ago
Move userspace to /bin, input fixes, new programs

* Migrate all userspace binaries from /sbin to /bin
* Fix terminal modifier tracking to prevent stuck keys on focus
  switch, add printf() to userspace libc
* Add Mandelbrot set viewer (mbrot)
* Improve TSC calibration with median of 5 samples, fix PMM to
  report usable RAM instead of address span
* Clean up fetch output formatting, signal window owners on WM
  teardown
22 files changed, 496 insertions, 78 deletions
kernel/arch/x86/build/build.mk +3 -3
kernel/arch/x86/e820.c +2 -0
kernel/arch/x86/mm/physical.c +1 -1
kernel/arch/x86/tsc.c +46 -12
kernel/sys/init.c +3 -3
kernel/sys/ws.c +40 -2
libs/alloc/bitmap.h +1 -0
libs/libc/stdio.h +2 -0
libs/libc_usr/stdio.c created
libs/libc_usr/stdlib.c +0 -3
root/etc/passwd +2 -2
root/home/user/hello.sh +1 -1
user/build.mk +1 -1
user/fetch/main.c +60 -17
user/getty/main.c +1 -1
user/init/main.c +3 -3
user/login/main.c +1 -1
user/mbrot/main.c created
user/sh/complete.c +2 -2
user/sh/main.c +3 -3
user/term/term_pty.c +5 -21
user/wm/wm_loop.c +2 -2