Sebastian Huber
60d39b66e0
powerpc: Fix AltiVec VSCR save/restore
2015-01-20 14:01:50 +01:00
Sebastian Huber
f87ede57a2
libnetworking: Fix close of active sockets
...
Send a special event to notify tasks waiting for a socket state change
in case this socket gets closed. This prevents a use after free.
Close #785 .
2015-01-20 07:11:58 +01:00
Sebastian Huber
51c88e8bf4
libnetworking: Delete dead code
...
The so_uid is always 0 in RTEMS.
2015-01-20 07:08:30 +01:00
Sebastian Huber
f2f39f3c92
libnetworking: Avoid spurious event delivery
...
The so_pgid field contains the task identifier if this task waits for
the SOSLEEP_EVENT event. Do not inherit this from the accept socket.
2015-01-20 07:08:30 +01:00
Marcos Diaz
8a7048ac5e
Fixed dl01 and dl02 makefiles
2015-01-20 07:53:51 +11:00
Sebastian Huber
ac6e8c404f
libnetworking: Simplify sbwait()
2015-01-15 11:30:13 +01:00
Sebastian Huber
f1c044dc29
bsps/powerpc: Fix conditional compilation
2015-01-14 20:07:59 +01:00
Sebastian Huber
6042fdb7dd
bsp/mcf5206elite: Remove <i2c.h> inlude in <bsp.h>
...
This prevents a compile-time error in libtests/i2c01.
2015-01-14 07:53:00 +01:00
Sebastian Huber
77c5ddd496
smptests/smpmrsp01: Fix task delete race condition
...
Do not supsend self while waiting for termination since the
rtems_task_delete() may take place while the rtems_task_suspend() waits
for the Giant lock preventing delivery of the inter-processor interrupt.
The result is a suspended and terminated thread (this is a valid state,
but leads in this case to a test failure).
2015-01-14 07:40:49 +01:00
Joel Sherrill
125e23bdcf
tools/cpu/nios2/ptf.c: Add include to fix warnings
2015-01-13 15:41:32 -06:00
Joel Sherrill
85dbf520f8
libcpu/powerpc/mpc6xx/mmu/bat.c: Now compiles with gcc 5.x
2015-01-13 15:41:32 -06:00
Sebastian Huber
f2e6c3e84a
bsp/qoriq: Add T2080RDB and T4240RDB variants
2015-01-13 11:38:18 +01:00
Sebastian Huber
3e2647a714
powerpc: AltiVec and FPU context support
...
Add AltiVec and FPU support to the Context_Control in case we use the
e6500 multilib.
Add PPC_MULTILIB_ALTIVEC and PPC_MULTILIB_FPU multilib defines. Add
non-volatile AltiVec and FPU context to Context_Control. Add save/restore of
non-volatile AltiVec and FPU to _CPU_Context_switch(). Add save/restore
of volatile AltiVec and FPU context to the exception code. Adjust data
cache optimizations for the new context and cache line size.
2015-01-13 11:37:28 +01:00
Sebastian Huber
c279d0a33f
bsps/powerpc: Use e500 exc categories for e6500
...
This is not correct, but works for now.
2015-01-13 11:37:28 +01:00
Sebastian Huber
99a1f1229f
nios2: Disable assembler warning
...
Close #2232 .
2015-01-13 11:37:28 +01:00
Anthony Green
5139d21430
moxiesim: Add conditional logic to handle old and new gas syntax
2015-01-10 13:04:06 -06:00
Sebastian Huber
5759510c96
arm: Fix compile error for ARMv6-M multilib
...
ARMv6-M is not supported since we cannot directly use the ARMv7-M code
due to some inline assembler statements.
Close #2231 .
2015-01-09 14:06:41 +01:00
Sebastian Huber
b1268e6d6b
powerpc: Add AltiVec register ASM defines
2015-01-09 14:05:46 +01:00
Sebastian Huber
2e19bfde2f
powerpc: Use PPC_HAS_FPU
...
Provide floating point context support only if PPC_HAS_FPU == 1.
2015-01-09 14:05:46 +01:00
Sebastian Huber
0d0095f1f0
powerpc: Add PPC_STACK_ALIGN_POWER
...
Simplify PPC_STACK_ALIGNMENT definition.
2015-01-09 14:05:46 +01:00
Sebastian Huber
7c16e1a514
powerpc: Set PPC_DEFAULT_CACHE_LINE_SIZE for e6500
2015-01-09 14:05:08 +01:00
Sebastian Huber
84d3b9b0a2
powerpc: Use PPC_DEFAULT_CACHE_LINE_SIZE
...
Use it for the default PPC_CACHE_ALIGNMENT. Use it for
PPC_STRUCTURE_ALIGNMENT.
2015-01-09 14:03:35 +01:00
Sebastian Huber
7f28f23726
powerpc: Delete _CPU_IRQ_info
2015-01-09 14:03:35 +01:00
Sebastian Huber
bb7bd148ba
powerpc: Use alternate time base for CPU counter
2015-01-09 14:03:35 +01:00
Sebastian Huber
691cc20289
bsp/qoriq: Fix nanoseconds extension
2015-01-09 14:03:35 +01:00
Sebastian Huber
a532301c30
bsp/qoriq: Increase MAS0[ESEL] width
2015-01-09 14:03:34 +01:00
Sebastian Huber
0e05095ab5
bsp/qoriq: Add MAS7 support for MMU
...
This enables usage of the full real address space which is 40-bit on the
T2080 for example.
2015-01-09 14:03:34 +01:00
Sebastian Huber
71b611d172
bsps/powerpc: ppc_exc_initialize_interrupt_stack()
2015-01-09 14:03:34 +01:00
Sebastian Huber
7bad67256e
bsps/powerpc: Add TMR access macros
2015-01-09 14:03:34 +01:00
Sebastian Huber
c32a128cb2
bsps/powerpc: Add cache size functions
2015-01-09 14:03:34 +01:00
Sebastian Huber
7d26f60a1b
bsps/powerpc: Delete C pre-processor warning
...
Do not warn about not implemented cache functions.
2015-01-09 14:03:34 +01:00
Sebastian Huber
494df99f1c
bsps/powerpc: Support for 64 byte cache lines
2015-01-09 14:03:33 +01:00
Sebastian Huber
5175ac6a87
bsps/powerpc: Support a cache alignment of 64
...
Give the BSP the ability to define PPC_CACHE_ALIGNMENT.
2015-01-09 14:03:33 +01:00
Sebastian Huber
f6660bfba4
bsps/powerpc: Support e6500 indentification
2015-01-09 14:03:33 +01:00
Sebastian Huber
06251bb415
bsps/u-boot: Add optional text and data sections
2015-01-09 14:03:33 +01:00
Sebastian Huber
b79f98f68a
bsps/u-boot: Update due to API changes
2015-01-09 14:03:33 +01:00
Sebastian Huber
fca5892454
bsps/mpc83xx: Fix warnings
2015-01-09 14:03:33 +01:00
Sebastian Huber
b3ed66a17f
libtests/crypt01: Increase stack size
2015-01-09 14:03:32 +01:00
Sebastian Huber
e7d175affb
smptests/smpwakeafter01: Fix task count
2015-01-09 14:03:32 +01:00
Sebastian Huber
ad0743db07
smptests/smpmrsp01: Update run indicator only once
...
On the Freescale T2080 the excessive concurrent write/read lead to a
livelock condition.
2015-01-09 14:03:32 +01:00
Sebastian Huber
2a4f9d7f18
smp: Add and use _SMP_Should_start_processor()
2015-01-09 14:03:32 +01:00
Sebastian Huber
cfe6d05e3b
capture: Fix lock initialization
2015-01-09 14:03:32 +01:00
Joel Sherrill
7cdabc49ca
pc386: Add Edison base support
...
The current support for the Edison supports a single polled
UART for input and output plus a simulated clock tick. The
activities forward for supporting the Edison have been posted
on the RTEMS mailing lists and at:
http://rtemsramblings.blogspot.com/2014/12/intel-edison-and-rtems-road-forward.html
2015-01-04 13:44:57 -06:00
Joel Sherrill
09220c8129
untar.c: Coverity ID 26151 and reformat
...
The Coverity issue was an ignored return value from a read()
in a loop which should have been a seek() since the data
read was ignored.
The file itself needed reformatting to conform to RTEMS style.
2015-01-04 13:44:57 -06:00
Joel Sherrill
1ae7baf2d8
clock_driver_simidle.c: Add BSP_CLOCK_DRIVER_DELAY
...
This allows the BSP to define an optional spin delay which is
useful for making time appear to pass at a rate closer to
wall time. On the Edison, this was used with a polled console
driver to slow polling to a reasonable rate and make time
pass reasonably close to correctly even with no clock tick
support.
2015-01-04 13:44:57 -06:00
Joel Sherrill
0a36af04bb
pc386: Add BSP_ENABLE_COM1_COM4 BSP option
...
This allows the support for the legacy COM1-COM4 serial ports
to be completely disabled. It is needed to prevent hangs on some
hardware. In particular, the Intel Edison where it is not present.
2015-01-04 13:44:56 -06:00
Joel Sherrill
93546b879f
pc386: Add BSP_ENABLE_IDE BSP option
...
This allows the IDE support to be completely disabled. It is needed to
prevent hangs on some hardware. In particular, the Intel Edison where
it is not present.
2015-01-04 13:44:56 -06:00
Joel Sherrill
607c85465d
pc386: Add BSP_ENABLE_VGA BSP option
...
This allows the VGA and keyboard console to be completely disabled.
It is useful on PCs without displays and prevents a very slow boot
time on the Intel Edison.
2015-01-04 13:44:56 -06:00
Nick Withers
86364e8c6a
Correct error return mismatches
...
Closes #2139
2014-12-23 22:49:26 -05:00
Nick Withers
2d5c486914
Use fixed-width C99 types for PowerPC in_be16() and co.
...
Also use the const qualifier on the address pointer's target in in_*()
Closes #2128
2014-12-23 22:40:32 -05:00