Commit Graph

27710 Commits

Author SHA1 Message Date
Sebastian Huber
97db9e3030 Filesystem: Delete rtems_libio_last_iop 2015-02-04 14:03:49 +01:00
Sebastian Huber
ead010cd3c Filesystem: Make rtems_libio_number_iops const 2015-02-04 14:03:49 +01:00
Nick Withers
d11b711b3e bsps/powerpc: Fix a clock driver
PowerPC Book E: Account for an extra tick period if a tick increment's
pending.

Close #2230.
2015-01-30 06:57:00 +01:00
Sebastian Huber
40d062f5cb IMFS: Reduce IMFS node types
Provide only types used by IMFS_mknod().
2015-01-28 18:47:19 +01:00
Sebastian Huber
29fa2419bf IMFS: Aggregate link support in dedicated modules 2015-01-28 18:25:49 +01:00
Sebastian Huber
cf36b70e8d IMFS: Replace node union with individual struct
This reduces the average node size.

Add and use IMFS_GENERIC_INITIALIZER().
2015-01-27 06:54:22 +01:00
Joel Sherrill
369328f00f user/conf.t: Fix typo 2015-01-26 16:22:21 -06:00
Joel Sherrill
081a6971d9 sys/socket.h: Add include of <sys/_types.h> for ssize_t
This was needed to make it possible to only include <sys/socket.h>
for the methods in this file in compliance with the POSIX
specification. This was identified by the Open Group FACE
Conformance Test Suite.

Close 2245.
2015-01-23 09:46:59 -06:00
Joel Sherrill
80bfd3abee psx07: Add missing parameter to printf() call
Close 2241.

Conflicts:
	testsuites/psxtests/psx07/init.c
2015-01-23 09:46:48 -06:00
Joel Sherrill
296846acec mcf5206elite/include/i2c.h: Fix spelling error 2015-01-23 09:45:23 -06:00
Joel Sherrill
b1dcae0db6 stm32f4/.../stm32f105rc-testsuite.tcfg: Add more tests 2015-01-23 09:45:23 -06:00
Joel Sherrill
3d3455081a lpc24xx/.../lpc23xx_tli800-testsuite.tcfg: Add more tests 2015-01-23 09:45:22 -06:00
Joel Sherrill
b302880e75 lpc24xx/.../lpc2362-testsuite.tcfg: Add more tests 2015-01-23 09:45:22 -06:00
Joel Sherrill
05eaca89b9 lm3s69xx/.../lm3s6965-testsuite.tcfg: Add more tests 2015-01-23 09:45:22 -06:00
Joel Sherrill
c1c45f503c lm3s69xx/.../lm3s3749-testsuite.tcfg: Add more tests 2015-01-23 09:45:22 -06:00
Sebastian Huber
e6a7896f35 bsp/altera-cyclone-v: Use proper free function 2015-01-23 14:49:36 +01:00
Sebastian Huber
c8cd4ff52b libnetworking: Fix memset() call
Close #2244.
2015-01-23 12:56:53 +01:00
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