feat: centralize OS version info in kernel syscall

This commit is contained in:
boreddevnl
2026-03-17 16:06:00 +01:00
parent 0491c4ad0f
commit 7b7f134e27
7 changed files with 127 additions and 12 deletions

View File

@@ -251,3 +251,7 @@ void sys_yield(void) {
syscall1(SYS_SYSTEM, SYSTEM_CMD_YIELD);
}
int sys_get_os_info(os_info_t *info) {
return (int)syscall5(SYS_SYSTEM, SYSTEM_CMD_GET_OS_INFO, (uint64_t)info, 0, 0, 0);
}