feat: add userspace system logging, rename klog to syslog, rename relevant syscalls and API functions

This commit is contained in:
2026-08-14 18:37:27 +02:00
parent 8e45d43116
commit 724029cacb
26 changed files with 139 additions and 52 deletions
+2 -2
View File
@@ -428,8 +428,8 @@ namespace montauk {
}
// Kernel log
inline int64_t read_klog(char* buf, uint64_t size) {
return syscall2(montauk::abi::SYS_KLOG, (uint64_t)buf, size);
inline int64_t read_log(char* buf, uint64_t size) {
return syscall2(montauk::abi::SYS_LOG, (uint64_t)buf, size);
}
// I/O redirection