Here comes the complete series of patches to improve the Xenomai
registry. #1, #5, and #6 are resends of already posted patches, the
middle part is fresh from the editor. The series reduces overhead
and simplifies the registry code. Overall diffstat:

 include/asm-generic/hal.h  |   10 +-
 include/nucleus/registry.h |   10 --
 ksrc/arch/generic/hal.c    |   18 +--
 ksrc/arch/generic/nmi.c    |    6 -
 ksrc/arch/x86/nmi_32.c     |    6 -
 ksrc/nucleus/module.c      |   58 ++++-------
 ksrc/nucleus/registry.c    |  223 ++++++++++++++++++++++-----------------------
 ksrc/skins/native/alarm.c  |   22 +---
 ksrc/skins/native/buffer.c |   15 ---
 ksrc/skins/native/cond.c   |   14 --
 ksrc/skins/native/event.c  |   15 ---
 ksrc/skins/native/heap.c   |   14 --
 ksrc/skins/native/intr.c   |   17 ---
 ksrc/skins/native/mutex.c  |   15 ---
 ksrc/skins/native/pipe.c   |   14 --
 ksrc/skins/native/queue.c  |   12 --
 ksrc/skins/native/sem.c    |   14 --
 ksrc/skins/native/task.c   |   16 ---
 18 files changed, 182 insertions(+), 317 deletions(-)

So a net gain of more than 130 LOC.

The series passed basic tests on my virtual target.

Jan

-- 
Siemens AG, Corporate Technology, CT SE 2
Corporate Competence Center Embedded Linux



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

Reply via email to