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

Author: Philippe Gerum <r...@xenomai.org>
Date:   Sat Jun 15 18:39:27 2013 +0200

kernel/cobalt: reorganize file hierachy

The main changes introduced are as follows:

- Xenomai/cobalt core (nucleus) moved at top level, with the arch-dep
bits, POSIX and RTDM personalities in sub-directories.

- Renamed include/cobalt/nucleus to include/cobalt/kernel.

- include/asm-* directories moved to include/cobalt/.

- Removal of asm-<arch>/bits, with most code reintroduced as regular
  implementation files into lib/cobalt/sysdeps/<arch>/.

---

 Makefile.am                                        |    4 +-
 Makefile.in                                        |    4 +-
 configure                                          |   42 +-
 configure.in                                       |   36 +-
 include/Makefile.am                                |    7 -
 include/Makefile.in                                |   12 +-
 include/asm-arm/Makefile.in                        |  695 ---------
 include/asm-arm/bits/Makefile.am                   |    4 -
 include/asm-blackfin/Makefile.in                   |  695 ---------
 include/asm-blackfin/bits/Makefile.am              |    4 -
 include/asm-blackfin/bits/bind.h                   |    6 -
 include/asm-generic/bits/Makefile.am               |    5 -
 include/asm-generic/bits/bind.h                    |    8 -
 include/asm-nios2/Makefile.in                      |  695 ---------
 include/asm-nios2/bits/Makefile.am                 |    3 -
 include/asm-nios2/bits/Makefile.in                 |  556 -------
 include/asm-nios2/bits/bind.h                      |   43 -
 include/asm-powerpc/Makefile.in                    |  695 ---------
 include/asm-powerpc/bits/Makefile.am               |    4 -
 include/asm-powerpc/bits/Makefile.in               |  558 -------
 include/asm-powerpc/bits/bind.h                    |    6 -
 include/asm-sh/bits/Makefile.am                    |    3 -
 include/asm-sh/bits/Makefile.in                    |  556 -------
 include/asm-sh/bits/bind.h                         |   53 -
 include/asm-x86/Makefile.in                        |  698 ---------
 include/asm-x86/bits/Makefile.am                   |    4 -
 include/asm-x86/bits/Makefile.in                   |  558 -------
 include/asm-x86/bits/bind.h                        |   37 -
 include/cobalt/Makefile.am                         |   11 +-
 include/cobalt/Makefile.in                         |   12 +-
 include/{ => cobalt}/asm-arm/Makefile.am           |    2 -
 .../bits => cobalt/asm-arm}/Makefile.in            |   20 +-
 include/{ => cobalt}/asm-arm/arith.h               |    6 +-
 include/{ => cobalt}/asm-arm/atomic.h              |    6 +-
 include/{ => cobalt}/asm-arm/calibration.h         |    6 +-
 include/{ => cobalt}/asm-arm/features.h            |    6 +-
 include/{ => cobalt}/asm-arm/fptest.h              |    6 +-
 include/{ => cobalt}/asm-arm/machine.h             |    6 +-
 include/{ => cobalt}/asm-arm/syscall.h             |    6 +-
 include/{ => cobalt}/asm-arm/thread.h              |    6 +-
 include/{ => cobalt}/asm-arm/tsc.h                 |    6 +-
 include/{ => cobalt}/asm-arm/wrappers.h            |    6 +-
 include/{ => cobalt}/asm-blackfin/Makefile.am      |    2 -
 .../bits => cobalt/asm-blackfin}/Makefile.in       |   19 +-
 include/{ => cobalt}/asm-blackfin/arith.h          |    6 +-
 include/{ => cobalt}/asm-blackfin/atomic.h         |    6 +-
 include/{ => cobalt}/asm-blackfin/calibration.h    |    6 +-
 include/{ => cobalt}/asm-blackfin/features.h       |    6 +-
 include/{ => cobalt}/asm-blackfin/fptest.h         |    6 +-
 include/{ => cobalt}/asm-blackfin/machine.h        |    6 +-
 include/{ => cobalt}/asm-blackfin/syscall.h        |    6 +-
 include/{ => cobalt}/asm-blackfin/thread.h         |    6 +-
 include/{ => cobalt}/asm-blackfin/tsc.h            |    6 +-
 include/{ => cobalt}/asm-blackfin/wrappers.h       |    6 +-
 include/{ => cobalt}/asm-generic/Makefile.am       |    2 +-
 include/{ => cobalt}/asm-generic/Makefile.in       |    8 +-
 include/{ => cobalt}/asm-generic/arith.h           |    6 +-
 include/{ => cobalt}/asm-generic/atomic.h          |    6 +-
 include/{ => cobalt}/asm-generic/current.h         |    8 +-
 include/{ => cobalt}/asm-generic/features.h        |    8 +-
 include/{ => cobalt}/asm-generic/ipipe/Makefile.am |    0
 include/{ => cobalt}/asm-generic/ipipe/Makefile.in |    6 +-
 .../{ => cobalt}/asm-generic/ipipe/thread_info.h   |    6 +-
 include/{ => cobalt}/asm-generic/machine.h         |    6 +-
 include/{ => cobalt}/asm-generic/mayday.h          |    6 +-
 include/{ => cobalt}/asm-generic/pci_ids.h         |    6 +-
 include/{ => cobalt}/asm-generic/sem_heap.h        |    2 +-
 include/{ => cobalt}/asm-generic/stack.h           |    0
 include/{ => cobalt}/asm-generic/syscall.h         |    6 +-
 include/{ => cobalt}/asm-generic/thread.h          |    6 +-
 include/{ => cobalt}/asm-generic/timeconv.h        |   10 +-
 include/{ => cobalt}/asm-generic/wrappers.h        |    4 +-
 include/{ => cobalt}/asm-nios2/Makefile.am         |    2 -
 .../bits => cobalt/asm-nios2}/Makefile.in          |   19 +-
 include/{ => cobalt}/asm-nios2/arith.h             |    6 +-
 include/{ => cobalt}/asm-nios2/atomic.h            |    6 +-
 include/{ => cobalt}/asm-nios2/calibration.h       |    6 +-
 include/{ => cobalt}/asm-nios2/features.h          |    6 +-
 include/{ => cobalt}/asm-nios2/fptest.h            |    6 +-
 include/{ => cobalt}/asm-nios2/machine.h           |    6 +-
 include/{ => cobalt}/asm-nios2/syscall.h           |    6 +-
 include/{ => cobalt}/asm-nios2/thread.h            |    6 +-
 include/{ => cobalt}/asm-nios2/tsc.h               |    6 +-
 include/{ => cobalt}/asm-nios2/wrappers.h          |    6 +-
 include/{ => cobalt}/asm-powerpc/Makefile.am       |    2 -
 .../bits => cobalt/asm-powerpc}/Makefile.in        |   19 +-
 include/{ => cobalt}/asm-powerpc/arith.h           |    6 +-
 include/{ => cobalt}/asm-powerpc/atomic.h          |    6 +-
 include/{ => cobalt}/asm-powerpc/calibration.h     |    6 +-
 include/{ => cobalt}/asm-powerpc/features.h        |    6 +-
 include/{ => cobalt}/asm-powerpc/fptest.h          |    6 +-
 include/{ => cobalt}/asm-powerpc/machine.h         |    6 +-
 include/{ => cobalt}/asm-powerpc/syscall.h         |    6 +-
 include/{ => cobalt}/asm-powerpc/thread.h          |    6 +-
 include/{ => cobalt}/asm-powerpc/tsc.h             |    6 +-
 include/{ => cobalt}/asm-powerpc/wrappers.h        |    6 +-
 include/{ => cobalt}/asm-sh/Makefile.am            |    2 -
 .../{asm-arm/bits => cobalt/asm-sh}/Makefile.in    |   19 +-
 include/{ => cobalt}/asm-sh/arith.h                |    6 +-
 include/{ => cobalt}/asm-sh/atomic.h               |    6 +-
 include/{ => cobalt}/asm-sh/calibration.h          |    6 +-
 include/{ => cobalt}/asm-sh/features.h             |    6 +-
 include/{ => cobalt}/asm-sh/fptest.h               |    6 +-
 include/{ => cobalt}/asm-sh/machine.h              |    6 +-
 include/{ => cobalt}/asm-sh/switch.h               |    6 +-
 include/{ => cobalt}/asm-sh/syscall.h              |    6 +-
 include/{ => cobalt}/asm-sh/thread.h               |    6 +-
 include/{ => cobalt}/asm-sh/tsc.h                  |    6 +-
 include/{ => cobalt}/asm-sh/wrappers.h             |    6 +-
 include/{ => cobalt}/asm-x86/Makefile.am           |    2 -
 .../{asm-arm/bits => cobalt/asm-x86}/Makefile.in   |   22 +-
 include/{ => cobalt}/asm-x86/arith.h               |    8 +-
 include/{ => cobalt}/asm-x86/atomic.h              |    6 +-
 include/{ => cobalt}/asm-x86/calibration.h         |    6 +-
 include/{ => cobalt}/asm-x86/features.h            |    0
 include/{ => cobalt}/asm-x86/features_32.h         |    8 +-
 include/{ => cobalt}/asm-x86/features_64.h         |    8 +-
 include/{ => cobalt}/asm-x86/fptest.h              |    6 +-
 include/{ => cobalt}/asm-x86/machine.h             |    6 +-
 include/{ => cobalt}/asm-x86/smi.h                 |    8 +-
 include/{ => cobalt}/asm-x86/switch.h              |    0
 include/{ => cobalt}/asm-x86/syscall.h             |    6 +-
 include/{ => cobalt}/asm-x86/thread.h              |    6 +-
 include/{ => cobalt}/asm-x86/tsc.h                 |    6 +-
 include/{ => cobalt}/asm-x86/wrappers.h            |    8 +-
 include/cobalt/{nucleus => kernel}/Makefile.am     |    3 +-
 include/cobalt/{nucleus => kernel}/Makefile.in     |    9 +-
 include/cobalt/{nucleus => kernel}/apc.h           |    6 +-
 include/cobalt/{nucleus => kernel}/assert.h        |   10 +-
 include/cobalt/{nucleus => kernel}/bheap.h         |    8 +-
 include/cobalt/{nucleus => kernel}/bufd.h          |    8 +-
 include/cobalt/{nucleus => kernel}/clock.h         |   10 +-
 include/cobalt/{nucleus => kernel}/debug.h         |    8 +-
 include/cobalt/{nucleus => kernel}/heap.h          |    8 +-
 include/cobalt/{nucleus => kernel}/hostrt.h        |    6 +-
 include/cobalt/{nucleus => kernel}/intr.h          |   10 +-
 include/cobalt/{nucleus => kernel}/lock.h          |    8 +-
 include/cobalt/{nucleus => kernel}/map.h           |    8 +-
 include/cobalt/{nucleus => kernel}/pipe.h          |   12 +-
 include/cobalt/{nucleus => kernel}/pod.h           |   12 +-
 include/cobalt/kernel/ppd.h                        |   46 +
 include/cobalt/{nucleus => kernel}/queue.h         |   12 +-
 include/cobalt/{nucleus => kernel}/registry.h      |   12 +-
 include/cobalt/{nucleus => kernel}/sched-idle.h    |   10 +-
 include/cobalt/{nucleus => kernel}/sched-rt.h      |   10 +-
 .../cobalt/{nucleus => kernel}/sched-sporadic.h    |   12 +-
 include/cobalt/{nucleus => kernel}/sched-tp.h      |   10 +-
 include/cobalt/{nucleus => kernel}/sched-weak.h    |   10 +-
 include/cobalt/{nucleus => kernel}/sched.h         |   26 +-
 include/cobalt/{nucleus => kernel}/schedparam.h    |    6 +-
 include/cobalt/{nucleus => kernel}/schedqueue.h    |    8 +-
 include/cobalt/{nucleus => kernel}/select.h        |   10 +-
 include/cobalt/{nucleus => kernel}/seqlock.h       |    0
 include/cobalt/{nucleus => kernel}/shadow.h        |    6 +-
 include/cobalt/{nucleus => kernel}/stat.h          |   10 +-
 include/cobalt/{nucleus => kernel}/synch.h         |   10 +-
 include/cobalt/{nucleus => kernel}/thread.h        |   16 +-
 include/cobalt/{nucleus => kernel}/timer.h         |   12 +-
 include/cobalt/{nucleus => kernel}/trace.h         |    6 +-
 include/cobalt/{nucleus => kernel}/types.h         |    8 +-
 include/cobalt/{nucleus => kernel}/vdso.h          |   10 +-
 include/cobalt/{nucleus => kernel}/vfile.h         |   10 +-
 include/cobalt/nucleus/arith.h                     |   35 -
 include/cobalt/nucleus/ppd.h                       |   25 -
 include/cobalt/nucleus/sys_ppd.h                   |   46 -
 include/cobalt/pthread.h                           |    2 +-
 include/cobalt/sched.h                             |    2 +-
 include/rtdm/rtdm_driver.h                         |   20 +-
 include/rtdm/rtipc.h                               |    2 +-
 include/rtdm/syscall.h                             |    2 +-
 kernel/cobalt/COPYING                              |   13 +-
 kernel/cobalt/{nucleus => }/Kconfig                |    0
 kernel/cobalt/Makefile                             |   43 +-
 kernel/cobalt/{nucleus => }/apc.c                  |    2 +-
 kernel/cobalt/arch/arm/Kconfig                     |    2 +-
 kernel/cobalt/arch/arm/thread.c                    |    2 +-
 kernel/cobalt/arch/blackfin/Kconfig                |    2 +-
 kernel/cobalt/arch/blackfin/thread.c               |    2 +-
 kernel/cobalt/arch/nios2/Kconfig                   |    2 +-
 kernel/cobalt/arch/nios2/thread.c                  |    2 +-
 kernel/cobalt/arch/powerpc/Kconfig                 |    2 +-
 kernel/cobalt/arch/powerpc/switch_32.S             |    3 +-
 kernel/cobalt/arch/powerpc/switch_64.S             |    4 +-
 kernel/cobalt/arch/powerpc/thread.c                |    2 +-
 kernel/cobalt/arch/sh/Kconfig                      |    2 +-
 kernel/cobalt/arch/sh/thread.c                     |    2 +-
 kernel/cobalt/arch/x86/Kconfig                     |    2 +-
 kernel/cobalt/arch/x86/thread.c                    |    2 +-
 kernel/cobalt/{nucleus => }/arith.c                |    7 +-
 kernel/cobalt/{nucleus => }/bufd.c                 |    8 +-
 kernel/cobalt/clock.c                              |  367 ++---
 kernel/cobalt/{nucleus => }/debug.c                |   10 +-
 kernel/cobalt/{nucleus => }/heap.c                 |   10 +-
 kernel/cobalt/{nucleus/module.c => init.c}         |   56 +-
 kernel/cobalt/{nucleus => }/intr.c                 |    8 +-
 kernel/cobalt/{nucleus => }/lock.c                 |    2 +-
 kernel/cobalt/{nucleus => }/map.c                  |    6 +-
 kernel/cobalt/nucleus/Makefile                     |   22 -
 kernel/cobalt/nucleus/clock.c                      |  205 ---
 kernel/cobalt/nucleus/registry.c                   | 1212 ----------------
 kernel/cobalt/nucleus/thread.c                     |  364 -----
 kernel/cobalt/nucleus/timer.c                      | 1094 --------------
 kernel/cobalt/{nucleus => }/pipe.c                 |    8 +-
 kernel/cobalt/{nucleus => }/pod.c                  |   41 +-
 kernel/cobalt/{nucleus => posix}/COPYING           |    0
 kernel/cobalt/posix/Makefile                       |   19 +
 kernel/cobalt/{ => posix}/cancel.c                 |    0
 kernel/cobalt/{ => posix}/cancel.h                 |    0
 kernel/cobalt/posix/clock.c                        |  254 ++++
 kernel/cobalt/{ => posix}/clock.h                  |    0
 kernel/cobalt/{ => posix}/cond.c                   |    2 +-
 kernel/cobalt/{ => posix}/cond.h                   |    0
 kernel/cobalt/{ => posix}/cond_attr.c              |    0
 kernel/cobalt/{ => posix}/event.c                  |    2 +-
 kernel/cobalt/{ => posix}/event.h                  |    2 +-
 kernel/cobalt/{module.c => posix/init.c}           |   33 +-
 kernel/cobalt/{ => posix}/internal.h               |   14 +-
 kernel/cobalt/{ => posix}/monitor.c                |    2 +-
 kernel/cobalt/{ => posix}/monitor.h                |    2 +-
 kernel/cobalt/{ => posix}/mq.c                     |    2 +-
 kernel/cobalt/{ => posix}/mq.h                     |    2 +-
 kernel/cobalt/{ => posix}/mutex.c                  |    2 +-
 kernel/cobalt/{ => posix}/mutex.h                  |    0
 kernel/cobalt/{ => posix}/mutex_attr.c             |    0
 kernel/cobalt/posix/registry.c                     |  451 ++++++
 kernel/cobalt/{ => posix}/registry.h               |    4 +-
 kernel/cobalt/{ => posix}/sem.c                    |    0
 kernel/cobalt/{ => posix}/sem.h                    |    4 +-
 kernel/cobalt/{ => posix}/syscall.c                |    2 +-
 kernel/cobalt/posix/thread.c                       | 1363 +++++++++++++++++
 kernel/cobalt/{ => posix}/thread.h                 |    2 -
 kernel/cobalt/posix/timer.c                        |  629 ++++++++
 kernel/cobalt/{ => posix}/timer.h                  |    0
 kernel/cobalt/registry.c                           | 1337 +++++++++++++----
 kernel/cobalt/rtdm/Makefile                        |   10 +-
 kernel/cobalt/rtdm/core.c                          |    8 +-
 kernel/cobalt/rtdm/device.c                        |    2 +-
 kernel/cobalt/rtdm/{module.c => init.c}            |   38 +-
 kernel/cobalt/rtdm/internal.h                      |    8 +-
 kernel/cobalt/rtdm/proc.c                          |    2 +-
 kernel/cobalt/rtdm/syscall.c                       |    4 +-
 kernel/cobalt/{nucleus => }/sched-idle.c           |    2 +-
 kernel/cobalt/{nucleus => }/sched-rt.c             |    2 +-
 kernel/cobalt/{nucleus => }/sched-sporadic.c       |    2 +-
 kernel/cobalt/{nucleus => }/sched-tp.c             |    2 +-
 kernel/cobalt/{nucleus => }/sched-weak.c           |    2 +-
 kernel/cobalt/{nucleus => }/sched.c                |   12 +-
 kernel/cobalt/{nucleus => }/select.c               |   12 +-
 kernel/cobalt/{nucleus => }/shadow.c               |   24 +-
 kernel/cobalt/{nucleus => }/synch.c                |   10 +-
 kernel/cobalt/thread.c                             | 1533 ++++----------------
 .../asm-generic/bits => kernel/cobalt}/timeconv.h  |   14 +-
 kernel/cobalt/timer.c                              | 1381 ++++++++++++------
 kernel/cobalt/{nucleus => }/udev/rtheap.rules      |    0
 kernel/cobalt/{nucleus => }/udev/rtpipe.rules      |    0
 kernel/cobalt/{nucleus => }/vfile.c                |    6 +-
 kernel/drivers/ipc/bufp.c                          |    6 +-
 kernel/drivers/ipc/iddp.c                          |    6 +-
 kernel/drivers/ipc/internal.h                      |    2 +-
 kernel/drivers/ipc/xddp.c                          |    6 +-
 kernel/drivers/testing/switchtest.c                |    8 +-
 lib/cobalt/Makefile.am                             |   25 +-
 lib/cobalt/Makefile.in                             |  361 +++--
 lib/cobalt/assert_context.c                        |    2 +-
 lib/cobalt/clock.c                                 |   19 +-
 lib/cobalt/cond.c                                  |    6 +-
 lib/cobalt/current.c                               |    6 +-
 lib/cobalt/init.c                                  |   46 +-
 lib/cobalt/internal.c                              |    8 +-
 lib/cobalt/internal.h                              |    3 +
 lib/cobalt/mutex.c                                 |    4 +-
 lib/cobalt/printf.c                                |    2 +-
 lib/cobalt/sem_heap.c                              |    2 +-
 lib/cobalt/semaphore.c                             |    4 +-
 lib/cobalt/sysdeps/Makefile.am                     |    2 +
 {include/asm-sh => lib/cobalt/sysdeps}/Makefile.in |   97 +--
 lib/cobalt/sysdeps/arm/Makefile.am                 |   11 +
 .../bits => lib/cobalt/sysdeps/arm}/Makefile.in    |  183 ++-
 .../bind.h => lib/cobalt/sysdeps/arm/features.c    |   57 +-
 lib/cobalt/sysdeps/blackfin/Makefile.am            |   11 +
 .../cobalt/sysdeps/blackfin}/Makefile.in           |  183 ++-
 .../cobalt/sysdeps/blackfin/features.c             |   17 +-
 lib/cobalt/sysdeps/nios2/Makefile.am               |   11 +
 .../bits => lib/cobalt/sysdeps/nios2}/Makefile.in  |  183 ++-
 lib/cobalt/sysdeps/nios2/features.c                |   55 +
 lib/cobalt/sysdeps/powerpc/Makefile.am             |   11 +
 .../cobalt/sysdeps/powerpc}/Makefile.in            |  183 ++-
 .../cobalt/sysdeps/powerpc/features.c              |   17 +-
 lib/cobalt/sysdeps/sh/Makefile.am                  |   11 +
 .../bits => lib/cobalt/sysdeps/sh}/Makefile.in     |  183 ++-
 lib/cobalt/sysdeps/sh/features.c                   |   67 +
 lib/cobalt/sysdeps/x86/Makefile.am                 |   11 +
 .../bits => lib/cobalt/sysdeps/x86}/Makefile.in    |  183 ++-
 lib/cobalt/{timeconv.c => sysdeps/x86/features.c}  |   43 +-
 lib/copperplate/regd/fs-cobalt.c                   |    2 +-
 scripts/prepare-kernel.sh                          |    8 +-
 testsuite/clocktest/clocktest.c                    |    2 +-
 testsuite/cyclic/cyclictest.c                      |    2 +-
 testsuite/regression/posix/leaks.c                 |    2 +-
 testsuite/switchtest/switchtest.c                  |    2 +-
 testsuite/unit/check-vdso.c                        |    2 +-
 301 files changed, 7197 insertions(+), 12717 deletions(-)

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

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

Reply via email to