summaryrefslogtreecommitdiff
path: root/bsps/sparc/erc32 (follow)
AgeCommit message (Collapse)Author
2020-02-04Use RTEMS_SYSINIT_ORDER_LAST_BUT_5Sebastian Huber
Use RTEMS_SYSINIT_ORDER_LAST_BUT_5 instead of RTEMS_SYSINIT_ORDER_LAST to allow applications and support functions to place system initialization handlers behind the standard handlers. Update #3838.
2019-10-01bsp/erc32: Improve pseudo-SMP supportSebastian Huber
Add support for _SMP_Send_message() to the own processor. This is required by the smpmulticast01 test program.
2019-03-25erc32/start/setvec.c: Fix warningJoel Sherrill
2019-03-08bsps: Adjust bsp.h Doxygen groupsSebastian Huber
Update #3706.
2019-03-04bsps: Adjust architecture Doxygen groupsSebastian Huber
- Use CamelCase as it is not used in our C code. Enables simple search and replace. - Prefix with "RTEMS" to aid deployment and integration. It aids searching and sorting. Update #3706.
2018-12-07Simplify _CPU_Counter_difference()Sebastian Huber
In order to simplify the use of CPU counter values it is beneficial to have monotonic increasing values within the range of the CPU counter ticks data type, e.g. 32-bit unsigned integer. This eases the use of CPU counter timestamps in external tools which do not know the details of the CPU counter hardware. The CPU counter is the fastest way to get a time on an RTEMS system. Such a CPU counter may be also used as the timecounter. Use it on SPARC for this purpose to simplify the clock drivers. Update #3456.
2018-09-10network: Use kernel/user space header filesSebastian Huber
Add and use <machine/rtems-bsd-kernel-space.h> and <machine/rtems-bsd-user-space.h> similar to the libbsd to avoid command line defines and defines scattered throught the code base. Simplify cpukit/libnetworking/Makefile.am. Update #3375.
2018-06-27Remove Clock_driver_support_shutdown_hardware()Sebastian Huber
The aim of this clock driver hook was to stop clock tick interrupts at some late point in the exit() procedure. The use of atexit() pulls in malloc() which pulls in errno. It is incompatible with the intention of the CONFIGURE_DISABLE_NEWLIB_REENTRANCY configuration option. The exit() function must be called from thread context, so accompanied clock tick interrupts should cause no harm. On the contrary, someone may assume a normal operating system operation, e.g. working timeouts. Remove the Clock_driver_support_shutdown_hardware() clock driver hook. Close #3436.
2018-06-15Add _CPU_Counter_frequency()Sebastian Huber
Add rtems_counter_frequency() API function. Use it to initialize the counter value converter via the new system initialization step (RTEMS_SYSINIT_CPU_COUNTER). This decouples the counter implementation and the counter converter. It avoids an unnecessary pull in of the 64-bit integer division from libgcc. Update #3456.
2018-04-26bsps: Move documentation, etc. files to bspsSebastian Huber
This patch is a part of the BSP source reorganization. Update #3285.
2018-04-23bsps: Move make/custom/* files to bspsSebastian Huber
Adjust various build files. Remove automatic generation of the c/src/lib/libbsp/*/acinclude.m4 files from bootstrap script. This patch is a part of the BSP source reorganization. Update #3285.
2018-04-20bsps/sparc: Move gnatsupp to bspsSebastian Huber
This patch is a part of the BSP source reorganization. Update #3285.
2018-04-20bsps/sparc: Move network drivers to bspsSebastian Huber
This patch is a part of the BSP source reorganization. Update #3285.
2018-04-20bsps: Move benchmark timer to bspsSebastian Huber
This patch is a part of the BSP source reorganization. Update #3285.
2018-04-20bsps: Move startup files to bspsSebastian Huber
Adjust build support files to new directory layout. This patch is a part of the BSP source reorganization. Update #3285.
2018-04-20bsps: Move console drivers to bspsSebastian Huber
This patch is a part of the BSP source reorganization. Update #3285.
2018-04-20bsps: Move clock drivers to bspsSebastian Huber
This patch is a part of the BSP source reorganization. Update #3285.
2018-04-20bsps: Convert all bsp_predriver_hook()Sebastian Huber
Use RTEMS_SYSINIT_ITEM() instead. Update #2408.
2018-01-25Remove make preinstallChris Johns
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.