From 16241aafa780ebf188b2ceb96d51bf5af5d6bbe2 Mon Sep 17 00:00:00 2001 From: aqua Date: Sun, 4 Dec 2022 16:25:08 +0200 Subject: Remove custom include paths in makefiles Add symlinks target to top-level makefile --- i686/sys/syscall.h | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 i686/sys/syscall.h (limited to 'i686/sys') 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; +} -- cgit v1.2.1