mirror of
https://github.com/JannisHeydemann/BoredOS.git
synced 2026-05-30 10:26:59 +00:00
feature: added third_party TCC into userland
This commit is contained in:
11
src/userland/sdk/include/syscall_user.h
Normal file
11
src/userland/sdk/include/syscall_user.h
Normal file
@@ -0,0 +1,11 @@
|
||||
#ifndef SYSCALL_USER_H
|
||||
#define SYSCALL_USER_H
|
||||
|
||||
#include "syscall.h"
|
||||
#include <stddef.h>
|
||||
|
||||
static inline void sys_serial_write(const char *str) {
|
||||
syscall2(8, 0, (uint64_t)str);
|
||||
}
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user