summaryrefslogtreecommitdiffstats
path: root/cpukit/libcsupport/Makefile.am (unfollow)
Commit message (Collapse)AuthorFilesLines
2018-10-09build: Merge libcsupport/Makefile.amSebastian Huber1-134/+0
2018-10-09build: Remove specialized CPPFLAGSSebastian Huber1-2/+0
2018-10-04Remove superfluous pipe_create()Sebastian Huber1-1/+1
2018-04-04build: Remove EXTRA_DISTSebastian Huber1-1/+0
A "make dist" is not supported. So, it makes no sense to have pure "make dist" related stuff in the Makefile.am.
2018-03-06Add a simple task console driverSebastian Huber1-0/+2
Close #3320.
2018-01-25Remove make preinstallChris Johns1-26/+0
A speciality of the RTEMS build system was the make preinstall step. It copied header files from arbitrary locations into the build tree. The header files were included via the -Bsome/build/tree/path GCC command line option. This has at least seven problems: * The make preinstall step itself needs time and disk space. * Errors in header files show up in the build tree copy. This makes it hard for editors to open the right file to fix the error. * There is no clear relationship between source and build tree header files. This makes an audit of the build process difficult. * The visibility of all header files in the build tree makes it difficult to enforce API barriers. For example it is discouraged to use BSP-specifics in the cpukit. * An introduction of a new build system is difficult. * Include paths specified by the -B option are system headers. This may suppress warnings. * The parallel build had sporadic failures on some hosts. This patch removes the make preinstall step. All installed header files are moved to dedicated include directories in the source tree. Let @RTEMS_CPU@ be the target architecture, e.g. arm, powerpc, sparc, etc. Let @RTEMS_BSP_FAMILIY@ be a BSP family base directory, e.g. erc32, imx, qoriq, etc. The new cpukit include directories are: * cpukit/include * cpukit/score/cpu/@RTEMS_CPU@/include * cpukit/libnetworking The new BSP include directories are: * bsps/include * bsps/@RTEMS_CPU@/include * bsps/@RTEMS_CPU@/@RTEMS_BSP_FAMILIY@/include There are build tree include directories for generated files. The include directory order favours the most general header file, e.g. it is not possible to override general header files via the include path order. The "bootstrap -p" option was removed. The new "bootstrap -H" option should be used to regenerate the "headers.am" files. Update #3254.
2017-11-17cpukit: Add _arc4random_getentropy_fail.Christian Mauderer1-1/+2
Add a default implementation of _arc4random_getentropy_fail with an internal error. Update #3239.
2017-11-09score: Change _Timecounter_Time_uptime to int32_tSebastian Huber1-0/+1
Move basic timecounter API shared with BSD network stack to <machine/_timecounter.h>. Update #3185.
2017-11-06Add simple console driverSebastian Huber1-0/+1
Update #3170. Update #3199.
2017-10-28rtems: Add rtems_print_printer_fprintf_putc()Sebastian Huber1-0/+1
Update #3170. Update #3199.
2017-09-07Implement clock()Sebastian Huber1-0/+1
Newlib uses _times_r() in clock(). The problem is that the _times_r() clock frequency is defined by sysconf(_SC_CLK_TCK). The clock frequency of clock() is the constant CLOCKS_PER_SEC. FreeBSD uses getrusage() for clock(). Since RTEMS has only one process, the implementation can be simplified. Update #3121.
2017-06-07Provide kernel space headers used by NewlibSebastian Huber1-0/+2
Update #2833.
2017-03-22termios: Synchronize with latest FreeBSD headersKevin Kirspel1-1/+1
Adding modified FreeBSD headers to synchronize RTEMS termios with FreeBSD. Modify termios to support dedicated input and output baud for termios structure. Updated BSPs to use dedicated input and output baud in termios structure. Updated tools to use dedicated input and output baud in termios structure. Updated termios testsuites to use dedicated input and output baud in termios structure. Close #2897.
2017-01-13configure: Remove envlock supportSebastian Huber1-1/+1
This is provided by Newlib itself.
2017-01-12Add and use rtems_assoc_thread_states_to_string()Sebastian Huber1-0/+1
2017-01-12Add rtems_assoc_32_to_string()Sebastian Huber1-0/+1
2017-01-11Add support for posix_devctl()Joel Sherrill1-1/+2
2016-11-08Provide kernel space header filesSebastian Huber1-0/+5
These kernel space header files must be provided for Newlib 172e2050d95b41861db858dd9bc43a3fb4a28987.
2016-06-28libcsupport: Add dummy for setgroups().Christian Mauderer1-1/+1
The dummy for setgroups() allows applications using it to build (for example civetweb webserver).
2016-06-22Add printer taskSebastian Huber1-0/+1
2016-05-25cpukit, testsuite: Add rtems_printf and rtems_printer support.Chris Johns1-0/+2
This change adds rtems_printf and related functions and wraps the RTEMS print plugin support into a user API. All references to the plugin are removed and replaced with the rtems_printer interface. Printk and related functions are made to return a valid number of characters formatted and output. The function attribute to check printf functions has been added to rtems_printf and printk. No changes to remove warrnings are part of this patch set. The testsuite has been moved over to the rtems_printer. The testsuite has a mix of rtems_printer access and direct print control via the tmacros.h header file. The support for begink/endk has been removed as it served no purpose and only confused the code base. The testsuite has not been refactored to use rtems_printf. This is future work.
2016-03-30Move various driver interface definition headers file libcsupport/ to include/Joel Sherrill1-5/+1
These were in libcsupport for historical reasons and the placement no longer made sense. As part of this move, some of the files were placed under subdirectories which reflect their installed location. Thank you git for allowing us to move files. Years of CVS resulted in files being somewhere they no longer belonged.
2016-02-25malloc: Add _Malloc_System_state()Sebastian Huber1-1/+1
Replace malloc_is_system_state_OK() with _Malloc_System_state() to allow early allocations, e.g. in bsp_start(). Here the _Thread_Executing is NULL, thus an _API_Mutex_Lock() would lead to a NULL pointer access. Move malloc() support code to general case rtems_heap_allocate_aligned_with_boundary(). Use rtems_heap_allocate_aligned_with_boundary() to avoid duplicated code.
2016-02-03Use linker set for libio initializationSebastian Huber1-1/+0
Update #2408.
2015-11-27Delete empty libc_init()Sebastian Huber1-1/+1
2015-07-15libcsupport: Workaround for GCC 5.1 and laterSebastian Huber1-2/+6
Disable an optimization which would lead to a recursive calloc() call in calloc().
2015-03-09Move contents of libcsupport/include/zilog into libbsp/sharedJoel Sherrill1-7/+0
Only a few BSPs use this and it should not have been in libcsupport.
2015-03-09Remove unused cpukit/libcsupport/include/zilog/z8536.hJoel Sherrill1-8/+0
2015-01-22Filesystem: Delete node type operationSebastian Huber1-1/+0
Use the fstat handler instead.
2014-11-28libcsupport: Delete malloc statisticsSebastian Huber1-4/+3
Use the heap handler statistics instead. Add heap walk option to MALLOC shell command. close #1367
2014-11-27rtems: Add rtems_cache_coherent_allocate()Sebastian Huber1-0/+1
Add rtems_cache_coherent_free() and rtems_cache_coherent_add_area().
2014-11-25rtems: Move rtems_cache_aligned_malloc()Sebastian Huber1-0/+1
Make sure also the size is cache aligned since otherwise we may have some overlap with the next allocation block. A cache invalidate on this area would be fatal.
2014-11-20Add supplementary groups to user environmentSebastian Huber1-0/+1
2014-11-20libcsupport: Use POSIX key for getgrent()Sebastian Huber1-0/+1
2014-11-20libcsupport: Split passwd/group supportSebastian Huber1-1/+3
2014-10-24ilibcsupport: Add realpath call.Chris Johns1-1/+1
2014-09-16tod.h -> libcsupport like other driver and helper prototype filesJoel Sherrill1-0/+1
This rippled into the handful of files that should have been using <rtems/tod.h>.
2014-09-16Use correct prototype of benchmark_timer_read()Joel Sherrill1-1/+0
This change starts with removing the effectively empty file timerdrv.h. The prototypes for benchmark_timer_XXX() were in btimer.h which was not universally used. Thus every use of timerdrv.h had to be changed to btimer.h. Then the prototypes for benchmark_timer_read() had to be adjusted to return benchmark_timer_t rather than int or uint32_t. I took this opportunity to also correct the file headers to separate the copyright from the file description comments which is needed to ensure the copyright isn't propagated into Doxygen output.
2014-07-09termios: Add rtems_termios_set_best_baud()Sebastian Huber1-1/+1
2014-01-08libcsupport: Refactor rtems_deviceio_errnoDaniel Ramirez1-1/+0
Renames rtems_deviceio_errno to rtems_status_code_to_errno and integrates it into the Classic API Status Handler. This function can now be called by including status.h
2014-01-07libcsupport: implemented termios functions cfsetspeed and cfmakerawDaniel Ramirez1-1/+2
2013-04-26libcsupport: Delete libc_wrapup()Sebastian Huber1-0/+1
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-26libcsupport: Make LibIO helper constSebastian Huber1-0/+1
Add and use rtems_libio_helper function type. Add and use rtems_libio_helper_null() instead of NULL pointer.
2012-12-21libcsupport: Add rtems_resource_snapshot_take()Sebastian Huber1-0/+1
Add rtems_resource_rtems_api, rtems_resource_posix_api, rtems_resource_snapshot, rtems_resource_snapshot_equal(), and rtems_resource_snapshot_check().
2012-10-25score: Work area initialization API changeSebastian Huber1-1/+3
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-08-20libcsupport: Add and use rtems_putc()Sebastian Huber1-0/+1
This reduces code size and provides a function similar to fputc().
2012-06-04libcsupport: Add rtems_printf_plugin()Sebastian Huber1-0/+1
2012-05-15Filesystem: Add shared device IO supportSebastian Huber1-0/+3
The device IO file system support in IMFS, devFS, and RFS uses now a shared implementation.
2012-05-11Remove All CVS Id Strings Possible Using a ScriptJoel Sherrill1-4/+0
Script does what is expected and tries to do it as smartly as possible. + remove occurrences of two blank comment lines next to each other after Id string line removed. + remove entire comment blocks which only exited to contain CVS Ids + If the processing left a blank line at the top of a file, it was removed.
2012-05-07Revert: Remove CVS IdsJoel Sherrill1-0/+4
See http://www.rtems.org/pipermail/rtems-devel/2012-May/001006.html for details.