summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/powerpc/tqm8xx (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* bsps/powerpc: Rename BSP specific linkcmds.baseSebastian Huber2018-01-034-5/+5
| | | | | | Avoid name conflicts with shared linkcmds.base. Update #3254.
* bsps: Use CPPASCOMPILE for startfileSebastian Huber2018-01-021-4/+7
| | | | Update #3254.
* bsps: Add EXTRA_DIST to all BSP Makefile.amSebastian Huber2018-01-021-2/+1
| | | | | | | | | | This makes it possible to easily use EXTRA_DIST += foobar in fragments. Update #3254.
* bsps: Include bsp.am in all BSP Makefile.amSebastian Huber2018-01-021-0/+1
| | | | Update #3254.
* gen5200, gen83xx, gen83x, mpc55xxevb, psim, qoriq, t32mppc, tqm8xx, virtex: ↵Joel Sherrill2017-12-203-5/+5
| | | | | | | | | | Simplify bsp_specs These BSPs all use shared/startup/linkcmds.base and thus needed to be modified at the same time. Variations in the arguments were reflected into the BSP specific portions of the linkcmds. Updates #3520.
* libbsp/*/*/configure.ac: Remove references to bsp_specs in AC_CONFIG_SRCDIRJoel Sherrill2017-11-271-1/+1
| | | | Updates #3250.
* bsps: Provide <tm27.h> in each BSPSebastian Huber2017-11-273-2/+3
| | | | | | | | | Since the <tm27.h> is highly BSP-dependent and used only by the tm27 test program we must provide this header file for each BSP. Without the preinstall build target each header file must have a unique source header file. Update #3254.
* Remove coverhd.hSebastian Huber2017-11-243-125/+0
| | | | | | | This header file contained timing overhead values which are hard to maintain. Update #3254.
* bsps: Simplify RTEMS_BSP_CLEANUP_OPTIONSSebastian Huber2017-11-222-1/+2
| | | | | | | | | Remove BSP-specific defaults for RTEMS_BSP_CLEANUP_OPTIONS to simplify the BSP configuration and documentation. Change defaults to: BSP_PRESS_KEY_FOR_RESET=0 BSP_RESET_BOARD_AT_EXIT=1 BSP_PRINT_EXCEPTION_CONTEXT=1
* powerpc: Remove _BSP_Fatal_error()Sebastian Huber2017-11-221-14/+0
| | | | | | | BSPs can use the bsp_fatal_extension() to provide BSP-specific fatal error handling. There is no need for a _BSP_Fatal_error(). Close #3246.
* powerpc: Replace BSP_panic() with rtems_panic()Sebastian Huber2017-11-222-16/+2
| | | | | | | | Due to a new rtems_panic() implementation, it is possible to replace the PowerPC-specific BSP_panic() with rtems_panic(). Remove BSP_panic() implementations. Close #3245.
* getentropy: Add cpu counter based implementation.Christian Mauderer2017-11-171-0/+1
| | | | Update #3239.
* Simplify and unify BSP_output_charSebastian Huber2017-09-121-4/+0
| | | | | | | | The BSP_output_char should output a char and not mingle with high level processing, e.g. '\n' to '\r\n' translation. Move this translation to rtems_putc(). Remove it from all the BSP_output_char implementations. Close #3122.
* bsps: Improve interrupt vector enable/disable APISebastian Huber2017-06-201-18/+14
| | | | | | Change bsp_interrupt_vector_enable() and bsp_interrupt_vector_disable() to not return a status code. Add bsp_interrupt_assert() and use it to validate the vector number in the vector enable/disable implementations.
* termios: Synchronize with latest FreeBSD headersKevin Kirspel2017-03-221-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.
* libnetworking: Import current <arpa/inet.h>Christian Mauderer2016-06-282-2/+0
| | | | | | | | | | Import the <arpa/inet.h> from current FreeBSD. Necessary due to changes in <netinet/in.h>. Remove BSD hack from <arpa/inet.h>. Clean up problems with htonl(). These functions are defined in <arpa/inet.h>. This lead to some problems because they are defined in <rtems/endian.h> too. Add NTOHL, ... to <rtems/rtems_bsdnet_internal.h>.
* powerpc/tqm8xx: Remove include of <rtems/console.h> from <bsp.h> and fix ↵Joel Sherrill2016-03-292-7/+9
| | | | warnings
* powerpc/tqm8xx/include/bsp.h: Do not include <rtems/clockdrv.h>Joel Sherrill2016-03-271-1/+0
|
* Use linker set for libio initializationSebastian Huber2016-02-031-2/+2
| | | | Update #2408.
* powerpc/tqm8xx: Add per-section compilation and linking support.Ralph Holmes2016-01-231-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | For the pghplus BSP variant: The size of the sample executables without this option were: text data bss dec hex filename 167168 2720 7776 177664 2b600 base_sp.exe 154336 2592 7712 164640 28320 hello.exe 146272 2528 4512 153312 256e0 minimum.exe 647904 6752 20032 674688 a4b80 fileio.exe 190656 2816 7872 201344 31280 nsecs.exe 230816 3104 8384 242304 3b280 paranoia.exe 170336 2752 7808 180896 2c2a0 ticker.exe 170624 2752 11552 184928 2d260 unlimited.exe 956800 156928 15424 1129152 113ac0 cxx_iostream.exe 268096 10656 8448 287200 461e0 cdtest.exe 248896 3232 9600 261728 3fe60 capture.exe The size of the sample executables with this option enabled were: text data bss dec hex filename 154080 2720 7744 164544 282c0 base_sp.exe 139040 2528 7680 149248 24700 hello.exe 46944 1824 3968 52736 ce00 minimum.exe 622016 6688 19712 648416 9e4e0 fileio.exe 178304 2816 7840 188960 2e220 nsecs.exe 217024 3104 8352 228480 37c80 paranoia.exe 157536 2720 7776 168032 29060 ticker.exe 156000 2720 11488 170208 298e0 unlimited.exe 611040 143808 14560 769408 bbd80 cxx_iostream.exe 254464 10144 8416 273024 42a80 cdtest.exe 232160 3200 9568 244928 3bcc0 capture.exe For the tqm8xx_stk8xx variant: The size of the sample executables without this option were: text data bss dec hex filename 167168 2720 7776 177664 2b600 base_sp.exe 154336 2592 7712 164640 28320 hello.exe 146272 2528 4512 153312 256e0 minimum.exe 647904 6752 20032 674688 a4b80 fileio.exe 190656 2816 7872 201344 31280 nsecs.exe 230816 3104 8384 242304 3b280 paranoia.exe 170336 2752 7808 180896 2c2a0 ticker.exe 170624 2752 11552 184928 2d260 unlimited.exe 956800 156928 15424 1129152 113ac0 cxx_iostream.exe 268096 10656 8448 287200 461e0 cdtest.exe 248896 3232 9600 261728 3fe60 capture.exe The size of the sample executables with this option enabled were: text data bss dec hex filename 154080 2720 7744 164544 282c0 base_sp.exe 139040 2528 7680 149248 24700 hello.exe 46944 1824 3968 52736 ce00 minimum.exe 622016 6688 19712 648416 9e4e0 fileio.exe 178304 2816 7840 188960 2e220 nsecs.exe 217024 3104 8352 228480 37c80 paranoia.exe 157536 2720 7776 168032 29060 ticker.exe 156000 2720 11488 170208 298e0 unlimited.exe 611040 143808 14560 769408 bbd80 cxx_iostream.exe 254464 10144 8416 273024 42a80 cdtest.exe 232160 3200 9568 244928 3bcc0 capture.exe
* bsps: Delete superfluous bsp_pretasking_hook()Sebastian Huber2015-12-101-1/+1
| | | | | | Use the bsp_predriver_hook() instead. Update #2408.
* bsp/tqm8xx: Fix linker set descriptionSebastian Huber2015-12-101-1/+2
| | | | | Fix broken RTEMS linker set description introduced by b618d8cfc54f84d4ed03dc7b7fa510c872e6128a.
* Add RTEMS linker setsSebastian Huber2015-12-081-1/+2
| | | | Update #2408.
* Most bsp.h: Switch to LIBBSP_@CPU@_@BSP_FAMILY@_H for guardJoel Sherrill2015-07-161-2/+2
| | | | | | | | | | | | | | | | | This was done by the following script run from libbsp: find * -name bsp.h | xargs -e grep -l "#ifndef.*_BSP_H" | while read b do echo $b cpu=`echo $b | cut -d'/' -f1 | tr '[:lower:]' '[:upper:]' ` bsp=`echo $b | cut -d'/' -f2 | tr '[:lower:]' '[:upper:]' ` g="LIBBSP_${cpu}_${bsp}_BSP_H" # echo $g sed -e "s/ifndef _BSP_H/ifndef ${g}/" \ -e "s/define _BSP_H/define ${g}/" \ -i $b done
* bsp/mpc8xx: Fix warningsSebastian Huber2014-12-126-116/+41
| | | | close #2211
* Update bug report URLSebastian Huber2014-12-051-1/+1
|
* powerpc/tqm8xx/startup/bspstart.c: Fix set but not used warningJoel Sherrill2014-10-191-0/+1
|
* tqm8xx/clock/p_clock.c: Remove unused BSP_get_clock_irq_level() methodJoel Sherrill2014-10-161-9/+0
|
* tqm8xx/startup/bspstart.c: Remove myCpu variables and clean upJoel Sherrill2014-10-161-6/+5
|
* powerpc/tqm8xx: Fix warningsJoel Sherrill2014-10-132-30/+27
|
* Use correct prototype of benchmark_timer_read()Joel Sherrill2014-09-161-1/+1
| | | | | | | | | | | | | | 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.
* Regenerate all preinstall.am files.Chris Johns2014-08-291-6/+6
| | | | | With this patch the preinstall.am files are in a set order and not dependent on now perl implements a hash.
* bsps: Fix TLS support in linker command filesSebastian Huber2014-04-221-1/+3
| | | | | The TLS section symbols had wrong values in case of an empty TLS data section and a nonempty TLS BSS section.
* Change all references of rtems.com to rtems.org.Chris Johns2014-03-2118-21/+21
|
* bsps/powerpc: Use System V small-data areaSebastian Huber2014-02-241-1/+1
| | | | | | The 32-bit ABIs for thread-local storage (TLS) and EABI read-only small-data area have a conflicting register (r2) usage. Use the System V small-data instead (here r2 is system reserved).
* powerpc: Change interrupt disable implemetationSebastian Huber2014-02-191-5/+1
| | | | | | | | | | | | Instead of SPRG0 (= special purpose register 272) use the new global symbol _PPC_INTERRUPT_DISABLE_MASK to store the interrupt disable mask. The benefit is that it is now possible to disable interrupts without further run-time initialization in boot_card(). At least on Freescale e500 cores this leads also to a faster execution since the mfmsr and mfspr instruction require four cycles to complete. The instructions to load the mask value can execute while the mfmsr is in progress.
* score: Add CPU counter supportSebastian Huber2014-02-141-0/+2
| | | | | | | | | Add a CPU counter interface to allow access to a free-running counter. It is useful to measure short time intervals. This can be used for example to enable profiling of critical low-level functions. Add two busy wait functions rtems_counter_delay_ticks() and rtems_counter_delay_nanoseconds() implemented via the CPU counter.
* bsps: Thread-local storage (TLS) for linkcmdsSebastian Huber2014-02-041-0/+17
|
* libbsp powerpc: Add Doxygen file header to coverhd.hCynthia Rempel2014-01-141-1/+7
|
* tqm8xx: Move start.S to tqm8xx/start/start.SDaniel Ramirez2013-12-062-1/+1
|
* Use $(EXEEXT) [defaults to "exe"] to generate binariesNick Withers2013-08-091-1/+1
|
* termios: Update due to API changesSebastian Huber2013-06-251-17/+20
| | | | | Termios notifies now the driver about an inactive transmit with the length argument set to zero.
* bsps: Support DWARF extensionSebastian Huber2013-03-181-0/+2
|
* RTEMS: Delete ChangeLog files.Gedare Bloom2013-03-081-267/+0
| | | | | | | | | This commit deletes all RTEMS ChangeLog files. These files have been abandoned since converting to git version control. The historical data may be recovered by checking out any commit before this one. Most of the contents of these ChangeLog files can also be found in the git log. Two external ChangeLog files, ChangeLog.slac and ChangeLog.zlib, remain.
* bsps/powerpc: Exception initialization error is fatalSebastian Huber2012-11-151-5/+1
|
* bsps: Interrupt initialization error is fatalSebastian Huber2012-11-151-4/+1
|
* score: Add RTEMS_FATAL_SOURCE_EXITSebastian Huber2012-11-151-3/+5
| | | | | | | 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().
* libnetworking: Use system eventsSebastian Huber2012-11-022-6/+6
| | | | | | | Add reserved system events RTEMS_EVENT_SYSTEM_NETWORK_SBWAIT and RTEMS_EVENT_SYSTEM_NETWORK_SOSLEEP. Add and use rtems_bsdnet_event_send().
* score: Work area initialization API changeSebastian Huber2012-10-251-16/+11
| | | | | | | | | | | | 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.
* Use proper 3 line form of license textJoel Sherrill2012-10-112-4/+6
|