Module: xenomai-forge
Branch: next
Commit: 6ce67af6eac97272b1677483e8993508e14df9e2
URL:    
http://git.xenomai.org/?p=xenomai-forge.git;a=commit;h=6ce67af6eac97272b1677483e8993508e14df9e2

Author: Philippe Gerum <r...@xenomai.org>
Date:   Wed Jul 31 19:03:46 2013 +0200

cobalt/kernel: remove pod abstraction entirely

We don't have full-fledged in-kernel APIs going in and out selectively
anymore, we now have a stable set of API services (i.e. core, POSIX
and RTDM), with optional limited extensions through Xenomai
"personalities".

For this reason, the former "pod" abstraction, as a mean to group
multiple API siblings in a common generic container is not much
relevant anymore.

The ongoing design simplification now allows to drop the pod-related
services, dispatching them to the other existing abstractions.

The renaming involved are fairly straightforward for the most part,
i.e.:

* Former thread-directed ops:
  xnpod_<action>_thread() => xnthread_<action>()

* Former scheduler-related ops:
  xnpod_<action>() => xnsched_<action>()

Hint: xnpod_schedule() became xnsched_run() (although xnsched_ule()
would have been delighting).

---

 include/cobalt/kernel/Makefile.am                  |    2 +-
 include/cobalt/kernel/Makefile.in                  |    2 +-
 include/cobalt/kernel/assert.h                     |    4 +-
 include/cobalt/kernel/clock.h                      |    4 +
 include/cobalt/kernel/lock.h                       |   14 +-
 include/cobalt/kernel/pod.h                        |  310 ---
 include/cobalt/kernel/sched-tp.h                   |    5 +-
 include/cobalt/kernel/sched-weak.h                 |    6 +-
 include/cobalt/kernel/sched.h                      |  198 ++-
 include/cobalt/kernel/shadow.h                     |   17 +-
 include/cobalt/kernel/sys.h                        |   83 +
 include/cobalt/kernel/thread.h                     |   91 +-
 include/cobalt/kernel/timer.h                      |    2 +-
 include/cobalt/kernel/vdso.h                       |    1 -
 include/rtdm/rtdm_driver.h                         |   42 +-
 kernel/cobalt/Makefile                             |    2 +-
 kernel/cobalt/arch/blackfin/machine.c              |   14 +-
 .../cobalt/arch/x86/include/asm/xenomai/thread.h   |    3 +-
 kernel/cobalt/arch/x86/thread.c                    |    3 +-
 kernel/cobalt/bufd.c                               |   12 +-
 kernel/cobalt/clock.c                              |   34 +-
 kernel/cobalt/debug.c                              |   19 +-
 kernel/cobalt/heap.c                               |   26 +-
 .../cobalt/include/asm-generic/xenomai/machine.h   |   16 -
 kernel/cobalt/init.c                               |   16 +-
 kernel/cobalt/intr.c                               |   59 +-
 kernel/cobalt/lock.c                               |   15 +-
 kernel/cobalt/map.c                                |    3 +-
 kernel/cobalt/pipe.c                               |   10 +-
 kernel/cobalt/pod.c                                | 2161 --------------------
 kernel/cobalt/posix/clock.c                        |    6 +-
 kernel/cobalt/posix/cond.c                         |    2 +-
 kernel/cobalt/posix/event.c                        |    4 +-
 kernel/cobalt/posix/internal.h                     |    2 +-
 kernel/cobalt/posix/monitor.c                      |   14 +-
 kernel/cobalt/posix/mqueue.c                       |   12 +-
 kernel/cobalt/posix/mutex.c                        |   10 +-
 kernel/cobalt/posix/sem.c                          |    6 +-
 kernel/cobalt/posix/syscall.c                      |    2 +-
 kernel/cobalt/posix/thread.c                       |   61 +-
 kernel/cobalt/posix/timer.c                        |    2 +-
 kernel/cobalt/procfs.c                             |    7 +-
 kernel/cobalt/registry.c                           |   30 +-
 kernel/cobalt/rtdm/core.c                          |    1 -
 kernel/cobalt/rtdm/drvlib.c                        |   50 +-
 kernel/cobalt/rtdm/internal.h                      |    2 +-
 kernel/cobalt/sched-idle.c                         |    8 +-
 kernel/cobalt/sched-rt.c                           |   13 +-
 kernel/cobalt/sched-sporadic.c                     |   32 +-
 kernel/cobalt/sched-tp.c                           |   16 +-
 kernel/cobalt/sched-weak.c                         |   16 +-
 kernel/cobalt/sched.c                              |  339 +++-
 kernel/cobalt/select.c                             |   17 +-
 kernel/cobalt/shadow.c                             |  168 +-
 kernel/cobalt/synch.c                              |   52 +-
 kernel/cobalt/sys.c                                |  332 +++
 kernel/cobalt/thread.c                             | 1506 ++++++++++++++-
 kernel/cobalt/timer.c                              |   20 +-
 kernel/cobalt/vfile.c                              |    3 +-
 kernel/drivers/testing/switchtest.c                |   24 +-
 60 files changed, 2869 insertions(+), 3062 deletions(-)

Diff:   
http://git.xenomai.org/?p=xenomai-forge.git;a=commitdiff;h=6ce67af6eac97272b1677483e8993508e14df9e2

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

Reply via email to