Module: xenomai-3
Branch: master
Commit: 45689e3b46298ba1cd746851ff953b35dbba84ae
URL:    
http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=45689e3b46298ba1cd746851ff953b35dbba84ae

Author: Philippe Gerum <r...@xenomai.org>
Date:   Thu Oct 30 16:35:40 2014 +0100

cobalt/syscall: compact syscall table

---

 include/cobalt/uapi/syscall.h |  176 ++++++++++++++++++++---------------------
 1 file changed, 86 insertions(+), 90 deletions(-)

diff --git a/include/cobalt/uapi/syscall.h b/include/cobalt/uapi/syscall.h
index e907c4b..18bb358 100644
--- a/include/cobalt/uapi/syscall.h
+++ b/include/cobalt/uapi/syscall.h
@@ -30,96 +30,92 @@
 #define sc_cobalt_thread_setschedparam_ex      7
 #define sc_cobalt_thread_getschedparam_ex      8
 #define sc_cobalt_thread_getstat               9
-/* 10 unimp */
-#define sc_cobalt_sem_init                     11
-#define sc_cobalt_sem_destroy                  12
-#define sc_cobalt_sem_post                     13
-#define sc_cobalt_sem_wait                     14
-#define sc_cobalt_sem_trywait                  15
-#define sc_cobalt_sem_getvalue                 16
-#define sc_cobalt_sem_open                     17
-#define sc_cobalt_sem_close                    18
-#define sc_cobalt_sem_unlink                   19
-#define sc_cobalt_sem_timedwait                        20
-#define sc_cobalt_sem_inquire                  21
-/* 22 unimp */
-#define sc_cobalt_sem_broadcast_np             23
-#define sc_cobalt_clock_getres                 24
-#define sc_cobalt_clock_gettime                        25
-#define sc_cobalt_clock_settime                        26
-#define sc_cobalt_clock_nanosleep              27
-#define sc_cobalt_mutex_init                   28
-#define sc_cobalt_mutex_check_init             29
-#define sc_cobalt_mutex_destroy                        30
-#define sc_cobalt_mutex_lock                   31
-#define sc_cobalt_mutex_timedlock              32
-#define sc_cobalt_mutex_trylock                        33
-#define sc_cobalt_mutex_unlock                 34
-#define sc_cobalt_cond_init                    35
-#define sc_cobalt_cond_destroy                 36
-#define sc_cobalt_cond_wait_prologue           37
-#define sc_cobalt_cond_wait_epilogue           38
-#define sc_cobalt_mq_open                      39
-#define sc_cobalt_mq_close                     40
-#define sc_cobalt_mq_unlink                    41
-#define sc_cobalt_mq_getattr                   42
-/* 43 unimp */
-#define sc_cobalt_mq_timedsend                 44
-#define sc_cobalt_mq_timedreceive              45
-#define sc_cobalt_mq_notify                    46
-#define sc_cobalt_sched_minprio                        47
-#define sc_cobalt_sched_maxprio                        48
-#define sc_cobalt_sched_weightprio             49
-#define sc_cobalt_sched_yield                  50
-#define sc_cobalt_sched_setconfig_np           51
-#define sc_cobalt_sched_getconfig_np           52
-#define sc_cobalt_timer_create                 53
-#define sc_cobalt_timer_delete                 54
-#define sc_cobalt_timer_settime                        55
-#define sc_cobalt_timer_gettime                        56
-#define sc_cobalt_timer_getoverrun             57
-#define sc_cobalt_timerfd_create               58
-#define sc_cobalt_timerfd_settime              59
-#define sc_cobalt_timerfd_gettime              60
-#define sc_cobalt_sigwait                      61
-#define sc_cobalt_sigwaitinfo                  62
-#define sc_cobalt_sigtimedwait                 63
-#define sc_cobalt_sigpending                   64
-#define sc_cobalt_kill                         65
-#define sc_cobalt_sigqueue                     66
-#define sc_cobalt_monitor_init                 67
-#define sc_cobalt_monitor_destroy              68
-#define sc_cobalt_monitor_enter                        69
-#define sc_cobalt_monitor_wait                 70
-#define sc_cobalt_monitor_sync                 71
-#define sc_cobalt_monitor_exit                 72
-#define sc_cobalt_event_init                   73
-#define sc_cobalt_event_wait                   74
-#define sc_cobalt_event_sync                   75
-#define sc_cobalt_event_destroy                        76
-#define sc_cobalt_event_inquire                        77
-#define sc_cobalt_open                         78
-#define sc_cobalt_socket                       79
-#define sc_cobalt_close                                80
-#define sc_cobalt_ioctl                                81
-#define sc_cobalt_read                         82
-#define sc_cobalt_write                                83
-#define sc_cobalt_recvmsg                      84
-#define sc_cobalt_sendmsg                      85
-#define sc_cobalt_mmap                         86
-#define sc_cobalt_select                       87
-#define sc_cobalt_migrate                      88
-#define sc_cobalt_archcall                     89
-/* 90 unimp */
-#define sc_cobalt_trace                                91
-#define sc_cobalt_sysctl                       92
-#define sc_cobalt_get_current                  93
-#define sc_cobalt_mayday                       94
-#define sc_cobalt_backtrace                    95
-#define sc_cobalt_serialdbg                    96
-#define sc_cobalt_extend                       97
-#define sc_cobalt_sysconf                      98
-#define sc_cobalt_fcntl                                99
+#define sc_cobalt_sem_init                     10
+#define sc_cobalt_sem_destroy                  11
+#define sc_cobalt_sem_post                     12
+#define sc_cobalt_sem_wait                     13
+#define sc_cobalt_sem_trywait                  14
+#define sc_cobalt_sem_getvalue                 15
+#define sc_cobalt_sem_open                     16
+#define sc_cobalt_sem_close                    17
+#define sc_cobalt_sem_unlink                   18
+#define sc_cobalt_sem_timedwait                        19
+#define sc_cobalt_sem_inquire                  20
+#define sc_cobalt_sem_broadcast_np             21
+#define sc_cobalt_clock_getres                 22
+#define sc_cobalt_clock_gettime                        23
+#define sc_cobalt_clock_settime                        24
+#define sc_cobalt_clock_nanosleep              25
+#define sc_cobalt_mutex_init                   26
+#define sc_cobalt_mutex_check_init             27
+#define sc_cobalt_mutex_destroy                        28
+#define sc_cobalt_mutex_lock                   29
+#define sc_cobalt_mutex_timedlock              30
+#define sc_cobalt_mutex_trylock                        31
+#define sc_cobalt_mutex_unlock                 32
+#define sc_cobalt_cond_init                    33
+#define sc_cobalt_cond_destroy                 34
+#define sc_cobalt_cond_wait_prologue           35
+#define sc_cobalt_cond_wait_epilogue           36
+#define sc_cobalt_mq_open                      37
+#define sc_cobalt_mq_close                     38
+#define sc_cobalt_mq_unlink                    39
+#define sc_cobalt_mq_getattr                   40
+#define sc_cobalt_mq_timedsend                 41
+#define sc_cobalt_mq_timedreceive              42
+#define sc_cobalt_mq_notify                    43
+#define sc_cobalt_sched_minprio                        44
+#define sc_cobalt_sched_maxprio                        45
+#define sc_cobalt_sched_weightprio             46
+#define sc_cobalt_sched_yield                  47
+#define sc_cobalt_sched_setconfig_np           48
+#define sc_cobalt_sched_getconfig_np           49
+#define sc_cobalt_timer_create                 50
+#define sc_cobalt_timer_delete                 51
+#define sc_cobalt_timer_settime                        52
+#define sc_cobalt_timer_gettime                        53
+#define sc_cobalt_timer_getoverrun             54
+#define sc_cobalt_timerfd_create               55
+#define sc_cobalt_timerfd_settime              56
+#define sc_cobalt_timerfd_gettime              57
+#define sc_cobalt_sigwait                      58
+#define sc_cobalt_sigwaitinfo                  59
+#define sc_cobalt_sigtimedwait                 60
+#define sc_cobalt_sigpending                   61
+#define sc_cobalt_kill                         62
+#define sc_cobalt_sigqueue                     63
+#define sc_cobalt_monitor_init                 64
+#define sc_cobalt_monitor_destroy              65
+#define sc_cobalt_monitor_enter                        66
+#define sc_cobalt_monitor_wait                 67
+#define sc_cobalt_monitor_sync                 68
+#define sc_cobalt_monitor_exit                 69
+#define sc_cobalt_event_init                   70
+#define sc_cobalt_event_wait                   71
+#define sc_cobalt_event_sync                   72
+#define sc_cobalt_event_destroy                        73
+#define sc_cobalt_event_inquire                        74
+#define sc_cobalt_open                         75
+#define sc_cobalt_socket                       76
+#define sc_cobalt_close                                77
+#define sc_cobalt_ioctl                                78
+#define sc_cobalt_read                         79
+#define sc_cobalt_write                                80
+#define sc_cobalt_recvmsg                      81
+#define sc_cobalt_sendmsg                      82
+#define sc_cobalt_mmap                         83
+#define sc_cobalt_select                       84
+#define sc_cobalt_fcntl                                85
+#define sc_cobalt_migrate                      86
+#define sc_cobalt_archcall                     87
+#define sc_cobalt_trace                                88
+#define sc_cobalt_sysctl                       89
+#define sc_cobalt_get_current                  90
+#define sc_cobalt_mayday                       91
+#define sc_cobalt_backtrace                    92
+#define sc_cobalt_serialdbg                    93
+#define sc_cobalt_extend                       94
+#define sc_cobalt_sysconf                      95
 
 #define __NR_COBALT_SYSCALLS                   128 /* Power of 2 */
 


_______________________________________________
Xenomai-git mailing list
Xenomai-git@xenomai.org
http://www.xenomai.org/mailman/listinfo/xenomai-git

Reply via email to