git://scm.lunaixsky.com
/
lunaix-os.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
feat: standard vga support (mode switching, framebuffer remapping)
[lunaix-os.git]
/
lunaix-os
/
includes
/
lunaix
/
syscall.h
diff --git
a/lunaix-os/includes/lunaix/syscall.h
b/lunaix-os/includes/lunaix/syscall.h
index 919f93a0c2efdf748d94af1ea055dddae86286db..1b9778f79b2a783e09b2509ab908a9a2bdbb637b 100644
(file)
--- a/
lunaix-os/includes/lunaix/syscall.h
+++ b/
lunaix-os/includes/lunaix/syscall.h
@@
-1,16
+1,12
@@
#ifndef __LUNAIX_SYSCALL_H
#define __LUNAIX_SYSCALL_H
#ifndef __LUNAIX_SYSCALL_H
#define __LUNAIX_SYSCALL_H
-#include <arch/i386/vectors.h>
#include <usr/lunaix/syscallid.h>
#ifndef __ASM__
#define SYSCALL_ESTATUS(errno) -((errno) != 0)
#include <usr/lunaix/syscallid.h>
#ifndef __ASM__
#define SYSCALL_ESTATUS(errno) -((errno) != 0)
-void
-syscall_install();
-
#define asmlinkage __attribute__((regparm(0)))
#define __PARAM_MAP1(t1, p1) t1 p1
#define asmlinkage __attribute__((regparm(0)))
#define __PARAM_MAP1(t1, p1) t1 p1
@@
-40,9
+36,5
@@
syscall_install();
asmlinkage rettype __lxsys_##name( \
__PARAM_MAP5(t1, p1, t2, p2, t3, p3, t4, p4, t5, p5))
asmlinkage rettype __lxsys_##name( \
__PARAM_MAP5(t1, p1, t2, p2, t3, p3, t4, p4, t5, p5))
-#define __SYSCALL_INTERRUPTIBLE(code) \
- asm("sti"); \
- { code }; \
- asm("cli");
#endif
#endif /* __LUNAIX_SYSCALL_H */
#endif
#endif /* __LUNAIX_SYSCALL_H */