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

Author: Gilles Chanteperdrix <gilles.chanteperd...@xenomai.org>
Date:   Sat Oct  2 14:11:07 2010 +0200

arm: add calibrated scheduling latencies

---

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

diff --git a/include/asm-arm/calibration.h b/include/asm-arm/calibration.h
index d1a19b7..7d8907c 100644
--- a/include/asm-arm/calibration.h
+++ b/include/asm-arm/calibration.h
@@ -32,8 +32,16 @@ static inline unsigned long xnarch_get_sched_latency (void)
 #if CONFIG_XENO_OPT_TIMING_SCHEDLAT != 0
        return CONFIG_XENO_OPT_TIMING_SCHEDLAT;
 #else
+#if defined(CONFIG_ARCH_AT91RM9200)
+       return 8500;
+#elif defined(CONFIG_ARCH_AT91SAM9263)
+       return 18000;
+#elif defined(CONFIG_ARCH_OMAP3)
+       return 5000;
+#else
        return 9500;    /* XXX sane ? */
 #endif
+#endif
 }
 
 #endif /* !_XENO_ASM_ARM_CALIBRATION_H */


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

Reply via email to