Commit Graph

27493 Commits

Author SHA1 Message Date
Sebastian Huber
2a0923c528 bsps/sparc: Use calloc()
Close #2242.
2015-01-23 12:55:02 +01:00
Sebastian Huber
ffb1a45e9c psxtests/psx07: Fix printf() statement
Close #2240.
2015-01-23 12:49:44 +01:00
Sebastian Huber
b033e85324 tools: Fix fprintf() statement
Close #2240.
2015-01-23 12:47:46 +01:00
Sebastian Huber
f63e9a3aa8 bsps/powerpc: Fix switch statement in CPU ident
Close #2237.
2015-01-23 11:31:54 +01:00
Sebastian Huber
2f16001d98 libchip: Fix high capacity detection for MMC
Close #2239.
2015-01-23 11:24:01 +01:00
javamonn
2486c49285 grspw: descriptor tables no longer statically allocated 2015-01-22 16:15:42 -05:00
Sebastian Huber
50a50313cc score: Delete superfluous Heap_Statistics::instance
This value depends on the _Heap_Initialize() call sequence and carries
no useful information.
2015-01-22 07:52:50 +01:00
Sebastian Huber
c625a64121 Filesystem: Delete node type operation
Use the fstat handler instead.
2015-01-22 07:52:40 +01:00
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