Xenomai  3.1
syscall32-table.h
1 /*
2  * Copyright (C) 2014 Philippe Gerum <rpm@xenomai.org>.
3  *
4  * Xenomai is free software; you can redistribute it and/or modify
5  * it under the terms of the GNU General Public License as published
6  * by the Free Software Foundation; either version 2 of the License,
7  * or (at your option) any later version.
8  *
9  * Xenomai is distributed in the hope that it will be useful, but
10  * WITHOUT ANY WARRANTY; without even the implied warranty of
11  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12  * General Public License for more details.
13  *
14  * You should have received a copy of the GNU General Public License
15  * along with Xenomai; if not, write to the Free Software
16  * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
17  * 02111-1307, USA.
18  */
19 #ifndef _COBALT_X86_ASM_SYSCALL32_TABLE_H
20 #define _COBALT_X86_ASM_SYSCALL32_TABLE_H
21 
22 /*
23  * CAUTION: This file is read verbatim into the main syscall
24  * table. Only preprocessor stuff and syscall entries here.
25  */
26 
27 __COBALT_CALL32emu_THUNK(thread_create)
28 __COBALT_CALL32emu_THUNK(thread_setschedparam_ex)
29 __COBALT_CALL32emu_THUNK(thread_getschedparam_ex)
30 __COBALT_CALL32emu_THUNK(thread_setschedprio)
31 __COBALT_CALL32emu_THUNK(sem_open)
32 __COBALT_CALL32x_THUNK(sem_open)
33 __COBALT_CALL32emu_THUNK(sem_timedwait)
34 __COBALT_CALL32emu_THUNK(clock_getres)
35 __COBALT_CALL32emu_THUNK(clock_gettime)
36 __COBALT_CALL32emu_THUNK(clock_settime)
37 __COBALT_CALL32emu_THUNK(clock_nanosleep)
38 __COBALT_CALL32emu_THUNK(mutex_timedlock)
39 __COBALT_CALL32emu_THUNK(cond_wait_prologue)
40 __COBALT_CALL32emu_THUNK(mq_open)
41 __COBALT_CALL32x_THUNK(mq_open)
42 __COBALT_CALL32emu_THUNK(mq_getattr)
43 __COBALT_CALL32x_THUNK(mq_getattr)
44 __COBALT_CALL32emu_THUNK(mq_timedsend)
45 __COBALT_CALL32emu_THUNK(mq_timedreceive)
46 __COBALT_CALL32x_pure_THUNK(mq_timedreceive)
47 __COBALT_CALL32emu_THUNK(mq_notify)
48 __COBALT_CALL32x_THUNK(mq_notify)
49 __COBALT_CALL32emu_THUNK(sched_weightprio)
50 __COBALT_CALL32emu_THUNK(sched_setconfig_np)
51 __COBALT_CALL32emu_THUNK(sched_getconfig_np)
52 __COBALT_CALL32emu_THUNK(sched_setscheduler_ex)
53 __COBALT_CALL32emu_THUNK(sched_getscheduler_ex)
54 __COBALT_CALL32emu_THUNK(timer_create)
55 __COBALT_CALL32x_THUNK(timer_create)
56 __COBALT_CALL32emu_THUNK(timer_settime)
57 __COBALT_CALL32emu_THUNK(timer_gettime)
58 __COBALT_CALL32emu_THUNK(timerfd_settime)
59 __COBALT_CALL32emu_THUNK(timerfd_gettime)
60 __COBALT_CALL32emu_THUNK(sigwait)
61 __COBALT_CALL32x_THUNK(sigwait)
62 __COBALT_CALL32emu_THUNK(sigtimedwait)
63 __COBALT_CALL32x_THUNK(sigtimedwait)
64 __COBALT_CALL32emu_THUNK(sigwaitinfo)
65 __COBALT_CALL32x_THUNK(sigwaitinfo)
66 __COBALT_CALL32emu_THUNK(sigpending)
67 __COBALT_CALL32x_THUNK(sigpending)
68 __COBALT_CALL32emu_THUNK(sigqueue)
69 __COBALT_CALL32x_THUNK(sigqueue)
70 __COBALT_CALL32emu_THUNK(monitor_wait)
71 __COBALT_CALL32emu_THUNK(event_wait)
72 __COBALT_CALL32emu_THUNK(select)
73 __COBALT_CALL32x_THUNK(select)
74 __COBALT_CALL32emu_THUNK(recvmsg)
75 __COBALT_CALL32x_THUNK(recvmsg)
76 __COBALT_CALL32emu_THUNK(sendmsg)
77 __COBALT_CALL32x_THUNK(sendmsg)
78 __COBALT_CALL32emu_THUNK(mmap)
79 __COBALT_CALL32x_THUNK(mmap)
80 __COBALT_CALL32emu_THUNK(backtrace)
81 __COBALT_CALL32x_THUNK(backtrace)
82 
83 #endif /* !_COBALT_X86_ASM_SYSCALL32_TABLE_H */
ssize_t sched_getconfig_np(int cpu, int policy, union sched_config *config, size_t *len_r)
Retrieve CPU-specific scheduler settings for a policy
Definition: sched.c:630
int timer_create(clockid_t clockid, const struct sigevent *__restrict__ evp, timer_t *__restrict__ timerid)
Create a timer
Definition: timer.c:75
int clock_getres(clockid_t clock_id, struct timespec *tp)
Get the resolution of the specified clock.
Definition: clock.c:101
int mq_getattr(mqd_t qd, struct mq_attr *attr)
Get message queue attributes
Definition: mq.c:226
int timer_gettime(timer_t timerid, struct itimerspec *value)
Get timer next expiration date and reload value.
Definition: timer.c:212
int sched_setscheduler_ex(pid_t pid, int policy, const struct sched_param_ex *param_ex)
Set extended scheduling policy of a process
Definition: sched.c:294
int timer_settime(timer_t timerid, int flags, const struct itimerspec *__restrict__ value, struct itimerspec *__restrict__ ovalue)
Start or stop a timer
Definition: timer.c:168
int mq_notify(mqd_t q, const struct sigevent *evp)
Enable notification on message arrival
Definition: mq.c:576
int clock_settime(clockid_t clock_id, const struct timespec *tp)
Set the specified clock.
Definition: clock.c:239
int mq_timedsend(mqd_t q, const char *buffer, size_t len, unsigned prio, const struct timespec *timeout)
Attempt, during a bounded time, to send a message to a message queue.
Definition: mq.c:393
int sched_getscheduler_ex(pid_t pid, int *policy_r, struct sched_param_ex *param_ex)
Get extended scheduling policy of a process
Definition: sched.c:411
mqd_t mq_open(const char *name, int oflags,...)
Open a message queue
Definition: mq.c:105
ssize_t mq_timedreceive(mqd_t q, char *__restrict__ buffer, size_t len, unsigned *__restrict__ prio, const struct timespec *__restrict__ timeout)
Attempt, during a bounded time, to receive a message from a message queue.
Definition: mq.c:518
int clock_gettime(clockid_t clock_id, struct timespec *tp)
Read the specified clock.
Definition: clock.c:183
int clock_nanosleep(clockid_t clock_id, int flags, const struct timespec *rqtp, struct timespec *rmtp)
Sleep some amount of time.
Definition: clock.c:311
int sem_timedwait(sem_t *sem, const struct timespec *abs_timeout)
Attempt to decrement a semaphore with a time limit
Definition: semaphore.c:371
int sched_setconfig_np(int cpu, int policy, const union sched_config *config, size_t len)
Set CPU-specific scheduler settings for a policy
Definition: sched.c:572