chore: make things more general
[lunaix-os.git] / lunaix-os / includes / lunaix / syscall.h
index 9cb77647fcad0c1839802cc934486f6d141bd21b..3a6e2eba10285ed8f84726ab543f5d40a52a0b50 100644 (file)
 void
 syscall_install();
 
 void
 syscall_install();
 
-static void*
-syscall(unsigned int callcode)
-{
-    asm volatile("int %0" ::"i"(LUNAIX_SYS_CALL), "D"(callcode) : "eax");
-}
-
 #define asmlinkage __attribute__((regparm(0)))
 
 #define __PARAM_MAP1(t1, p1) t1 p1
 #define asmlinkage __attribute__((regparm(0)))
 
 #define __PARAM_MAP1(t1, p1) t1 p1