initial razzle
This commit is contained in:
commit
cd3d8871df
29 changed files with 1986 additions and 0 deletions
8
arch/i386/syscall.c
Normal file
8
arch/i386/syscall.c
Normal file
|
@ -0,0 +1,8 @@
|
|||
#pragma once
|
||||
|
||||
#define INVOKE_SYSCALL(syscall_num) \
|
||||
__asm__ volatile("movl %0, %%eax;" \
|
||||
"int $0x80;" \
|
||||
: \
|
||||
: "r"(syscall_num) \
|
||||
: "%eax")
|
Loading…
Add table
Add a link
Reference in a new issue