Commit Graph

27647 Commits

Author SHA1 Message Date
Sebastian Huber
a43a34666e IMFS: Implement variable length node names
This reduces the average node size and adds more flexibility.
2015-02-15 11:26:39 +01:00
Sebastian Huber
f78549221b IMFS: Add CONFIGURE_IMFS_DISABLE_READDIR 2015-02-14 21:34:42 +01:00
Joel Sherrill
5640dd5558 lpc1768_mbed_ahb_ram_eth-testsuite.tcfg: Add ftp01 2015-02-13 16:27:22 -06:00
Joel Sherrill
79b45a1a8e lpc1768_mbed-testsuite.tcfg: Add ftp01 2015-02-13 16:27:22 -06:00
Sebastian Huber
2d84c4e4c1 score: Mention ticket in comment 2015-02-13 22:07:45 +01:00
Sebastian Huber
249766c53f IMFS: Rename CONFIGURE_IMFS_DISABLE_FCHMOD
Rename CONFIGURE_IMFS_DISABLE_FCHMOD to CONFIGURE_IMFS_DISABLE_CHMOD.
2015-02-13 21:26:17 +01:00
Sebastian Huber
40a18d7f9a IMFS: Add CONFIGURE_IMFS_DISABLE_MKNOD_FILE 2015-02-13 21:11:55 +01:00
Sebastian Huber
12eee4fdb5 IMFS: CONFIGURE_USE_MINIIMFS_AS_BASE_FILESYSTEM
Resurrect CONFIGURE_USE_MINIIMFS_AS_BASE_FILESYSTEM.
2015-02-13 20:53:41 +01:00
Joel Sherrill
50f8bfdb14 sapi/Makefile.am: Do not install libsapi.a
sapi/preinstall.am: Regenerated
2015-02-13 11:52:43 -06:00
Sebastian Huber
353506b93e sys/event.h: Update to FreeBSD 9.3 2015-02-13 10:48:35 +01:00
Joel Sherrill
b57a6a711a psxhdrs: Reorganize into subdirectories per .h file and rename files
This is a better organization and makes it clearer which file
is testing which method from which header file.
2015-02-12 15:30:44 -06:00
Joel Sherrill
86076f3f12 psxhdrs: Remove test of pthread_attr_[gs]et_cputime
These methods are no longer in the tree and the API tests should
have been removed.

closes 1981
2015-02-12 15:23:33 -06:00
Joel Sherrill
eedaf9baba psxhdrs: Add tests for <sys/socket.h> API compliance 2015-02-12 15:23:33 -06:00
Joel Sherrill
547c2282ee sys/socket.h: Include <sys/types.h> for ssize_t
closes 2245
2015-02-12 15:23:33 -06:00
Sebastian Huber
a9df916988 IMFS: Add fine grained configuration
Remove miniIMFS.  Statically initialize the root IMFS.

Add configuration options to disable individual
features of the root IMFS, e.g.
  o CONFIGURE_IMFS_DISABLE_CHOWN,
  o CONFIGURE_IMFS_DISABLE_FCHMOD,
  o CONFIGURE_IMFS_DISABLE_LINK,
  o CONFIGURE_IMFS_DISABLE_MKNOD,
  o CONFIGURE_IMFS_DISABLE_MOUNT,
  o CONFIGURE_IMFS_DISABLE_READLINK,
  o CONFIGURE_IMFS_DISABLE_RENAME,
  o CONFIGURE_IMFS_DISABLE_RMNOD,
  o CONFIGURE_IMFS_DISABLE_SYMLINK,
  o CONFIGURE_IMFS_DISABLE_UNMOUNT, and
  o CONFIGURE_IMFS_DISABLE_UTIME.
2015-02-12 20:53:36 +01:00
Sebastian Huber
a2f5c7e1a7 IMFS: Allow static initialization of FS info 2015-02-12 20:53:35 +01:00
Sebastian Huber
11026956c6 IMFS: Fix resource leak 2015-02-12 20:53:35 +01:00
Sebastian Huber
60cf8a5c16 IMFS: Add root directory to FS info
Fix memory leak in IMFS_fsunmount().
2015-02-12 20:53:35 +01:00
Sebastian Huber
9247d3faee IMFS: Simplify IMFS_symlink() 2015-02-12 20:53:35 +01:00
Sebastian Huber
e4d35d82fc IMFS: Split linfile and memfile modules
Make several functions static.
2015-02-12 20:53:34 +01:00
Sebastian Huber
24ec25d2ae IMFS: Introduce IMFS_mknod_control
Drop IMFS_node_control::node_size field and add node_size parameter to
IMFS_allocate_node() and IMFS_create_node().  This reduces the size of
generic nodes.
2015-02-12 20:53:34 +01:00
Sebastian Huber
194eb0074b Filesystem: Use ENOTSUP for default mount/unmount 2015-02-12 20:53:34 +01:00
Daniel Cederman
5efbb6619c grspw: Fix typos 2015-02-11 15:35:30 +01:00
Daniel Cederman
8244a2f447 doc: Document network task affinity option 2015-02-11 15:35:29 +01:00
Daniel Cederman
b92f737c24 doc: Describe new default error handler for Sparc 2015-02-11 15:35:27 +01:00
Daniel Cederman
8d8573acc8 smpcapture02: Add test of functionality to add custom entries to capture trace 2015-02-11 15:35:26 +01:00
Daniel Cederman
0c94a46fa3 bsp/sparc: Move BSP_ISR_handler to a separate file and rename it
This allows it to be wrapped by another function at link-time
and can be used to trace interrupts. If not placed in a separate
file, the function pointer address used in BSP_shared_interrupt_init
will be resolved at compile-time, and the function will not be wrappable.
2015-02-11 15:35:23 +01:00
Hesham ALMatary
1c7ee732fc or1k/cpu.c: Eliminate dependency on BSP provided header 2015-02-10 14:18:27 -06:00
Sebastian Huber
16939b1876 Filesystem: Simplify FIFO and pipe configuration 2015-02-09 19:09:23 +01:00
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