Sebastian Huber
eb7753437f
Filesystem: Delete unused fsmountme_h handler
2015-02-09 15:38:48 +01:00
Sebastian Huber
b4e52ce90f
fstests/fsrename: Avoid double initialization
2015-02-09 15:38:04 +01:00
Pavel Pisa
cf4dfc1901
arm/tms570: sci context has to be writable because it holds state variable.
...
The structure tms570_sci_context holds state variable
tx_chars_in_hw which holds if and how many characters
(in the optional FIFO support for some Ti SCIs) are submitted
into hardware.
When field is not writable then code breaks when RTEMS
is build for Flash area.
The problem found and analyzed by Martin Galvan from tallertechnologies.
Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz >
2015-02-04 19:36:22 +01:00
Sebastian Huber
924cbd4f42
IMFS: Simplify ino generation
...
The type of ino_t is unsigned long, so it can store a pointer. Avoid a
potential integer overflow.
2015-02-04 19:31:55 +01:00
Sebastian Huber
95308caf58
IMFS: Use rtems_filesystem_make_dev_t_from_pointer
2015-02-04 19:31:55 +01:00
Sebastian Huber
4c14ace6dd
Add rtems_filesystem_make_dev_t_from_pointer()
2015-02-04 19:31:52 +01:00
Sebastian Huber
efd2965abf
Filesystem: Statically initialize rtems_libio_iops
2015-02-04 14:03:49 +01:00
Sebastian Huber
ec0f2df19b
Filesystem: Use rtems_libio_iop_to_descriptor()
...
Drop parameter check from previously unused
rtems_libio_iop_to_descriptor().
2015-02-04 14:03:49 +01:00
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