summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/powerpc/shared (follow)
Commit message (Collapse)AuthorAgeFilesLines
* bsps: Fix TLS support in linker command filesSebastian Huber2014-04-222-2/+6
| | | | | The TLS section symbols had wrong values in case of an empty TLS data section and a nonempty TLS BSS section.
* bsps/powerpc: Fix linker command filesSebastian Huber2014-04-011-4/+2
|
* Change all references of rtems.com to rtems.org.Chris Johns2014-03-2144-44/+44
|
* 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/+4
| | | | | | | | | 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.
* score: Change debug helper functionsSebastian Huber2014-02-121-1/+1
| | | | | | | | Rename rtems_internal_error_description() to rtems_internal_error_text(). Rename rtems_fatal_source_description() to rtems_fatal_source_text(). Rename rtems_status_code_description() to rtems_status_text(). Remove previous implementation of rtems_status_text().
* bsps: Thread-local storage (TLS) for linkcmdsSebastian Huber2014-02-042-0/+25
|
* bsps: Fix barrier section definitionsSebastian Huber2014-01-301-3/+3
|
* powerpc/flash: give string variables const attributeNick Withers2014-01-235-22/+22
|
* bsps: Simplify FreeBSD linker setsSebastian Huber2013-12-161-12/+4
|
* bsps/powerpc: Use ALIGN_WITH_INPUTSebastian Huber2013-12-162-140/+101
| | | | This requires at least Binutils 2.24.
* doxygen: refactored doxygen in libbsp to illustrate new rule setDaniel Ramirez2013-12-093-7/+22
|
* powerpc: motorola: Move bspreset.c to startup/Chirayu Desai2013-12-021-27/+0
| | | | * Move shared/console/bspreset.c to motorola_powerpc/startup/bspreset.c
* Include missing <rtems/score/threaddispatch.h>Sebastian Huber2013-07-261-2/+2
|
* score: Merge sysstate API into one fileSebastian Huber2013-07-241-0/+1
|
* bsps/powerpc: Avoid placement in small-data areaRalf Kirchner2013-07-051-2/+2
|
* bsps/powerpc: Update debug sectionsSebastian Huber2013-06-281-18/+18
|
* termios: Update due to API changesSebastian Huber2013-06-251-3/+0
| | | | | Termios notifies now the driver about an inactive transmit with the length argument set to zero.
* bsps/powerpc: Add PPC405 support for shared clockSebastian Huber2013-06-241-31/+79
|
* score: Add and use _Thread_Dispatch_is_enabled()Sebastian Huber2013-06-141-3/+3
| | | | | Delete _Thread_Dispatch_in_critical_section() and _Thread_Is_dispatching_enabled().
* bsps: Update due to linker changesSebastian Huber2013-05-272-89/+128
| | | | | | | In case the VMA and LMA regions differ, the LMA start address is now no longer aligned with the alignment of the input sections: http://sourceware.org/bugzilla/show_bug.cgi?id=15222
* bsps: Support DWARF extensionSebastian Huber2013-03-181-0/+2
|
* bsp/mpc55xx: Add BSP_DATA_CACHE_USE_WRITE_THROUGHSebastian Huber2013-01-281-1/+3
|
* bsps/powerpc: Add .nvram sectionSebastian Huber2012-12-032-0/+13
|
* bsps/powerpc: Add and use bsp_text input sectionSebastian Huber2012-12-031-0/+1
|
* bsps/powerpc: Move .fast_text after .text sectionSebastian Huber2012-12-031-9/+9
|
* bsps/powerpc: Add PPC_EXC_CONFIG_BOOKE_ONLYSebastian Huber2012-12-031-0/+6
| | | | | | | In combination with the PPC_EXC_CONFIG_USE_FIXED_HANDLER option this removes all dependencies on valid read-write data. The exception handling must be statically configured and all components reside in read-only sections.
* bsps/powerpc: Add PPC_EXC_CONFIG_USE_FIXED_HANDLERSebastian Huber2012-12-031-0/+61
| | | | | | | | | In case a BSP enables this option, then fixed high level exception handler will be used. For normal asynchronous exceptions this is bsp_interrupt_dispatch() and for other exceptions this is the handler from the read-only ppc_exc_handler_table. The global handler is C_exception_handler(). This avoids some dependencies on valid read-write data.
* bsps/powerpc: Exception initialization error is fatalSebastian Huber2012-11-151-5/+1
|
* sapi: Add and use rtems_internal_error_descriptionSebastian Huber2012-11-151-44/+1
|
* score: Work area initialization API changeSebastian Huber2012-10-252-73/+25
| | | | | | | | | | | | 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
|
* bsps/powerpc: Add more BSP sections and sort themSebastian Huber2012-06-221-2/+4
|
* bsps: Replace NIRVANA regionSebastian Huber2012-06-121-2/+13
| | | | | Replace the "NIRVANA" region with the more verbose "UNEXPECTED_SECTIONS" region. Move the region definition into the "linkcmds.base" files.
* bsps/powerpc: Add load section for .nocacheSebastian Huber2012-06-042-1/+5
|
* Fix C files which had two semi-colons at EOLJoel Sherrill2012-05-312-2/+2
|
* pci.h cleanup - Consolidate common defines to cpukit pci.hJoel Sherrill2012-05-162-8/+3
| | | | | | | | | | | | | + libbsp/sparc/shared/include/pci.h was largely a copy of an older version of the cpukit pci.h. Removed much of the contents and included <rtems/pci.h>. + sparc/*/pci*.c - Move to <rtems/pci.h> required updating to use uint32_t for dword accesses. + Rename PCI_MULTI_FUNCTION to PCI_HEADER_TYPE_MULTI_FUNCTION + Define PCI_HEADER_TYPE_MULTI_FUNCTION in cpukit pci.h and remove PCI_MULTI_FUNCTION definitions in C files. + Move PCI_INVALID_VENDORDEVICEID definitions from various C files to cpukit pci.h
* Remove CVS Id Strings (manual edits after script)Joel Sherrill2012-05-111-2/+0
| | | | | | These modifications were required by hand after running the script. In some cases, the file names did not match patterns. In others, the format of the file did not match any common patterns.
* Remove All CVS Id Strings Possible Using a ScriptJoel Sherrill2012-05-1171-149/+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.
* bsps/powerpc: Add no cache sectionSebastian Huber2012-04-242-2/+15
|
* bsps: Fix for clock driverSebastian Huber2012-04-021-27/+0
| | | | | | Do not use the e300 core decrementer auto-reload feature. We have to use the normal decrementer handler since otherwise it is impossible to pass test sptests/spnsext01.
* bsps: More accurate PowerPC clock driverSebastian Huber2012-04-021-6/+19
| | | | | | The clock driver used previously the bsp_clicks_per_usec value. For a 33333333Hz time base frequency this leads to a relative error of one per cent for example due to integer truncation.
* 2011-10-07 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2011-10-071-4/+4
| | | | * shared/startup/bspstart.c: Comment out unused vars.
* 2011-10-07 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2011-10-071-2/+0
| | | | * shared/console/console.c: Remove stray local decl of "close".
* 2011-08-31 Sebastian Huber <sebastian.huber@embedded-brains.de>Sebastian Huber2011-08-311-0/+375
| | | | * shared/startup/linkcmds.base: New file.
* 2011-08-24 Sebastian Huber <sebastian.huber@embedded-brains.de>Sebastian Huber2011-08-245-16/+12
| | | | | | * shared/bootloader/exception.S, shared/bootloader/misc.c, shared/bootloader/mm.c, shared/console/polled_io.c, shared/startup/probeMemEnd.c: Update due to API changes.
* 2011-07-27 Till Straumann <strauman@slac.stanford.edu>Till Straumann2011-07-282-1/+10
| | | | | | | * shared/start/start.S, shared/start/preload.S: Make sure stack is 16-byte aligned and the TOS is tagged with a NULL pointer (used as a terminator when printing stack traces).
* 2011-07-26 Till Straumann <strauman@slac.stanford.edu>Till Straumann2011-07-271-1/+5
| | | | * shared/irq/openpic_i8259_irq.c: silenced compiler warnings.
* 2011-07-21 Till Straumann <strauman@slac.stanford.edu>Till Straumann2011-07-221-2/+1
| | | | | | * shared/motorola/motorola.c: removed PCI_FIXUP_OPT_OVERRIDE_NAME for qemu - qemu gets it right and this option messes things rather up.
* 2011-07-21 Sebastian Huber <sebastian.huber@embedded-brains.de>Sebastian Huber2011-07-211-0/+108
| | | | | | PR 1799/bsps * acinclude.m4: Update for qoriq BSPs. * shared/include/linker-symbols.h: New file.