Commit Graph

965 Commits

Author SHA1 Message Date
Sebastian Huber
1f3ce602f9 termios: Fix warning 2013-06-07 17:02:24 +02:00
Sebastian Huber
b71336c6e5 libcsupport: Avoid division by zero 2013-05-10 12:10:15 +02:00
Sebastian Huber
b7cf1ff717 libcsupport: Delete libc_wrapup()
Add and use rtems_libio_exit_helper.  Add rtems_libio_exit().

The fclose(stdin) etc. makes no sense during exit.  This would use the
_REENT structure of the thread calling _exit().
2013-04-26 10:57:08 +02:00
Sebastian Huber
5fa0e5c5ec libcsupport: Rename open_dev_console()
Rename open_dev_console() to rtems_libio_post_driver().  Rename
rtems_libio_supp_helper to rtems_libio_post_driver_helper.
2013-04-26 10:57:08 +02:00
Sebastian Huber
a290fbe946 libcsupport: Make LibIO helper const
Add and use rtems_libio_helper function type.  Add and use
rtems_libio_helper_null() instead of NULL pointer.
2013-04-26 10:57:08 +02:00
Sebastian Huber
aeba445349 libcsupport: Remove superfluous assignments
Remove superfluous declaractions, defines, comments and includes.
2013-04-26 10:57:07 +02:00
Sebastian Huber
2f72de2574 libcsupport: Make newlib_free_buffers() static 2013-04-26 10:57:07 +02:00
Sebastian Huber
3771f3cc56 libcsupport: Delete unused newlib_begin_hook() 2013-04-26 10:57:07 +02:00
Sebastian Huber
0806f85777 libcsupport: Delete REENT_MALLOCED define 2013-04-26 10:57:07 +02:00
Sebastian Huber
ad8010cd0a libcsupport: Use copyright notice of original file 2013-04-26 10:57:06 +02:00
Sebastian Huber
45c9b7d497 libcsupport: POSIX conformance for _exit()
According to POSIX the _exit() function shall not call functions
registered with atexit() nor any registered signal handlers.

See also tests libtests/exit01 and libtests/exit02.

Make libc_wrapup() static.  Remove out of date comments.  Remove
superfluous declarations, defines and includes.
2013-04-25 11:15:49 +02:00
Sebastian Huber
68f36d144a score: Add and use rtems_assert_context 2013-02-12 09:31:27 +01:00
Joel Sherrill
b697bc6a44 cpukit: Use Consistent Beginning of Doxygen Group Notation
This is the result of a sed script which converts all uses
of @{ into a consistent form.
2013-01-10 17:06:47 -06:00
Joel Sherrill
a15eaaf9fd cpukit: Doxygen group fixes and many warnings addressed
The output of the modules.html is much improved. Most
filesystem and POSIX API related groups are properly nested.
Some formatting issues were addressed as were multiple
inconsistencies.
2013-01-10 17:06:47 -06:00
Sebastian Huber
25ba0cd6c0 libcsupport: Documentation 2013-01-09 20:42:58 +01:00
Sebastian Huber
b403c670ae libcsupport: Documentation 2013-01-09 20:42:58 +01:00
Alex Ivanov
4027e6332c libcsupport: Doxygen Clean Up Task #1 2013-01-08 06:40:27 -06:00
Alex Ivanov
3cf4031c19 Header File Doxygen Enhancement Task #1 2012-12-28 17:48:12 -06:00
Mathew Kallada
f3255a6f22 Header File Doxygen Enhancement Task #11 2012-12-28 11:30:27 -06:00
Mathew Kallada
c5782a26b3 Header File Doxygen Enhancement Task #7 2012-12-28 11:17:49 -06:00
Mathew Kallada
9ab091e1e4 Header File Doxygen Enhancement Task #2 2012-12-28 10:36:55 -06:00
Joel Sherrill
b8fc260ff3 Miscellaneous Doxygen clean-up 2012-12-28 09:48:37 -06: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
Gedare Bloom
e79a766fb3 libcsupport: Update file header for termios.h to remove link, add description. 2012-12-15 07:26:34 -05:00
Alex Ivanov
cefc9aea6b libcsupport: Doxygen Enhancement Task #8
http://www.google-melange.com/gci/task/view/google/gci2012/7996208
2012-12-15 07:23:36 -05:00
Sebastian Huber
d0b9295fd9 Fix spelling 2012-12-14 10:17:04 +01:00
Sebastian Huber
6d5ba497b1 Filesystem: Revert documentation changes 2012-12-14 10:13:36 +01:00
Alex Ivanov
41b590f966 libcsupport: Doxygen enhancement task #9 2012-12-13 12:13:19 -06:00
Sebastian Huber
da02535ac5 termios: Fix output flush 2012-12-13 17:35:59 +01:00
Gedare Bloom
8f005260a9 libcsupport: Revert termios Doxygen. Add file header. 2012-12-13 08:06:31 -05: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
8e3a7f4f8d libcsupport: Revert documentation changes 2012-12-13 11:34:06 +01:00
Mathew Kallada
c2ae79e93c misc: Header File Doxygen Enhancement Task #3
http://www.google-melange.com/gci/task/view/google/gci2012/8006220
2012-12-12 15:57:49 -05:00
Alex Ivanov
cc390b62c4 libcsupport: Doxygen enhancement GCI task #6
http://www.google-melange.com/gci/task/view/google/gci2012/7992212
2012-12-11 17:35:30 -05:00
Alex Ivanov
17c6ad6a01 libcsupport: Doxygen enhancement GCI task #4
http://www.google-melange.com/gci/task/view/google/gci2012/8009205
2012-12-11 16:51:08 -05:00
Alex Ivanov
c9bb60a94c libcsupport: GCI Doxygen Task #7
http://www.google-melange.com/gci/task/view/google/gci2012/7975223
2012-12-11 06:49:45 -05:00
Alex Ivanov
37509959b2 libcsupport: Doxygen enhancement task #5
http://www.google-melange.com/gci/task/view/google/gci2012/7992211
2012-12-10 14:51:23 -05:00
Alex Ivanov
bcd0ea6409 libcsupport: Doxygen enhancement task #2
http://www.google-melange.com/gci/task/view/google/gci2012/8017203
2012-12-09 17:55:17 -05:00
Sebastian Huber
7e731815e5 libcsupport: Fix documentation 2012-12-09 14:26:02 +01:00
Sebastian Huber
9090c0af6e Filesystem: Revert documentation change 2012-12-09 14:25:16 +01:00
Mathew Kallada
ceaa99964f libcsupport: Doxygen Enhancement Task #3
http://www.google-melange.com/gci/task/view/google/gci2012/7992210
2012-12-08 15:43:29 -05:00
Sebastian Huber
a0c7aa5555 score: Add RTEMS_FATAL_SOURCE_ASSERT 2012-11-15 15:33:13 +01:00
Sebastian Huber
3c1d387523 Filesystem: Preserve source NULL pointer in mount 2012-11-13 09:38:03 +01:00
Sebastian Huber
93b29f08f0 Filesystem: Use transient event 2012-10-30 18:03:29 +01:00
Sebastian Huber
47a3cd8f73 score: Work area initialization API change
The work areas (RTEMS work space and C program heap) will be initialized
now in a separate step and are no longer part of
rtems_initialize_data_structures().  Initialization is performed with
tables of Heap_Area entries.  This allows usage of scattered memory
areas present on various small scale micro-controllers.

The sbrk() support API changes also.  The bsp_sbrk_init() must now deal
with a minimum size for the first memory chunk to take the configured
work space size into account.
2012-10-25 14:54:06 +02:00
Sebastian Huber
3b978e190d libcsupport: malloc_deferred_frees_initialize()
Remove this function and statically initialize RTEMS_Malloc_GC_list.
2012-10-25 14:54:05 +02:00
Sebastian Huber
ca9f2e639e libcsupport: Spelling 2012-10-15 14:58:08 +02:00
Sebastian Huber
78f417f897 Filesystem: Rename function
Rename rtems_filesystem_location_exists_in_same_fs_instance_as() into
rtems_filesystem_location_exists_in_same_instance_as() for consistency
with other file system instance related functions.
2012-10-07 17:17:27 +02:00
Sebastian Huber
8b65f389aa Filesystem: Rename function
Rename rtems_filesystem_location_is_root() into
rtems_filesystem_location_is_instance_root() to distinguish this from
the file system root directory of the current task environment.
2012-10-07 17:12:49 +02:00