git.cappig.dev / apheleiaOS.git master

4a32fdba66dbad3b2a10c6110415c75106615316 master
cappig <[email protected]> ยท 4 months ago
Framebuffer present ioctl, version cleanup, libc improvements

* Add FBIOPRESENT ioctl with kernel-side double buffering
* Replace per-pixel blit with clipped memcpy in window manager
* Use VERSION macro from makefile in devfs and uname, read all
  fields from /dev/os instead of compile-time defines
* Replace arch-specific inline asm in memcpy/memset with portable
  word-copy loops
* Bump version to alpha-0.1
8 files changed, 109 insertions, 87 deletions
kernel/sys/devfs.c +5 -1
kernel/sys/framebuffer_dev.c +52 -0
libs/libc/string.c +25 -6
libs/libc/sys/ioctl.h +1 -0
makefile +1 -1
user/uname/main.c +4 -16
user/wm/wm_loop.c +8 -58
user/wm/wm_state.c +13 -5