summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/m68k/uC5282/startup (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Remove make preinstallChris Johns2018-01-251-0/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* uC5282: Simplify bsp_specsJoel Sherrill2017-12-201-0/+2
| | | | Updates #3520.
* uC5282/startup/bspstart.c: Fix printf() format warningsJoel Sherrill2017-04-241-6/+16
|
* Rename is_internal to always_set_to_falseSebastian Huber2016-12-121-1/+1
| | | | Update #2825.
* Add RTEMS linker setsSebastian Huber2015-12-081-0/+2
| | | | Update #2408.
* mcf5282: Move cache to libcpu and update av5282 and uC5282 BSPsJoel Sherrill2014-10-161-108/+22
|
* m68k/uC5282: Fix warningsJoel Sherrill2014-10-132-50/+16
|
* m68k/uC5282/startup/bspstart.c: Add include of <bsp/bootcard.h> to fix ↵Joel Sherrill2014-10-091-12/+5
| | | | warning and clean up
* 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-215-5/+5
|
* bsps: Thread-local storage (TLS) for linkcmdsSebastian Huber2014-02-041-0/+17
|
* score: rtems_initialize_start_multitasking()Sebastian Huber2012-12-071-9/+0
| | | | | | | | | Do not return from rtems_initialize_start_multitasking() and call rtems_fatal() instead with a fatal source of RTEMS_FATAL_SOURCE_EXIT and a fatal code with the exit status. Remove all bsp_cleanup() functions. The boot_card() is now a no return function.
* score: Add RTEMS_FATAL_SOURCE_EXITSebastian Huber2012-11-151-1/+10
| | | | | | | 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().
* bsps: Include <bsp/bootcard.h>Sebastian Huber2012-11-141-5/+2
| | | | | Use <bsp/bootcard.h> to get prototype for bsp_cleanup(). Fix bsp_cleanup() definition if necessary.
* Remove All CVS Id Strings Possible Using a ScriptJoel Sherrill2012-05-114-8/+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.
* 2011-07-13 Joel Sherrill <joel.sherrilL@OARcorp.com>Joel Sherrill2011-07-131-2/+4
| | | | | | | | PR 1824/cpukit * startup/bspclean.c: Return exit/shutdown status back to boot_card(). boot_card() propagates this to bsp_cleanup() and returns it to the assembly that started the application. bsp_cleanup() prototype changed.
* 2011-03-15 Till Straumann <strauman@slac.stanford.edu>Joel Sherrill2011-03-151-5/+20
| | | | | * startup/bspstart.c: Fix clock code on qemu. Also ensure UART is initialized early for printk.
* 2011-02-17 Till Straumann <strauman@slac.stanford.edu>Joel Sherrill2011-02-172-5/+77
| | | | | | | | | PR 1738/bsps * README, startup/bspstart.c, startup/linkcmds: Add support for dynamic clock speed determination. This algorithm is described in the README file. The output of the RTEMS Timing Tests was moved to TIMES to signicantly shrink the README. * TIMES: New file.
* 2011-02-11 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2011-02-112-10/+10
| | | | | * clock/clock.c, startup/bspstart.c, startup/init5282.c: Use "__asm__" instead of "asm" for improved c99-compliance.
* 2010-04-27 Joel Sherrill <joel.sherrilL@OARcorp.com>Joel Sherrill2010-04-272-2/+4
| | | | | * network/network.c, startup/bspclean.c, startup/init5282.c: Remove warnings.
* * startup/bspstart.c: Clean up some warnings.Eric Norum2010-04-261-1/+2
| | | | * network/network.c: Fix up full/half duplex printout and some warnings.
* Whitespace removal.Ralf Corsepius2009-11-292-20/+20
|
* 2009-11-03 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2009-11-031-1/+1
| | | | * startup/bspstart.c: Add missing prototype.
* 2009-09-09 Till Straumann <strauman@slac.stanford.edu>Till Straumann2009-09-091-0/+40
| | | | | | * startup/bspstart.c: Added dummy implementation of firmware syscalls for use with QEMU. Dummy handler is installed if no pre-existing firmware handler is found.
* Enable data cache.Eric Norum2009-07-301-5/+4
|
* PR 1420/bspsEric Norum2009-07-281-2/+7
| | | | | | Turn on buffered writes to DRAM. As Device Errata SECF124 notes this may cause double writes, but that's not really a big problem and benchmarking tests have shown that buffered writes do gain some performance.
* As per Freescale chip errata, disable buffered writes.Eric Norum2009-06-021-3/+15
|
* 2008-09-23 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2008-09-232-3/+22
| | | | | | | * Makefile.am, configure.ac, include/bsp.h, startup/bspstart.c: Rename existing bsp_reset() to bsp_sysReset() since the prototype did not match the standard one. Add standard bsp_reset(). * startup/bspreset.c: New file.
* 2008-09-16 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2008-09-162-10/+10
| | | | | * Makefile.am, startup/bspstart.c, startup/linkcmds: Use top level shared bsp_get_work_area() implementation.
* 2008-09-16 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2008-09-162-41/+16
| | | | | | | * Makefile.am, configure.ac, startup/bspstart.c, startup/linkcmds: Add use of bsp_get_work_area() in its own file and rely on BSP Framework to perform more initialization. Remove unnecessary includes of rtems/libio.h and rtems/libcsupport.h.
* Back out changes from 2008-05-16 -- they don't seem to work.Eric Norum2008-05-192-4/+25
|
* Use shared version of bootstrap to set up workspace.Eric Norum2008-05-162-25/+4
|
* 2008-05-12 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill2008-05-121-1/+0
| | | | | | | | | | | | * startup/bspstart.c: Refactored and renamed initialization routines to rtems_initialize_data_structures, rtems_initialize_before_drivers, rtems_initialize_device_drivers, and rtems_initialize_start_multitasking. This opened the sequence up so that bootcard() could provide a more robust and flexible framework which is easier to explain and understand. This also lays the groundwork for sharing the division of available memory between the RTEMS workspace and heap and the C library initialization across all BSPs.
* More clean up of FPGA interrupts.Eric Norum2008-04-241-2/+1
|
* startup/bspstart.c: Clean up non-FPGA use of EPORT interrupts.Eric Norum2008-04-081-11/+3
| | | | network/network.c: Track half/full-duplex changes from 4.7 branch.
* 2008-03-03 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill2008-03-031-1/+1
| | | | | * startup/linkcmds: Add wildcard to gcc_except_table section so programs compiled with gcc 4.3.x can link.
* 2007-12-11 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill2007-12-111-9/+1
| | | | | | * clock/clock.c, include/bsp.h, startup/bspstart.c: Eliminate copies of the Configuration Table. Use the RTEMS provided accessor macros to obtain configuration fields.
* 2007-12-04 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill2007-12-041-6/+0
| | | | | | * Makefile.am, startup/bspstart.c: Move interrupt_stack_size field from CPU Table to Configuration Table. Eliminate CPU Table from all ports. Delete references to CPU Table in all forms.
* 2007-12-03 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill2007-12-031-6/+0
| | | | | | | | | | * include/bsp.h, startup/bspstart.c: Moved most of the remaining CPU Table fields to the Configuration Table. This included pretasking_hook, predriver_hook, postdriver_hook, idle_task, do_zero_of_workspace, extra_mpci_receive_server_stack, stack_allocate_hook, and stack_free_hook. As a side-effect of this effort some multiprocessing code was made conditional and some style clean up occurred.
* 2007-11-26 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2007-11-261-199/+202
| | | | | * startup/bspstart.c: Eliminate the interrupt_vector_table field in the m68k CPU Table since it is never read.
* 2007-11-06 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill2007-11-061-41/+40
| | | | * startup/linkcmds: Formatting.
* 2007-05-03 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2007-05-031-2/+2
| | | | * startup/linkcmds: Handle .data.* sections
* 2007-03-12 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2007-03-124-4/+4
| | | | | | | | | * clock/clock.c, console/console.c, include/bsp.h, include/coverhd.h, include/tm27.h, network/network.c, start/start.S, startup/bspclean.c, startup/bspstart.c, startup/init5282.c, startup/linkcmds, timer/timer.c: Correct license URL and/or fix mistake in copyright notice. Both of these mistakes appear to be from code submitted after these changes were made previously.
* 2007-03-11 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2007-03-111-3/+2
| | | | | | * startup/bspstart.c: Remove assignments of Cpu_table.do_zero_of_workspace to TRUE since TRUE is the default value in boot_card.c
* * startup/bspstart.c: Changed BSP_installVME_isr() so thatTill Straumann2006-12-151-69/+138
| | | | | | | | | | | | the special handling of a 'FPGA interrupt' [this FPGA is *not* present on the uC5282 module but is externally connected to IRQ1 on Eric Norum's particular 'motherboard'] is only activated when connecting to the special vectors > 192. The change allows us ordinary users [:-)] to use IRQ1 normally, simply by connecting an ISR to vector 64+1... Also, BSP_enable_irq_at_pic(), BSP_disable_irq_at_pic(), BSP_irq_is_enabled_at_pic() were introduced (compat. with some PPC BSPs).
* Add bsp_setbenv system call.Eric Norum2006-08-011-1/+2
|
* Allow single spurious FPGA interrupt.Eric Norum2006-05-151-3/+8
|
* Improve handling of unexpected FPGA interrupt conditions.Eric Norum2006-05-151-3/+19
|
* Add default exception handler.Eric Norum2006-04-111-0/+52
|
* Add missing reset cause bit.Eric Norum2006-03-241-0/+1
|