1. 18 Jun, 2015 1 commit
  2. 15 Nov, 2014 1 commit
    • Philippe Gerum's avatar
      cobalt/rtdm/mutex: fix rtdm_mutex_timedlock() · ef0992d6
      Philippe Gerum authored
      The fast path in rtdm_mutex_timedlock() was terminally broken by the
      not-so-recent addition of fast locks to RTDM-based kernel mutexes. As
      a matter of fact, the xnthread_try_grab() helper suffered multiple
      breakages, including the lack of update to the underlying fastlock
      word to reflect a successful locking operation.
      To this end, we introduce xnsynch_try_acquire() which properly
      attempts to grab the requested mutex on behalf of the current thread,
      and call it as a drop-in replacement for xnthread_try_grab().  Callers
      fall back to xnsynch_acquire() on failure to put a fast grab on the
  3. 09 Sep, 2014 1 commit
  4. 21 Aug, 2014 1 commit
  5. 11 Aug, 2014 1 commit
    • Philippe Gerum's avatar
      cobalt/intr: introduce IRQ disabled state · aefaab5d
      Philippe Gerum authored
      With the IRQ line enable/disable operations restricted to the root
      domain, interrupt handlers may not invoke xnintr_disable() directly to
      shut down the interrupt line.
      To support this requirement, we add an explicit disabled state to the
      interrupt descriptor, which the handler may turn on by returning the
      new XN_IRQ_DISABLE operation status. In response, the core disables
      the descriptor, shutting down the interrupt line in the same move
      instead of unmasking it on return from the interrupt context.
      XN_IRQ_DISABLE is exposed by RTDM as RTDM_IRQ_DISABLE.
      As a consequence of this change, XN_ISR_NOENABLE was dropped as we
      have no in-tree client which need such semantics anymore.
      At this chance, various naming and documentation fixes have been
  6. 17 Jul, 2014 1 commit
  7. 29 Apr, 2014 1 commit
    • Philippe Gerum's avatar
      cobalt/kernel: convert legacy trace markers to kernel tracepoints · d8047b7a
      Philippe Gerum authored
      Rebase trace statements in the Cobalt core over the generic tracepoint
      API. A few former trace markers which did not help in analysing the
      dynamic behavior of the system have been dropped in the process.
      This work is originally based on Jan Kiszka's trace events conversion
      patch series for Xenomai 2.6.