git://scm.lunaixsky.com
/
lunaix-os.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Multiuser, Capabilities and Access Controls (#54)
[lunaix-os.git]
/
lunaix-os
/
arch
/
x86
/
syscall_lut.S
1
#define __ASM__
2
#include <lunaix/syscall.h>
3
4
#ifdef CONFIG_ARCH_X86_64
5
# define SYSCALL .8byte
6
# define SIZE 8
7
#else
8
# define SIZE 4
9
# define SYSCALL .4byte
10
#endif
11
12
.section .data
13
.global __syscall_table
14
__syscall_table:
15
1:
16
#include "syscall_nr.inc"
17
2:
18
.rept __SYSCALL_MAX - (2b - 1b) / SIZE
19
.long 0
20
.endr