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

Author: Philippe Gerum <r...@xenomai.org>
Date:   Sat Dec 19 12:59:07 2009 +0100

arm: finalize support for freerunning countdown TSC

---

 include/asm-arm/bits/shadow.h |    8 ++++++++
 1 files changed, 8 insertions(+), 0 deletions(-)

diff --git a/include/asm-arm/bits/shadow.h b/include/asm-arm/bits/shadow.h
index 7b92ebc..6625d92 100644
--- a/include/asm-arm/bits/shadow.h
+++ b/include/asm-arm/bits/shadow.h
@@ -152,6 +152,14 @@ static inline int xnarch_local_syscall(struct pt_regs 
*regs)
                        info.u.dec.last_cnt = 
ipipe_info.archdep.tsc.u.dec.last_cnt;
                        info.u.dec.tsc = ipipe_info.archdep.tsc.u.dec.tsc;
                        break;
+#ifdef IPIPE_TSC_TYPE_FREERUNNING_COUNTDOWN
+               case IPIPE_TSC_TYPE_FREERUNNING_COUNTDOWN:
+                       info.type = __XN_TSC_TYPE_FREERUNNING_COUNTDOWN,
+                       info.u.fr.counter = ipipe_info.archdep.tsc.u.fr.counter;
+                       info.u.fr.mask = ipipe_info.archdep.tsc.u.fr.mask;
+                       info.u.fr.tsc = ipipe_info.archdep.tsc.u.fr.tsc;
+                       break;
+#endif /* IPIPE_TSC_TYPE_FREERUNNING_COUNTDOWN */
                case IPIPE_TSC_TYPE_NONE:
                        return -ENOSYS;
                        


_______________________________________________
Xenomai-git mailing list
Xenomai-git@gna.org
https://mail.gna.org/listinfo/xenomai-git

Reply via email to