diff options
author | aqua <aqua@iserlohn-fortress.net> | 2022-12-04 16:25:08 +0200 |
---|---|---|
committer | aqua <aqua@iserlohn-fortress.net> | 2022-12-04 17:10:01 +0200 |
commit | 16241aafa780ebf188b2ceb96d51bf5af5d6bbe2 (patch) | |
tree | c41a990a838eb1bcc369fd6c2efedac6785ec99f /i686/sys | |
parent | Add FILE struct (diff) | |
download | kernel-16241aafa780ebf188b2ceb96d51bf5af5d6bbe2.tar.xz |
Remove custom include paths in makefiles
Add symlinks target to top-level makefile
Diffstat (limited to 'i686/sys')
-rw-r--r-- | i686/sys/syscall.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/i686/sys/syscall.h b/i686/sys/syscall.h new file mode 100644 index 0000000..9e62c89 --- /dev/null +++ b/i686/sys/syscall.h @@ -0,0 +1,8 @@ +#pragma once + +static inline int +syscall(int number) +{ + asm volatile("int $0x80"); + return 0; +} |