Module: xenomai-forge Branch: master Commit: bb4f2d9024b45fe816ec8c7aefe7af30844c9660 URL: http://git.xenomai.org/?p=xenomai-forge.git;a=commit;h=bb4f2d9024b45fe816ec8c7aefe7af30844c9660
Author: Philippe Gerum <r...@xenomai.org> Date: Tue Dec 4 19:41:41 2012 +0100 cobalt: remove HAL interface Originally, the HAL interface was aimed at abstracting the real-time enabler on top of which the nucleus sits, when running over the linux kernel. Along the years, we only used the Adeos pipeline for this purpose, and 3.x is writing this dependency in stone for the Cobalt core. Therefore the HAL layer becomes pointless, and removing it simplifies a great deal of low level Xenomai code, making architecture ports even simpler. In the same move, we dismiss support for legacy pipelines. A pipeline from the recent "core" series, exposing API revision #2 or better is required to build and run Xenomai 3.x. NOTE: nios2 and sh4 are not ready for prime time, since we don't have a core pipeline implementation for them yet. We leave them in tree though, waiting for catch-up. --- Makefile.in | 37 +- aclocal.m4 | 6 +- config/Makefile.in | 24 +- configure | 88 +++ configure.in | 66 ++ doc/Makefile.in | 35 +- doc/asciidoc/Makefile.in | 24 +- doc/docbook/Makefile.in | 35 +- doc/docbook/custom-stylesheets/Makefile.in | 35 +- doc/docbook/custom-stylesheets/xsl/Makefile.in | 35 +- .../custom-stylesheets/xsl/common/Makefile.in | 24 +- doc/docbook/custom-stylesheets/xsl/fo/Makefile.in | 24 +- .../custom-stylesheets/xsl/html/Makefile.in | 24 +- doc/doxygen/Makefile.in | 24 +- doc/man/Makefile.in | 39 ++- doc/txt/Makefile.in | 29 +- include/Makefile.in | 45 ++- include/alchemy/Makefile.in | 29 +- include/analogy/Makefile.in | 29 +- include/asm-arm/Makefile.am | 12 +- include/asm-arm/Makefile.in | 52 ++- include/asm-arm/arith.h | 38 +- include/asm-arm/atomic.h | 4 - include/asm-arm/bits/Makefile.am | 7 +- include/asm-arm/bits/Makefile.in | 36 +- include/asm-arm/bits/bind.h | 68 ++- include/asm-arm/bits/pod.h | 250 -------- include/asm-arm/bits/sched.h | 44 -- include/asm-arm/bits/shadow.h | 239 -------- include/asm-arm/bits/thread.h | 75 --- include/asm-arm/calibration.h | 2 - include/asm-arm/features.h | 2 - include/asm-arm/hal.h | 357 ----------- include/asm-arm/machine.h | 86 +++ include/asm-arm/syscall.h | 108 ++++- include/asm-arm/system.h | 228 ------- include/asm-arm/thread.h | 164 +++++ include/asm-arm/wrappers.h | 13 +- include/asm-blackfin/Makefile.am | 12 +- include/asm-blackfin/Makefile.in | 52 ++- include/asm-blackfin/arith.h | 2 +- include/asm-blackfin/atomic.h | 6 +- include/asm-blackfin/bits/Makefile.am | 7 +- include/asm-blackfin/bits/Makefile.in | 36 +- include/asm-blackfin/bits/sched.h | 39 -- include/asm-blackfin/bits/thread.h | 58 -- include/asm-blackfin/bits/timer.h | 38 -- include/asm-blackfin/hal.h | 131 ---- include/asm-blackfin/machine.h | 43 ++ include/asm-blackfin/syscall.h | 4 + include/asm-blackfin/{system.h => thread.h} | 79 ++- include/asm-blackfin/wrappers.h | 12 - include/asm-generic/Makefile.am | 6 +- include/asm-generic/Makefile.in | 46 ++- include/asm-generic/arith.h | 285 +++++----- include/asm-generic/bits/Makefile.am | 3 - include/asm-generic/bits/Makefile.in | 32 +- include/asm-generic/bits/pod.h | 249 -------- include/asm-generic/bits/shadow.h | 245 -------- include/asm-generic/bits/timeconv.h | 4 +- include/asm-generic/{bits => }/current.h | 0 include/asm-generic/features.h | 1 + include/asm-generic/hal.h | 189 ------ include/asm-generic/ipipe/Makefile.am | 3 +- include/asm-generic/ipipe/Makefile.in | 32 +- include/asm-generic/ipipe/wrappers.h | 341 ----------- include/asm-generic/machine.h | 91 +++ .../bits/sched_32.h => asm-generic/mayday.h} | 34 +- include/asm-generic/stack.h | 2 +- include/asm-generic/syscall.h | 10 +- include/asm-generic/system.h | 417 ------------- include/asm-generic/trace.h | 124 ---- include/asm-generic/wrappers.h | 13 +- include/asm-nios2/Makefile.am | 12 +- include/asm-nios2/Makefile.in | 52 ++- include/asm-nios2/arith.h | 2 +- include/asm-nios2/bits/Makefile.am | 8 +- include/asm-nios2/bits/Makefile.in | 38 +- include/asm-nios2/bits/pod.h | 158 ----- include/asm-nios2/bits/sched.h | 42 -- include/asm-nios2/bits/shadow.h | 126 ---- include/asm-nios2/bits/thread.h | 61 -- include/asm-nios2/features.h | 3 +- include/asm-nios2/hal.h | 91 --- include/asm-nios2/machine.h | 43 ++ include/asm-nios2/syscall.h | 4 + include/asm-nios2/{system.h => thread.h} | 100 ++-- include/asm-nios2/wrappers.h | 12 - include/asm-powerpc/Makefile.am | 12 +- include/asm-powerpc/Makefile.in | 52 ++- include/asm-powerpc/arith.h | 8 +- include/asm-powerpc/bits/Makefile.am | 7 +- include/asm-powerpc/bits/Makefile.in | 36 +- include/asm-powerpc/bits/pod.h | 251 -------- include/asm-powerpc/bits/sched.h | 46 -- include/asm-powerpc/bits/thread.h | 69 --- include/asm-powerpc/bits/timer.h | 50 -- include/asm-powerpc/hal.h | 218 ------- include/asm-powerpc/machine.h | 49 ++ include/asm-powerpc/syscall.h | 8 + include/asm-powerpc/{system.h => thread.h} | 98 ++-- include/asm-powerpc/wrappers.h | 3 - include/asm-sh/Makefile.am | 12 +- include/asm-sh/Makefile.in | 52 ++- include/asm-sh/arith.h | 2 +- include/asm-sh/bits/Makefile.am | 8 +- include/asm-sh/bits/Makefile.in | 38 +- include/asm-sh/bits/pod.h | 197 ------ include/asm-sh/bits/sched.h | 43 -- include/asm-sh/bits/thread.h | 61 -- include/asm-sh/bits/timer.h | 38 -- include/asm-sh/features.h | 3 +- include/asm-sh/hal.h | 203 ------- include/asm-sh/machine.h | 43 ++ include/asm-sh/syscall.h | 5 + include/asm-sh/{system.h => thread.h} | 59 +-- include/asm-sh/wrappers.h | 12 - include/asm-x86/Makefile.am | 15 +- include/asm-x86/Makefile.in | 55 ++- include/asm-x86/arith.h | 249 ++++++++- include/asm-x86/arith_32.h | 196 ------ include/asm-x86/arith_64.h | 90 --- include/asm-x86/bits/Makefile.am | 15 +- include/asm-x86/bits/Makefile.in | 44 +- include/asm-x86/bits/pod_32.h | 290 --------- include/asm-x86/bits/pod_64.h | 326 ---------- include/asm-x86/bits/sched.h | 5 - include/asm-x86/bits/sched_64.h | 41 -- include/asm-x86/bits/shadow.h | 8 - include/asm-x86/bits/shadow_64.h | 105 ---- include/asm-x86/bits/thread.h | 5 - include/asm-x86/bits/thread_32.h | 59 -- include/asm-x86/bits/thread_64.h | 60 -- include/asm-x86/bits/timer.h | 51 -- include/asm-x86/calibration.h | 18 +- include/asm-x86/hal_32.h | 210 ------- include/asm-x86/hal_64.h | 140 ----- .../{asm-arm/bits/timer.h => asm-x86/machine.h} | 41 +- include/asm-x86/smi.h | 35 +- include/asm-x86/syscall.h | 5 + include/asm-x86/system.h | 5 - include/asm-x86/system_32.h | 101 ---- include/asm-x86/system_64.h | 99 --- include/asm-x86/thread.h | 162 +++++ include/asm-x86/wrappers.h | 14 +- include/cobalt/Makefile.in | 40 +- include/cobalt/fcntl.h | 8 - include/cobalt/nucleus/Makefile.am | 4 +- include/cobalt/nucleus/Makefile.in | 33 +- include/cobalt/nucleus/apc.h | 82 +++ include/cobalt/nucleus/{system.h => arith.h} | 26 +- include/cobalt/nucleus/assert.h | 5 +- include/cobalt/nucleus/bheap.h | 2 - include/cobalt/nucleus/clock.h | 23 +- include/cobalt/nucleus/compiler.h | 47 -- include/cobalt/nucleus/heap.h | 27 +- include/cobalt/nucleus/hostrt.h | 2 - include/cobalt/nucleus/intr.h | 12 +- include/cobalt/nucleus/lock.h | 244 ++++++++ include/cobalt/nucleus/pipe.h | 8 - include/cobalt/nucleus/pod.h | 25 +- include/cobalt/nucleus/queue.h | 1 + include/cobalt/nucleus/registry.h | 8 - include/cobalt/nucleus/sched.h | 4 +- include/cobalt/nucleus/select.h | 14 +- include/cobalt/nucleus/seqlock.h | 2 +- include/cobalt/nucleus/stat.h | 7 +- include/cobalt/nucleus/synch.h | 28 +- include/cobalt/nucleus/thread.h | 23 +- include/cobalt/nucleus/timer.h | 16 +- include/cobalt/nucleus/trace.h | 94 +++- include/cobalt/nucleus/types.h | 38 +- include/cobalt/nucleus/vfile.h | 9 +- include/cobalt/pthread.h | 2 +- include/cobalt/signal.h | 8 - include/cobalt/sys/Makefile.in | 29 +- include/cobalt/syscall.h | 8 - include/copperplate/Makefile.in | 29 +- include/mercury/Makefile.in | 29 +- include/psos/Makefile.in | 29 +- include/rtdm/Makefile.in | 29 +- include/rtdm/rtdm_driver.h | 4 +- include/rtdm/syscall.h | 8 +- include/vxworks/Makefile.in | 29 +- kernel/cobalt/arch/arm/Makefile | 2 +- kernel/cobalt/arch/arm/hal.c | 362 ------------ kernel/cobalt/arch/arm/machine.c | 127 ++++ kernel/cobalt/arch/arm/mayday.c | 119 ++++ kernel/cobalt/arch/arm/switch.S | 20 +- kernel/cobalt/arch/arm/syscall.c | 98 +++ kernel/cobalt/arch/arm/thread.c | 557 +++++++++++++++++ kernel/cobalt/arch/blackfin/Makefile | 2 +- kernel/cobalt/arch/blackfin/atomic.S | 8 +- kernel/cobalt/arch/blackfin/hal.c | 253 -------- kernel/cobalt/arch/blackfin/machine.c | 74 +++ .../cobalt/arch/blackfin/mayday.c | 71 +-- kernel/cobalt/arch/blackfin/switch.S | 10 +- .../hal.h => kernel/cobalt/arch/blackfin/syscall.c | 35 +- .../pod.h => kernel/cobalt/arch/blackfin/thread.c | 176 ++++--- kernel/cobalt/arch/generic/Makefile | 6 - kernel/cobalt/arch/generic/hal.c | 354 ----------- kernel/cobalt/arch/nios2/Makefile | 2 +- kernel/cobalt/arch/nios2/hal.c | 99 --- kernel/cobalt/arch/nios2/machine.c | 60 ++ kernel/cobalt/arch/nios2/mayday.c | 76 +++ kernel/cobalt/arch/nios2/switch.S | 6 +- .../pod.h => kernel/cobalt/arch/nios2/syscall.c | 31 +- kernel/cobalt/arch/nios2/thread.c | 178 ++++++ kernel/cobalt/arch/powerpc/Makefile | 2 +- kernel/cobalt/arch/powerpc/fpu.S | 6 +- kernel/cobalt/arch/powerpc/hal.c | 295 --------- kernel/cobalt/arch/powerpc/machine.c | 72 +++ .../cobalt/arch/powerpc/mayday.c | 68 +-- kernel/cobalt/arch/powerpc/switch_32.S | 7 +- kernel/cobalt/arch/powerpc/switch_64.S | 6 +- kernel/cobalt/arch/powerpc/thread.c | 385 ++++++++++++ kernel/cobalt/arch/sh/Makefile | 2 +- kernel/cobalt/arch/sh/hal.c | 136 ----- kernel/cobalt/arch/sh/machine.c | 59 ++ .../shadow.h => kernel/cobalt/arch/sh/mayday.c | 54 +-- kernel/cobalt/arch/sh/thread.c | 410 +++++++++++++ kernel/cobalt/arch/sh/trampoline.S | 4 +- kernel/cobalt/arch/x86/Makefile | 8 +- kernel/cobalt/arch/x86/hal.c | 575 ------------------ kernel/cobalt/arch/x86/machine.c | 188 ++++++ .../shadow_32.h => kernel/cobalt/arch/x86/mayday.c | 102 ++-- kernel/cobalt/arch/x86/smi.c | 51 +- kernel/cobalt/arch/x86/thread.c | 624 ++++++++++++++++++++ kernel/cobalt/arch/x86/usercopy_32.c | 53 -- kernel/cobalt/arch/x86/usercopy_64.c | 54 -- kernel/cobalt/clock.c | 7 +- kernel/cobalt/internal.h | 1 + kernel/cobalt/module.c | 36 +- kernel/cobalt/mq.c | 4 +- kernel/cobalt/mutex.h | 8 +- kernel/cobalt/nucleus/Kconfig | 4 - kernel/cobalt/nucleus/Makefile | 4 +- kernel/cobalt/nucleus/apc.c | 182 ++++++ .../bits/timer.h => kernel/cobalt/nucleus/arith.c | 44 +- kernel/cobalt/nucleus/clock.c | 16 +- kernel/cobalt/nucleus/debug.c | 9 +- kernel/cobalt/nucleus/heap.c | 56 ++- kernel/cobalt/nucleus/intr.c | 105 ++-- kernel/cobalt/nucleus/lock.c | 56 ++ kernel/cobalt/nucleus/module.c | 132 ++++- kernel/cobalt/nucleus/pipe.c | 7 +- kernel/cobalt/nucleus/pod.c | 206 ++++--- kernel/cobalt/nucleus/registry.c | 11 +- kernel/cobalt/nucleus/sched-sporadic.c | 6 +- kernel/cobalt/nucleus/sched-tp.c | 2 +- kernel/cobalt/nucleus/sched.c | 12 +- kernel/cobalt/nucleus/select.c | 7 +- kernel/cobalt/nucleus/shadow.c | 184 +----- kernel/cobalt/nucleus/synch.c | 1 + kernel/cobalt/nucleus/thread.c | 2 +- kernel/cobalt/nucleus/timer.c | 252 ++++++++- kernel/cobalt/nucleus/vfile.c | 1 + kernel/cobalt/registry.h | 1 + kernel/cobalt/rtdm/core.c | 3 +- kernel/cobalt/rtdm/device.c | 8 +- kernel/cobalt/rtdm/drvlib.c | 17 +- kernel/cobalt/rtdm/module.c | 23 +- kernel/cobalt/syscall.c | 3 +- kernel/cobalt/thread.c | 4 +- kernel/cobalt/timer.c | 2 +- kernel/drivers/can/mscan/rtcan_mscan_mpc5xxx.c | 1 + kernel/drivers/can/mscan/rtcan_mscan_regs.h | 1 + kernel/drivers/ipc/bufp.c | 6 +- kernel/drivers/ipc/iddp.c | 6 +- kernel/drivers/ipc/internal.h | 1 + kernel/drivers/ipc/xddp.c | 6 +- kernel/drivers/testing/switchtest.c | 4 +- kernel/drivers/testing/timerbench.c | 1 + lib/Makefile.in | 35 +- lib/alchemy/Makefile.in | 27 +- lib/analogy/Makefile.in | 27 +- lib/cobalt/Makefile.in | 27 +- lib/cobalt/assert_context.c | 10 +- lib/cobalt/clock.c | 4 +- lib/cobalt/cond.c | 42 +- lib/cobalt/current.c | 2 +- lib/cobalt/internal.c | 2 +- lib/cobalt/internal.h | 2 +- lib/cobalt/mutex.c | 22 +- lib/cobalt/printf.c | 31 +- lib/cobalt/sem_heap.c | 4 +- lib/cobalt/thread.c | 2 +- lib/cobalt/timeconv.c | 2 +- lib/copperplate/Makefile.in | 27 +- lib/copperplate/timerobj-cobalt.c | 1 + lib/include/Makefile.in | 24 +- lib/include/xeno_config.h.in | 9 + lib/psos/Makefile.in | 27 +- lib/vxworks/Makefile.in | 27 +- scripts/Kconfig.frag | 9 +- scripts/Makefile.in | 29 +- scripts/prepare-kernel.sh | 25 +- scripts/prepare-patch.sh | 1 - testsuite/Makefile.in | 35 +- testsuite/clocktest/Makefile.in | 29 +- testsuite/cyclic/Makefile.in | 29 +- testsuite/latency/Makefile.in | 29 +- testsuite/regression/Makefile.in | 35 +- testsuite/regression/posix/Makefile.in | 29 +- testsuite/switchtest/Makefile.in | 29 +- testsuite/unit/Makefile.in | 29 +- testsuite/unit/arith-noinline.c | 8 +- testsuite/unit/arith.c | 18 +- testsuite/unit/mutex-torture.c | 4 +- testsuite/xeno-test/Makefile.in | 39 ++- utils/Makefile.in | 35 +- utils/analogy/Makefile.in | 34 +- utils/can/Makefile.in | 34 +- utils/ps/Makefile.in | 29 +- utils/slackspot/Makefile.in | 29 +- 315 files changed, 8434 insertions(+), 10785 deletions(-) Diff: http://git.xenomai.org/?p=xenomai-forge.git;a=commitdiff;h=bb4f2d9024b45fe816ec8c7aefe7af30844c9660 _______________________________________________ Xenomai-git mailing list Xenomai-git@xenomai.org http://www.xenomai.org/mailman/listinfo/xenomai-git