X-Git-Url: https://scm.lunaixsky.com/lunaix-os.git/blobdiff_plain/b91be0033265b5b6bd716bd39cb0971da41906c4..8b8f49b713d64065775fe538232f8639083601bd:/lunaix-os/includes/lunaix/syscall.h?ds=sidebyside diff --git a/lunaix-os/includes/lunaix/syscall.h b/lunaix-os/includes/lunaix/syscall.h index 919f93a..1b9778f 100644 --- 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 -#include #include #ifndef __ASM__ #define SYSCALL_ESTATUS(errno) -((errno) != 0) -void -syscall_install(); - #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)) -#define __SYSCALL_INTERRUPTIBLE(code) \ - asm("sti"); \ - { code }; \ - asm("cli"); #endif #endif /* __LUNAIX_SYSCALL_H */