/usr/include/xenomai/psos+/syscall.h is in libxenomai-dev 2.6.2.1-2ubuntu2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 | /*
* Copyright (C) 2006 Philippe Gerum <rpm@xenomai.org>.
*
* Xenomai is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* Xenomai is distributed in the hope that it will be useful, but
* WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with Xenomai; if not, write to the Free Software Foundation,
* Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/
#ifndef _PSOS_SYSCALL_H
#define _PSOS_SYSCALL_H
#ifndef __XENO_SIM__
#include <asm/xenomai/syscall.h>
#endif /* __XENO_SIM__ */
#define __psos_t_create 0
#define __psos_t_start 1
#define __psos_t_delete 2
#define __psos_t_suspend 3
#define __psos_t_resume 4
#define __psos_t_ident 5
#define __psos_t_mode 6
#define __psos_t_setpri 7
#define __psos_ev_send 8
#define __psos_ev_receive 9
#define __psos_q_create 10
#define __psos_q_delete 11
#define __psos_q_ident 12
#define __psos_q_receive 13
#define __psos_q_send 14
#define __psos_q_urgent 15
#define __psos_q_broadcast 16
#define __psos_q_vcreate 17
#define __psos_q_vdelete 18
#define __psos_q_vident 19
#define __psos_q_vreceive 20
#define __psos_q_vsend 21
#define __psos_q_vurgent 22
#define __psos_q_vbroadcast 23
#define __psos_sm_create 24
#define __psos_sm_delete 25
#define __psos_sm_ident 26
#define __psos_sm_p 27
#define __psos_sm_v 28
#define __psos_rn_create 29
#define __psos_rn_delete 30
#define __psos_rn_ident 31
#define __psos_rn_getseg 32
#define __psos_rn_retseg 33
#define __psos_rn_bind 34
#define __psos_tm_wkafter 35
#define __psos_tm_cancel 36
#define __psos_tm_evafter 37
#define __psos_tm_get 38
#define __psos_tm_set 39
#define __psos_tm_evwhen 40
#define __psos_tm_wkwhen 41
#define __psos_tm_evevery 42
/* Xenomai extension: get monotonic time (ns) */
#define __psos_tm_getm 43
/* Xenomai extension: send a Linux signal after a specified time */
#define __psos_tm_signal 44
#define __psos_as_send 45
/* Xenomai extension: get raw count of jiffies */
#define __psos_tm_getc 46
/* Xenomai internal: get hidden pthread_t identifier. */
#define __psos_t_getpth 47
#define __psos_t_setreg 48
#define __psos_t_getreg 49
#define __psos_t_getargs 50
struct psos_arg_bulk {
u_long a1;
u_long a2;
u_long a3;
u_long a4;
u_long a5;
};
#ifdef __KERNEL__
#ifdef __cplusplus
extern "C" {
#endif
int psos_syscall_init(void);
void psos_syscall_cleanup(void);
#ifdef __cplusplus
}
#endif
#endif /* __KERNEL__ */
#endif /* _PSOS_SYSCALL_H */
|