Subversion Repositories HelenOS-historic

Rev

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

Rev 955 Rev 959
Line 61... Line 61...
61
    write_msr(AMD_MSR_SFMASK, 0x200);
61
    write_msr(AMD_MSR_SFMASK, 0x200);
62
}
62
}
63
 
63
 
64
/** Dispatch system call */
64
/** Dispatch system call */
65
__native syscall_handler(__native a1, __native a2, __native a3,
65
__native syscall_handler(__native a1, __native a2, __native a3,
66
             __native id)
66
             __native a4, __native id)
67
{
67
{
68
    if (id < SYSCALL_END)
68
    if (id < SYSCALL_END)
69
        return syscall_table[id](a1,a2,a3);
69
        return syscall_table[id](a1,a2,a3,a4);
70
    else
70
    else
71
        panic("Undefined syscall %d", id);
71
        panic("Undefined syscall %d", id);
72
}
72
}