Subversion Repositories HelenOS-historic

Rev

Rev 712 | Rev 825 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 712 Rev 714
Line 114... Line 114...
114
void syscall(int n, void *st)
114
void syscall(int n, void *st)
115
{
115
{
116
    __native *stack = (__native *) st;
116
    __native *stack = (__native *) st;
117
   
117
   
118
    if (stack[-2] < SYSCALL_END)
118
    if (stack[-2] < SYSCALL_END)
119
        syscall_table[stack[-2]](stack[-5], stack[-3], stack[-4]);
119
        stack[-2] = syscall_table[stack[-2]](stack[-5], stack[-3], stack[-4]);
120
    else
120
    else
121
        panic("Undefined syscall %d", stack[-2]);
121
        panic("Undefined syscall %d", stack[-2]);
122
}
122
}
123
 
123
 
124
void tlb_shootdown_ipi(int n, void *stack)
124
void tlb_shootdown_ipi(int n, void *stack)