#include <agnix/agnix.h>#include <agnix/init.h>#include <agnix/linkage.h>#include <agnix/unistd.h>#include <agnix/tasks.h>#include <agnix/syscalls.h>#include <agnix/console.h>Include dependency graph for syscalls.c:

Go to the source code of this file.
Functions | |
| asmlinkage void | syscall_irq (struct regs_s regs) |
Variables | |
| tss_wrap_s | init_tss [MAX_TASKS] |
| tss_s * | syscall_tss |
| int(* | syscall_table [0xFF])(struct regs_s *regs) |
|
|
Definition at line 159 of file syscalls.c. References syscall_table. 00160 {
00161 u32 function;
00162 int ret;
00163
00164 function = regs.eax;
00165
00166 if (syscall_table[function] != 0) {
00167 ret = syscall_table[function](®s);
00168 regs.eax = (u32)ret;
00169 }
00170 }
|
|
|
Referenced by task_kernel_create(), task_switch(), and tasks_init(). |
|
|
Definition at line 25 of file syscalls.c. Referenced by syscall_irq(). |
|
|
Definition at line 29 of file init_task.c. |