[Xenomai-git] Philippe Gerum : cobalt/x86: exclude %rsp from mayday fixup in long mode

2015-03-24 Thread git repository hosting
Module: xenomai-3
Branch: master
Commit: 498e4e9ef69ef7cb2ec4e6a889e3c016f218bdd9
URL:
http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=498e4e9ef69ef7cb2ec4e6a889e3c016f218bdd9

Author: Philippe Gerum r...@xenomai.org
Date:   Thu Feb 12 18:39:02 2015 +0100

cobalt/x86: exclude %rsp from mayday fixup in long mode

---

 kernel/cobalt/arch/x86/mayday.c |3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/kernel/cobalt/arch/x86/mayday.c b/kernel/cobalt/arch/x86/mayday.c
index 62c5eea..22a9196 100644
--- a/kernel/cobalt/arch/x86/mayday.c
+++ b/kernel/cobalt/arch/x86/mayday.c
@@ -204,11 +204,12 @@ void xnarch_fixup_mayday(struct xnarchtcb *tcb, struct 
pt_regs *regs)
test_thread_flag(TIF_IA32)) {
regs-ip = tcb-mayday.ip;
regs-ax = tcb-mayday.ax;
+   regs-sp = tcb-mayday.sp;
} else
regs-ax = tcb-mayday.ip;
 #else
regs-ip = tcb-mayday.ip;
regs-ax = tcb-mayday.ax;
-#endif
regs-sp = tcb-mayday.sp;
+#endif
 }


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


[Xenomai-git] Philippe Gerum : cobalt/x86: exclude %rsp from mayday fixup in long mode

2015-02-12 Thread git repository hosting
Module: xenomai-3
Branch: next
Commit: 498e4e9ef69ef7cb2ec4e6a889e3c016f218bdd9
URL:
http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=498e4e9ef69ef7cb2ec4e6a889e3c016f218bdd9

Author: Philippe Gerum r...@xenomai.org
Date:   Thu Feb 12 18:39:02 2015 +0100

cobalt/x86: exclude %rsp from mayday fixup in long mode

---

 kernel/cobalt/arch/x86/mayday.c |3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/kernel/cobalt/arch/x86/mayday.c b/kernel/cobalt/arch/x86/mayday.c
index 62c5eea..22a9196 100644
--- a/kernel/cobalt/arch/x86/mayday.c
+++ b/kernel/cobalt/arch/x86/mayday.c
@@ -204,11 +204,12 @@ void xnarch_fixup_mayday(struct xnarchtcb *tcb, struct 
pt_regs *regs)
test_thread_flag(TIF_IA32)) {
regs-ip = tcb-mayday.ip;
regs-ax = tcb-mayday.ax;
+   regs-sp = tcb-mayday.sp;
} else
regs-ax = tcb-mayday.ip;
 #else
regs-ip = tcb-mayday.ip;
regs-ax = tcb-mayday.ax;
-#endif
regs-sp = tcb-mayday.sp;
+#endif
 }


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