Add correct sleep which works now because interrupts are re-enabled

using sti in syscalls, remove a bunch of old imports and code, move
keyboard scancode handling to keyboard.rs, add a new KeyboardEvent based
layout where press/release and unicode is handled, add a kbd_read
syscall which writes kbd events to a userspace buffer, add a usercopy
file which provides safe copying functions to userspace
This commit is contained in:
csd4ni3l
2026-04-10 12:48:00 +02:00
parent d60f80c8a4
commit c81bed2a4e
22 changed files with 198 additions and 126 deletions

View File

@@ -1,6 +1,6 @@
#include "../src/stdio.h"
#include "../../libxunil/include/stdio.h"
void _start() {
write(0, "Hello, World!", 13);
int main(int argc, char **argv) {
printf("%s\n", "Hello, world!");
exit(0);
}