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

Author: Philippe Gerum <r...@xenomai.org>
Date:   Tue Sep 15 11:52:08 2015 +0200

cobalt/posix: reserve syscall slots for sched_*(2) services

The intent is to run the regular rt-tests unmodified over
Cobalt. Currently Cobalt has no implementation for
sched_setscheduler(2), which causes the common cyclictest to
experience severe latencies.

---

 include/cobalt/uapi/syscall.h |   96 +++++++++++++++++++++--------------------
 1 file changed, 49 insertions(+), 47 deletions(-)

diff --git a/include/cobalt/uapi/syscall.h b/include/cobalt/uapi/syscall.h
index 6ed9132..9c2ead1 100644
--- a/include/cobalt/uapi/syscall.h
+++ b/include/cobalt/uapi/syscall.h
@@ -68,53 +68,55 @@
 #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_corectl                      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_sched_setscheduler_ex                48
+#define sc_cobalt_sched_getscheduler_ex                49
+#define sc_cobalt_sched_setconfig_np           50
+#define sc_cobalt_sched_getconfig_np           51
+#define sc_cobalt_timer_create                 52
+#define sc_cobalt_timer_delete                 53
+#define sc_cobalt_timer_settime                        54
+#define sc_cobalt_timer_gettime                        55
+#define sc_cobalt_timer_getoverrun             56
+#define sc_cobalt_timerfd_create               57
+#define sc_cobalt_timerfd_settime              58
+#define sc_cobalt_timerfd_gettime              59
+#define sc_cobalt_sigwait                      60
+#define sc_cobalt_sigwaitinfo                  61
+#define sc_cobalt_sigtimedwait                 62
+#define sc_cobalt_sigpending                   63
+#define sc_cobalt_kill                         64
+#define sc_cobalt_sigqueue                     65
+#define sc_cobalt_monitor_init                 66
+#define sc_cobalt_monitor_destroy              67
+#define sc_cobalt_monitor_enter                        68
+#define sc_cobalt_monitor_wait                 69
+#define sc_cobalt_monitor_sync                 70
+#define sc_cobalt_monitor_exit                 71
+#define sc_cobalt_event_init                   72
+#define sc_cobalt_event_wait                   73
+#define sc_cobalt_event_sync                   74
+#define sc_cobalt_event_destroy                        75
+#define sc_cobalt_event_inquire                        76
+#define sc_cobalt_open                         77
+#define sc_cobalt_socket                       78
+#define sc_cobalt_close                                79
+#define sc_cobalt_ioctl                                80
+#define sc_cobalt_read                         81
+#define sc_cobalt_write                                82
+#define sc_cobalt_recvmsg                      83
+#define sc_cobalt_sendmsg                      84
+#define sc_cobalt_mmap                         85
+#define sc_cobalt_select                       86
+#define sc_cobalt_fcntl                                87
+#define sc_cobalt_migrate                      88
+#define sc_cobalt_archcall                     89
+#define sc_cobalt_trace                                90
+#define sc_cobalt_corectl                      91
+#define sc_cobalt_get_current                  92
+#define sc_cobalt_mayday                       93
+#define sc_cobalt_backtrace                    94
+#define sc_cobalt_serialdbg                    95
+#define sc_cobalt_extend                       96
 
 #define __NR_COBALT_SYSCALLS                   128 /* Power of 2 */
 


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

Reply via email to