Commit Graph

32141 Commits

Author SHA1 Message Date
Hesham Almatary
9cda6f29a7 riscv: Allow platforms with no PLIC to proceed
Spike simulator and QEMU's spike_v1.10 don't have a PLIC
2018-09-17 14:22:17 +02:00
Sebastian Huber
62cb39d7fe bsp/tqm8xx: Remove unused files
Close #3513.
2018-09-17 08:56:32 +02:00
Sebastian Huber
688e101a65 bsp/tqm8xx: Fix polled vs. interrupt output
Update #3513.
2018-09-17 08:56:32 +02:00
Sebastian Huber
d22147e072 bsp/tqm8xx: Convert console to new Termios API
Update #3513.
2018-09-17 08:56:32 +02:00
Sebastian Huber
68920e7f92 bsp/tqm8xx: Move DMA support to channel descriptor
Update #3513.
2018-09-17 08:56:32 +02:00
Sebastian Huber
53fb03fe3d bsp/tqm8xx: Move rxBuf to channel descriptor
Update #3513.
2018-09-17 08:56:32 +02:00
Sebastian Huber
7b93d8570e bsp/tqm8xx: Use IRQ extensions API
Update #3513.
2018-09-17 08:56:32 +02:00
Sebastian Huber
94ea8a8b49 bsp/tqm8xx: Clear sbss section 2018-09-17 08:56:32 +02:00
Sebastian Huber
7916139eab bsp/tqm8xx: Use custom string to uint32_t
Avoid C locale support which is not available at this stage.
2018-09-17 08:56:31 +02:00
Sebastian Huber
fe283f6c77 powerpc: Fix _CPU_Counter_read() for MPC860
The mpc860 is a RTEMS-specific multilib define, see GCC
"gcc/config/rs6000/rtems.h".
2018-09-17 08:56:31 +02:00
Sebastian Huber
aaa6653b72 score: Fix PER_CPU_DATA_ITEM_DECLARE()
Fix PER_CPU_DATA_ITEM_DECLARE() for targets with a small-data area.

Update #3507.
2018-09-17 08:56:27 +02:00
Sebastian Huber
1fe1b820de score: Fix PER_CPU_DATA_GET_BY_OFFSET()
Add uniprocessor version for PER_CPU_DATA_GET_BY_OFFSET().  Fix warnings
in uniprocessor configurations.

Update #3507.
2018-09-10 12:01:50 +02:00
Sebastian Huber
e58f1cd381 Add more dummy values to <sys/priority.h>
Update #3472.
2018-09-10 10:38:45 +02:00
Sebastian Huber
709796209c score: Add thread pin/unpin support
Add support to temporarily pin a thread to its current processor.  This
may be used to access per-processor data structures in critical sections
with enabled thread dispatching, e.g. a pinned thread is allowed to
block.

Update #3508.
2018-09-10 10:38:45 +02:00
Sebastian Huber
d8bc0730f7 score: Modify _Scheduler_Unblock()
In SMP configurations, obtain the scheduler node for the block and
unblock operations through the same way via
Thread_Control::Scheduler::Scheduler_node.  This symmetry is important
in a follow up patch which introduces thread pinning.

Update #3508.
2018-09-10 10:38:45 +02:00
Sebastian Huber
cfc4231d8f score: Add flexible per-CPU data
Update #3507.
2018-09-10 10:38:45 +02:00
Sebastian Huber
77d374f580 cpukit/Makefile.am: Cleanup 2018-09-10 10:38:45 +02:00
Sebastian Huber
cb682532cf network: Use kernel/user space header files
Add and use <machine/rtems-bsd-kernel-space.h> and
<machine/rtems-bsd-user-space.h> similar to the libbsd to avoid command
line defines and defines scattered throught the code base.

Simplify cpukit/libnetworking/Makefile.am.

Update #3375.
2018-09-10 10:38:44 +02:00
Sebastian Huber
43fb904e47 network: Remove man page installation
The man page installation is broken since 2004-01-11 (commit
8c31a89fdf).  Nobody complained about
this, so just remove some dead code from the Makefile.am.
2018-09-10 10:38:44 +02:00
Sebastian Huber
eae4d14787 network: Remove unused files 2018-09-10 10:38:44 +02:00
Sebastian Huber
d9296d246c Move <poll.h> to set of default header files
The <poll.h> is a POSIX header file and just includes <sys/poll.h> which
contains the real content.
2018-09-10 10:38:44 +02:00
Sebastian Huber
ea0a680ac6 score: Debug aid for _Chain_Extract_unprotected()
Ensure that a chain node is not off chain while doing the chain extract.
2018-09-10 10:38:44 +02:00
Sebastian Huber
2d1c3dff12 nfsclient: Fix unused variable warning 2018-09-07 07:34:09 +02:00
Sebastian Huber
0e907232e0 sptests/spconfig01: New test
Close #3435.
2018-09-06 07:12:38 +02:00
Sebastian Huber
2f61eb210c bsp/qoriq: Add struct qoriq to allow forward decls 2018-09-06 07:04:35 +02:00
Sebastian Huber
54d87f2e52 bsps/powerpc: Simplify ppc_exc_initialize()
Remove parameters from ppc_exc_initialize() since all BSPs passed the
same values.

Update #3459.
2018-09-06 07:04:28 +02:00
Sebastian Huber
9a21fc7383 bsp/mpc55xxevb: Fix format warning
Close #3504.
2018-09-05 07:38:47 +02:00
Sebastian Huber
ccdce9d8f6 libchip/ata: Fix ATA_DRIVER_TABLE_ENTRY
Drop unused and deprecated functions from the ATA_DRIVER_TABLE_ENTRY.

Update #3358.
Close #3510.
2018-09-05 07:34:00 +02:00
Sebastian Huber
e0a9336bf9 score: Fix EDF SMP scheduler
Fix a special case: block a one-to-one scheduled thread while having a
non-empty affine ready queue on the same processor.
2018-09-03 09:37:35 +02:00
Sebastian Huber
3aad9d9b08 score: Generalize SMP scheduler block support
Add extract from scheduled function to the _Scheduler_SMP_Block()
operation.  This allows a scheduler implementation to do extra work in
case a scheduled node is blocked.
2018-09-03 09:37:31 +02:00
Sebastian Huber
fad3f79b88 bsps: BSP_INTERRUPT_STACK_AT_WORK_AREA_BEGIN
Remove the BSP_INTERRUPT_STACK_AT_WORK_AREA_BEGIN hack.  The interrupt
stacks are now allocated by the linker.

Update #3459.
2018-09-03 07:03:09 +02:00
Joel Sherrill
7b1a711d3b bootstrap: Correct help message
closes #3509.
2018-08-30 08:41:17 -05:00
Joel Sherrill
66e788547e Remove bsps/sparc64/shared/helenos/boot/generic/string.c 2018-08-29 12:52:12 -05:00
Joel Sherrill
9b5b864d03 rtems/score/epiphany-utility.h: Fix not a prototype warning 2018-08-29 12:52:12 -05:00
Joel Sherrill
bc6964829c score/cpu/bfin/cpu.c: Fix _CPU_Thread_Idle_body() prototype 2018-08-29 12:52:11 -05:00
Joel Sherrill
5da159312c psim/include/tm27.h: Fix not a prototype warnings 2018-08-29 12:52:11 -05:00
Joel Sherrill
a8d3f10f6f mvme5500/include/tm27.h: Fix not a prototype warnings 2018-08-29 12:52:11 -05:00
Joel Sherrill
a5c3bfbc60 uC5282/clock/clock.c: Correct bsp_idle_thread() prototype 2018-08-29 12:52:11 -05:00
Joel Sherrill
34e959fa86 gen68340/include/m340timer.h: Fix not a prototype warnings 2018-08-29 12:52:10 -05:00
Joel Sherrill
76ac42ff9a lpc32xx/include/bsp.h: Resolve set but not used warning 2018-08-29 12:52:10 -05:00
Joel Sherrill
350b07a036 monlib.[ch]: Fix warnings for external vs internal use of .h 2018-08-29 12:52:10 -05:00
Joel Sherrill
60702abaf2 qoriq/include/tm27.h: Fix warnings 2018-08-29 12:52:09 -05:00
Joel Sherrill
126a4544cc gen5200/include/tm27.h: Fix warnings 2018-08-29 12:52:09 -05:00
Joel Sherrill
c80f5afcb3 mpc55xxevb/clock/clock-config.c: Remove unused mpc55xx_clock_cleanup() method 2018-08-29 12:52:09 -05:00
Joel Sherrill
76b3f8c3f0 gen5200/include/bsp/bestcomm.h: Fix unused variable warning 2018-08-29 12:52:09 -05:00
Joel Sherrill
bb6eeabf8d bsps/i386/shared/cache/cache.c: Fix warnings 2018-08-29 12:52:08 -05:00
Joel Sherrill
c2e8ed6c81 gdbarmsim/include/bsp.h: Fix warnings 2018-08-29 12:52:08 -05:00
Joel Sherrill
14a218fd20 cpukit/telnetd/pty.c: Fix format overflow warning on sprintf()
cpukit/telnetd/pty.c:436:47: warning: '%X' directive writing between
   1 and 8 bytes into a region of size 3 [-Wformat-overflow=]

The devname area was malloc'ed. Now it is statically allocated and
sufficiently large to account for the potential buffer overflow.
2018-08-29 12:52:08 -05:00
Joel Sherrill
cba349cf30 bsps/m68k/shared/cache/cache.h: Fix warnings and clean up 2018-08-29 12:52:08 -05:00
Sebastian Huber
9e8bba5650 score: Remove redundant #ifdef RTEMS_SMP 2018-08-29 07:53:25 +02:00