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

Author: Philippe Gerum <r...@xenomai.org>
Date:   Mon Nov 24 07:23:40 2014 +0100

native: fix user-space interrupt syscalls

Move the setup and cleanup related syscalls to secondary mode.

---

 ksrc/skins/native/syscall.c |    8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/ksrc/skins/native/syscall.c b/ksrc/skins/native/syscall.c
index 950b092..dff7f4d 100644
--- a/ksrc/skins/native/syscall.c
+++ b/ksrc/skins/native/syscall.c
@@ -4145,12 +4145,12 @@ static xnsysent_t __systab[] = {
        [__native_alarm_stop] = {&__rt_alarm_stop, __xn_exec_any},
        [__native_alarm_wait] = {&__rt_alarm_wait, __xn_exec_primary},
        [__native_alarm_inquire] = {&__rt_alarm_inquire, __xn_exec_any},
-       [__native_intr_create] = {&__rt_intr_create, __xn_exec_any},
+       [__native_intr_create] = {&__rt_intr_create, __xn_exec_lostage},
        [__native_intr_bind] = {&__rt_intr_bind, __xn_exec_conforming},
-       [__native_intr_delete] = {&__rt_intr_delete, __xn_exec_any},
+       [__native_intr_delete] = {&__rt_intr_delete, __xn_exec_lostage},
        [__native_intr_wait] = {&__rt_intr_wait, __xn_exec_primary},
-       [__native_intr_enable] = {&__rt_intr_enable, __xn_exec_any},
-       [__native_intr_disable] = {&__rt_intr_disable, __xn_exec_any},
+       [__native_intr_enable] = {&__rt_intr_enable, __xn_exec_lostage},
+       [__native_intr_disable] = {&__rt_intr_disable, __xn_exec_lostage},
        [__native_intr_inquire] = {&__rt_intr_inquire, __xn_exec_any},
        [__native_pipe_create] = {&__rt_pipe_create, __xn_exec_lostage},
        [__native_pipe_bind] = {&__rt_pipe_bind, __xn_exec_conforming},


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

Reply via email to