arch/all-unix: Use pthreads to implement SMP
authorJason S. McMullan <jason.mcmullan@gmail.com>
Mon, 12 Aug 2013 04:30:52 +0000 (00:30 -0400)
committerJason S. McMullan <jason.mcmullan@gmail.com>
Fri, 27 Sep 2013 02:46:33 +0000 (22:46 -0400)
commitf614af656e81376623f4108ccd305933eb1d1282
tree2bbbdc794d8a95cc715da88b4f9da5da5dc88187
parentaab274d0e47b3591a2377b5ebdc2de6e5dd3a306
arch/all-unix: Use pthreads to implement SMP

usage:

AROSBootstrap --cpus N

If N > 1, then you will be running in SMP mode.

The 'CPU0' thread handles all external signals,
SIGUSR1, and SIGUSR2.

All other threads use SIGURG for 'irq' style signals, and
SIGSYS for 'syscall' style signals.

Signed-off-by: Jason S. McMullan <jason.mcmullan@gmail.com>
25 files changed:
AROS/_gdbinit
AROS/arch/all-linux/kernel/cpu_arm.h
AROS/arch/all-linux/kernel/cpu_i386.h
AROS/arch/all-linux/kernel/cpu_ppc.h
AROS/arch/all-linux/kernel/cpu_x86_64.h
AROS/arch/all-unix/kernel/allockernelbase.c
AROS/arch/all-unix/kernel/cli.c
AROS/arch/all-unix/kernel/coretest.c
AROS/arch/all-unix/kernel/getcpucount.c [new file with mode: 0644]
AROS/arch/all-unix/kernel/getcpunumber.c [new file with mode: 0644]
AROS/arch/all-unix/kernel/getcpustorage.c [new file with mode: 0644]
AROS/arch/all-unix/kernel/issuper.c
AROS/arch/all-unix/kernel/kernel.c
AROS/arch/all-unix/kernel/kernel_cpu.c
AROS/arch/all-unix/kernel/kernel_intern.h
AROS/arch/all-unix/kernel/kernel_intr.c
AROS/arch/all-unix/kernel/kernel_startup.c
AROS/arch/all-unix/kernel/kernel_unix.h
AROS/arch/all-unix/kernel/mmakefile.src
AROS/arch/all-unix/kernel/setcpuentry.c [new file with mode: 0644]
AROS/arch/all-unix/kernel/setcpustorage.c [new file with mode: 0644]
AROS/arch/all-unix/kernel/smp.c [new file with mode: 0644]
AROS/arch/all-unix/kernel/sti.c
AROS/configure
AROS/configure.in