/*
 * System call switch table.
 *
 * DO NOT EDIT-- this file is automatically generated.
 * created from; @DEC_COPYRIGHT@
 */

#include <unix_locks.h>
#include <sys/param.h>
#include <sys/systm.h>

#if	UNIX_LOCKS
#define	UPAR	1
#else
#define	UPAR	0
#endif

#include <sys/secdefines.h>

int	nosys();

int	memlk();
int	memunlk();
int	psx4_get_todtimer();
int	psx4_set_todtimer();
int	psx4_time_drift();
int	rt_getprio();
int	rt_setprio();
int	psx4_timer_create();
int	psx4_timer_delete();
int	psx4_sem_sleep();
int	psx4_sem_wakeup();
int	aio_init();
int	aio_transfer();
int	aio_transfer_done();
int	aio_wait();
int	aio_done();
int	aio_transfer_cancel();
int	aio_info();

#if COMPAT_43
#ifdef __STDC__
#define compat(n, name) n, 0, o##name
#define pcompat(n, name) n, 1, o##name
#define upcompat(n, name) n, UPAR, o##name

#else
#define compat(n, name) n, 0, o/**/name
#define pcompat(n, name) n, 1, o/**/name
#define upcompat(n, name) n, UPAR, o/**/name

#endif

#else /* COMPAT_43 */
#define compat(n, name) 0, 0, nosys
#define pcompat(n, name) 0, 1, nosys
#define upcompat(n, name) 0, UPAR, nosys
#endif /* COMPAT_43 */

struct sysent rt_sysent[] = {
	3, 0, memlk,			/* 0 = memlk */
	3, 0, memunlk,			/* 1 = memunlk */
	2, UPAR, psx4_get_todtimer,			/* 2 = psx4_get_todtimer */
	6, UPAR, psx4_set_todtimer,			/* 3 = psx4_set_todtimer */
	3, UPAR, psx4_time_drift,			/* 4 = psx4_time_drift */
	5, 0, rt_getprio,			/* 5 = rt_getprio */
	6, 0, rt_setprio,			/* 6 = rt_setprio */
	2, UPAR, psx4_timer_create,			/* 7 = psx4_timer_create */
	1, UPAR, psx4_timer_delete,			/* 8 = psx4_timer_delete */
	3, 0, psx4_sem_sleep,			/* 9 = psx4_sem_sleep */
	1, 0, psx4_sem_wakeup,			/* 10 = psx4_sem_wakeup */
	2, UPAR, aio_init,			/* 11 = aio_init */
	5, UPAR, aio_transfer,			/* 12 = aio_transfer */
	3, UPAR, aio_transfer_done,			/* 13 = aio_transfer_done */
	5, UPAR, aio_wait,			/* 14 = aio_wait */
	1, UPAR, aio_done,			/* 15 = aio_done */
	1, UPAR, aio_transfer_cancel,			/* 16 = aio_transfer_cancel */
	2, UPAR, aio_info,			/* 17 = aio_info */
};

int	rt_nsysent = sizeof(rt_sysent) / sizeof(rt_sysent[0]);
