Commit Graph

2710 Commits

Author SHA1 Message Date
Cynthia Rempel
3169affa16 tmoverhd.doc
Hi,
Adding test documentation...
2013-01-06 08:26:21 -05:00
Christopher Kerl
3106d7cdd0 IMFS: Generating .scn (Screen Shots) #2 2013-01-02 11:37:07 -06:00
Sebastian Huber
355ca1ad9d sptests/spintrcritical16: Fix NULL pointer access 2013-01-02 16:31:55 +01:00
Sebastian Huber
fe62f3aa57 libtests/rbheap01: Add test cases 2012-12-22 17:42:11 +01:00
Sebastian Huber
11c10b8ba1 sptests/speventsystem01: Add test cases 2012-12-22 16:48:45 +01:00
Sebastian Huber
aaee3a9179 libtests/malloctest: Add test case 2012-12-22 16:41:08 +01:00
Sebastian Huber
d8efe3dc71 libtests/malloctest: Add test case 2012-12-22 16:28:26 +01:00
Sebastian Huber
72c686167d libblock: Use rtems_blkdev_create_partition()
Use rtems_blkdev_create_partition() instead of rtems_disk_create_log()
to avoid problems with the huge IMFS_GENERIC_DEVICE_MAJOR_NUMBER.
2012-12-21 15:45:55 +01:00
Sebastian Huber
3b91605e84 IMFS: Fix resource leak in IMFS_allocate_node() 2012-12-21 15:45:55 +01:00
Sebastian Huber
c5d27600f9 libcsupport: Add rtems_resource_snapshot_take()
Add rtems_resource_rtems_api, rtems_resource_posix_api,
rtems_resource_snapshot, rtems_resource_snapshot_equal(), and
rtems_resource_snapshot_check().
2012-12-21 15:45:51 +01:00
Sebastian Huber
fe1dc221b6 score: Add _Objects_Active_count() 2012-12-21 15:40:27 +01:00
Sebastian Huber
cbd07e4ce0 score: Add rtems_chain_node_count_unprotected() 2012-12-21 15:40:27 +01:00
Sebastian Huber
c40f36b08b libtests/md501: Use test cases of RFC 2202 2012-12-16 21:38:27 +01:00
Sebastian Huber
f95d74a4ad libtests/md501: New test 2012-12-16 17:33:57 +01:00
Sebastian Huber
4b8e01f7c5 dosfs: Add sync_device option for msdos_format() 2012-12-13 11:38:53 +01:00
Ralf Kirchner
465b086534 dosfs: Bugfix for disks of for example 100MB size 2012-12-13 11:38:52 +01:00
Sebastian Huber
b0da579608 termios: Implement tcflush()
New IO control RTEMS_IO_TCFLUSH.
2012-12-13 11:36:37 +01:00
Sebastian Huber
ad13ebe071 termios: Fix tcflow() error status 2012-12-13 11:36:37 +01:00
Sebastian Huber
48bff53b3d score: rtems_initialize_start_multitasking()
Do not return from rtems_initialize_start_multitasking() and call
rtems_fatal() instead with a fatal source of RTEMS_FATAL_SOURCE_EXIT and
a fatal code with the exit status.

Remove all bsp_cleanup() functions.  The boot_card() is now a no return
function.
2012-12-07 09:38:41 +01:00
Sebastian Huber
f9340ed7f4 posix: Add and use <rtems/posix/psignalimpl.h>
This file contains the parts of <rtems/posix/psignal.h> that are only
necessary for the POSIX API implementation.
2012-12-05 18:07:05 +01:00
Ralf Kirchner
42a22f0824 dosfs: Cluster write optimization
Separate cluster write from sector write for quick file write.

New test fstests/fsdosfswrite01.
2012-12-05 15:26:48 +01:00
Ralf Kirchner
a20fbe78ec dosfs: Block size optimization
Change block size of bdbuf to the cluster size if the data clusters are
aligned on a cluster boundary.  This enables fast access to data
clusters.
2012-12-05 15:26:48 +01:00
Ralf Kirchner
5877a10fe2 fstests/fsdosfsformat01: New test 2012-12-05 15:26:47 +01:00
Ralf Kirchner
a0bc1dcbe8 dosfs: Delete fattype parameter for msdos_format()
Delete fattype parameter of msdos_format_request_param_t because the FAT
type is determined by cluster and disk size.

Estimate FAT type and re-evaluate FAT type after exact parameter
determination.
2012-12-05 15:26:47 +01:00
Ralf Kirchner
5b8d935ab3 dosfs: Add skip_alignment for msdos_format()
Add skip_alignment parameter of msdos_format_request_param_t.  Delete
cluster_align parameter of msdos_format_request_param_t.

By default the FAT, data cluster, and root directory for FAT12 and FAT16
is aligned on a cluster boundary to optimize performance.

Format changes throughout.
2012-12-05 15:26:47 +01:00
Ralf Kirchner
7fab7fc0cf libblock: Add sparse disk 2012-12-05 15:26:47 +01:00
Sebastian Huber
815994fd17 score: Add CPU_Exception_frame
Add CPU port type CPU_Exception_frame and function
_CPU_Exception_frame_print().

The CPU ports of avr, bfin, h8300, lm32, m32c, m32r, m68k, nios2, sh,
sparc64, and v850 use an empty default implementation of
_CPU_Exception_frame_print().

Add rtems_exception_frame and rtems_exception_frame_print().

Add RTEMS_FATAL_SOURCE_EXCEPTION for CPU exceptions.  Use rtems_fatal()
with source RTEMS_FATAL_SOURCE_EXCEPTION in CPU ports of i386, powerpc,
and sparc for unexpected exceptions.

Add third parameter to RTEMS_BSP_CLEANUP_OPTIONS() which controls the
BSP_PRINT_EXCEPTION_CONTEXT define used in the default
bsp_fatal_extension().

Add test sptests/spfatal26.
2012-11-27 17:03:40 +01:00
Joel Sherrill
d82a931f14 psxtmtests_plan.csv: Identify Conditional Variable Cases 2012-11-25 18:53:39 -06:00
Sebastian Huber
acec386c75 Filesystem: PR1619: Use ENOSYS for default statvfs
POSIX does not specify an error number in case the file system does not
support this call.  Use the Linux value.
2012-11-22 17:33:13 +01:00
Sebastian Huber
3be0c9afa3 score: Add and use <rtems/score/userextimpl.h>
This file contains the parts of <rtems/score/userext.h> that are only
necessary for the RTEMS implementation.
2012-11-22 16:35:07 +01:00
Sebastian Huber
0268adb3dd fstests/fsfseeko01: Add test cases 2012-11-22 16:35:05 +01:00
Sebastian Huber
fe0f24ea39 ftpfs: Use SIZE command 2012-11-21 16:38:34 +01:00
Sebastian Huber
c1e350ca90 sptests/spcbssched02: PR2081: Workaround
Avoid uninitialized stack variable.  This is not a proper fix.  It is
not clear what the task should do if argument != 1.
2012-11-21 16:38:34 +01:00
Sebastian Huber
3fbcadfbf7 libnetworking: Use rtems_clock_get_uptime_seconds
This reduces the start-up time of the network stack.

With a 1ms tick the ticks since boot value overflows after approximately
50 days.  This problem is avoided with the
rtems_clock_get_uptime_seconds() function.
2012-11-21 16:29:41 +01:00
Sebastian Huber
90733a86b8 rtems: Add rtems_clock_get_uptime_seconds() 2012-11-21 16:29:40 +01:00
Sebastian Huber
bfddb0478c rtems: Add rtems_clock_get_uptime_timeval() 2012-11-21 16:29:36 +01:00
Sebastian Huber
a12f7e98f1 score: Add RTEMS_FATAL_SOURCE_STACK_CHECKER 2012-11-15 15:33:13 +01:00
Sebastian Huber
a0c7aa5555 score: Add RTEMS_FATAL_SOURCE_ASSERT 2012-11-15 15:33:13 +01:00
Sebastian Huber
a052181ca2 score: Add RTEMS_FATAL_SOURCE_EXIT
Include <bsp/default-initial-extension.h> in all BSPs.  Call
rtems_fatal() with RTEMS_FATAL_SOURCE_EXIT as source and the exit()
status code as fatal code in every bsp_cleanup().  Move previous
bsp_cleanup() code into bsp_fatal_extension().
2012-11-15 15:33:12 +01:00
Sebastian Huber
b31a9603e0 score: Add INTERNAL_ERROR_CPU_ISR_INSTALL_VECTOR
Use INTERNAL_ERROR_CPU_ISR_INSTALL_VECTOR on PowerPC for
_CPU_ISR_install_vector().
2012-11-15 15:33:11 +01:00
Sebastian Huber
dc6e830c10 sapi: Add and use rtems_internal_error_description 2012-11-15 15:33:11 +01:00
Sebastian Huber
f48d06a6e1 sptests/spfatal24: Fix NULL pointer access 2012-11-15 15:33:10 +01:00
Sebastian Huber
dc0eed7b97 testsuites: Include <bsp.h>
Include <bsp.h> for proper BSP specific <rtems/confdefs.h>
initialization.
2012-11-14 14:06:59 +01:00
Sebastian Huber
8f548cea5f sptests/spintrcritical09: Fix check order
The critical section check never succeeded since watchdogs are ordered
with respect to the insertion time.  Now we call the watchdog routine if
appropriate and bypass the normal watchdog mechanic.
2012-11-13 09:38:03 +01:00
Sebastian Huber
8f1b6cdef5 fstests/fsrfsbitmap01: Fix NULL pointer access
Move test files into one directory.
2012-11-13 09:38:03 +01:00
Sebastian Huber
b5b1f44475 samples/fileio: Add DOSFS and RFS on demand 2012-11-13 09:38:03 +01:00
Sebastian Huber
44633fd65c sptests/spinternalerror01: New test 2012-11-13 09:37:57 +01:00
Sebastian Huber
3cd79b0a9b libtests/devfs03: Initialize nodes 2012-11-07 15:19:20 +01:00
Sebastian Huber
dd40e1438b sptests/spfatal08: Simplify 2012-11-07 15:08:43 +01:00
Sebastian Huber
3dd120f003 sptests/spfatal07: Use confdefs.h to trigger test 2012-11-07 15:08:42 +01:00