Xenomai  3.0.8
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(sem_open)
31 __COBALT_CALL32x_THUNK(sem_open)
32 __COBALT_CALL32emu_THUNK(sem_timedwait)
33 __COBALT_CALL32emu_THUNK(clock_getres)
34 __COBALT_CALL32emu_THUNK(clock_gettime)
35 __COBALT_CALL32emu_THUNK(clock_settime)
36 __COBALT_CALL32emu_THUNK(clock_nanosleep)
37 __COBALT_CALL32emu_THUNK(mutex_timedlock)
38 __COBALT_CALL32emu_THUNK(cond_wait_prologue)
39 __COBALT_CALL32emu_THUNK(mq_open)
40 __COBALT_CALL32x_THUNK(mq_open)
41 __COBALT_CALL32emu_THUNK(mq_getattr)
42 __COBALT_CALL32x_THUNK(mq_getattr)
43 __COBALT_CALL32emu_THUNK(mq_timedsend)
44 __COBALT_CALL32emu_THUNK(mq_timedreceive)
45 __COBALT_CALL32x_pure_THUNK(mq_timedreceive)
46 __COBALT_CALL32emu_THUNK(mq_notify)
47 __COBALT_CALL32x_THUNK(mq_notify)
48 __COBALT_CALL32emu_THUNK(sched_weightprio)
49 __COBALT_CALL32emu_THUNK(sched_setconfig_np)
50 __COBALT_CALL32emu_THUNK(sched_getconfig_np)
51 __COBALT_CALL32emu_THUNK(sched_setscheduler_ex)
52 __COBALT_CALL32emu_THUNK(sched_getscheduler_ex)
53 __COBALT_CALL32emu_THUNK(timer_create)
54 __COBALT_CALL32x_THUNK(timer_create)
55 __COBALT_CALL32emu_THUNK(timer_settime)
56 __COBALT_CALL32emu_THUNK(timer_gettime)
57 __COBALT_CALL32emu_THUNK(timerfd_settime)
58 __COBALT_CALL32emu_THUNK(timerfd_gettime)
59 __COBALT_CALL32emu_THUNK(sigwait)
60 __COBALT_CALL32x_THUNK(sigwait)
61 __COBALT_CALL32emu_THUNK(sigtimedwait)
62 __COBALT_CALL32x_THUNK(sigtimedwait)
63 __COBALT_CALL32emu_THUNK(sigwaitinfo)
64 __COBALT_CALL32x_THUNK(sigwaitinfo)
65 __COBALT_CALL32emu_THUNK(sigpending)
66 __COBALT_CALL32x_THUNK(sigpending)
67 __COBALT_CALL32emu_THUNK(sigqueue)
68 __COBALT_CALL32x_THUNK(sigqueue)
69 __COBALT_CALL32emu_THUNK(monitor_wait)
70 __COBALT_CALL32emu_THUNK(event_wait)
71 __COBALT_CALL32emu_THUNK(select)
72 __COBALT_CALL32x_THUNK(select)
73 __COBALT_CALL32emu_THUNK(recvmsg)
74 __COBALT_CALL32x_THUNK(recvmsg)
75 __COBALT_CALL32emu_THUNK(sendmsg)
76 __COBALT_CALL32x_THUNK(sendmsg)
77 __COBALT_CALL32emu_THUNK(mmap)
78 __COBALT_CALL32x_THUNK(mmap)
79 __COBALT_CALL32emu_THUNK(backtrace)
80 __COBALT_CALL32x_THUNK(backtrace)
81 
82 #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:598
int timer_create(clockid_t clockid, const struct sigevent *__restrict__ evp, timer_t *__restrict__ timerid)
Create a timer.
Definition: timer.c:74
int clock_getres(clockid_t clock_id, struct timespec *tp)
Get the resolution of the specified clock.
Definition: clock.c:100
int mq_getattr(mqd_t qd, struct mq_attr *attr)
Get message queue attributes.
Definition: mq.c:222
int timer_gettime(timer_t timerid, struct itimerspec *value)
Get timer next expiration date and reload value.
Definition: timer.c:208
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:279
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:165
int mq_notify(mqd_t q, const struct sigevent *evp)
Enable notification on message arrival.
Definition: mq.c:566
int clock_settime(clockid_t clock_id, const struct timespec *tp)
Set the specified clock.
Definition: clock.c:236
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:386
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:382
mqd_t mq_open(const char *name, int oflags,...)
Open a message queue.
Definition: mq.c:104
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:509
int clock_gettime(clockid_t clock_id, struct timespec *tp)
Read the specified clock.
Definition: clock.c:181
int clock_nanosleep(clockid_t clock_id, int flags, const struct timespec *rqtp, struct timespec *rmtp)
Sleep some amount of time.
Definition: clock.c:291
int sem_timedwait(sem_t *sem, const struct timespec *abs_timeout)
Attempt to decrement a semaphore with a time limit.
Definition: semaphore.c:365
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:541