Module: xenomai-3 Branch: wip/dovetail Commit: 61a2cce71d5f60fb2a9409dc07f77cd991d7215c URL: http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=61a2cce71d5f60fb2a9409dc07f77cd991d7215c
Author: Philippe Gerum <r...@xenomai.org> Date: Tue Dec 29 10:15:25 2015 +0100 cobalt/kernel: WIP: convert to dovetail interface This is work in progress, with more changes expected from the IRQ pipeline and dovetail interfaces. --- include/cobalt/kernel/Makefile.am | 2 +- include/cobalt/kernel/apc.h | 79 --- include/cobalt/kernel/assert.h | 6 +- include/cobalt/kernel/clock.h | 40 +- include/cobalt/kernel/coreclk.h | 63 ++ include/cobalt/kernel/intr.h | 62 +- include/cobalt/kernel/lock.h | 43 +- include/cobalt/kernel/rtdm/driver.h | 13 +- include/cobalt/kernel/sched.h | 52 +- include/cobalt/kernel/thread.h | 16 +- include/cobalt/kernel/timer.h | 19 +- include/cobalt/kernel/trace.h | 23 +- include/cobalt/uapi/kernel/thread.h | 2 - include/rtdm/uapi/testing.h | 4 +- kernel/cobalt/Kconfig | 2 +- kernel/cobalt/Makefile | 4 +- kernel/cobalt/apc.c | 160 ----- kernel/cobalt/arch/arm/Kconfig | 3 - kernel/cobalt/arch/arm/Makefile | 2 +- .../cobalt/arch/arm/include/asm/xenomai/machine.h | 17 +- .../cobalt/arch/arm/include/asm/xenomai/syscall.h | 11 +- .../cobalt/arch/arm/include/asm/xenomai/thread.h | 62 +- kernel/cobalt/arch/arm/machine.c | 58 +- kernel/cobalt/arch/arm/mayday.c | 1 - kernel/cobalt/arch/arm/switch.S | 167 ------ kernel/cobalt/arch/arm/syscall.c | 15 +- kernel/cobalt/arch/arm/thread.c | 297 +--------- .../arch/arm64/include/asm/xenomai/machine.h | 2 - .../cobalt/arch/arm64/include/asm/xenomai/thread.h | 9 +- kernel/cobalt/arch/arm64/machine.c | 56 -- kernel/cobalt/arch/arm64/mayday.c | 1 - kernel/cobalt/arch/arm64/syscall.c | 13 +- kernel/cobalt/arch/arm64/thread.c | 9 +- .../arch/blackfin/include/asm/xenomai/machine.h | 2 - .../arch/blackfin/include/asm/xenomai/thread.h | 3 +- kernel/cobalt/arch/blackfin/machine.c | 6 - kernel/cobalt/arch/blackfin/mayday.c | 1 - kernel/cobalt/arch/blackfin/thread.c | 7 +- .../arch/powerpc/include/asm/xenomai/machine.h | 2 - .../arch/powerpc/include/asm/xenomai/thread.h | 7 +- kernel/cobalt/arch/powerpc/machine.c | 6 - kernel/cobalt/arch/powerpc/mayday.c | 1 - kernel/cobalt/arch/powerpc/thread.c | 3 +- .../arch/x86/include/asm/xenomai/calibration.h | 31 +- .../cobalt/arch/x86/include/asm/xenomai/machine.h | 2 - .../arch/x86/include/asm/xenomai/syscall32.h | 4 +- .../cobalt/arch/x86/include/asm/xenomai/thread.h | 7 +- kernel/cobalt/arch/x86/machine.c | 36 -- kernel/cobalt/arch/x86/mayday.c | 1 - kernel/cobalt/arch/x86/thread.c | 6 +- kernel/cobalt/clock.c | 328 +++-------- kernel/cobalt/coreclk.c | 609 ++++++++++++++++++++ kernel/cobalt/debug.c | 3 +- .../cobalt/include/asm-generic/xenomai/machine.h | 23 +- kernel/cobalt/include/asm-generic/xenomai/thread.h | 3 - .../include/{ipipe => dovetail}/thread_info.h | 11 +- kernel/cobalt/init.c | 149 +++-- kernel/cobalt/intr.c | 489 +++++++--------- kernel/cobalt/pipe.c | 15 +- kernel/cobalt/posix/clock.c | 4 +- kernel/cobalt/posix/clock.h | 2 +- kernel/cobalt/posix/corectl.c | 13 +- kernel/cobalt/posix/io.c | 1 + kernel/cobalt/posix/process.c | 223 +++---- kernel/cobalt/posix/process.h | 7 +- kernel/cobalt/posix/syscall.c | 51 +- kernel/cobalt/posix/thread.c | 3 +- kernel/cobalt/procfs.c | 42 -- kernel/cobalt/registry.c | 217 ++++--- kernel/cobalt/rtdm/core.c | 1 - kernel/cobalt/rtdm/drvlib.c | 65 +-- kernel/cobalt/rtdm/fd.c | 38 +- kernel/cobalt/sched.c | 131 ++--- kernel/cobalt/select.c | 19 +- kernel/cobalt/thread.c | 230 +++----- kernel/cobalt/timer.c | 343 ++--------- kernel/cobalt/trace/cobalt-core.h | 26 +- kernel/drivers/testing/switchtest.c | 29 +- kernel/drivers/testing/timerbench.c | 1 - scripts/Kconfig.frag | 3 +- scripts/prepare-kernel.sh | 8 +- testsuite/switchtest/switchtest.c | 29 +- 82 files changed, 1642 insertions(+), 2912 deletions(-) Diff: http://git.xenomai.org/?p=xenomai-3.git;a=commitdiff;h=61a2cce71d5f60fb2a9409dc07f77cd991d7215c _______________________________________________ Xenomai-git mailing list Xenomai-git@xenomai.org https://xenomai.org/mailman/listinfo/xenomai-git