diff options
Diffstat (limited to 'arch/i386/sys/syscall.h')
-rw-r--r-- | arch/i386/sys/syscall.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/arch/i386/sys/syscall.h b/arch/i386/sys/syscall.h new file mode 100644 index 0000000..9e62c89 --- /dev/null +++ b/arch/i386/sys/syscall.h @@ -0,0 +1,8 @@ +#pragma once + +static inline int +syscall(int number) +{ + asm volatile("int $0x80"); + return 0; +} |