summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/powerpc/shared (follow)
Commit message (Collapse)AuthorAgeFilesLines
* 2008-09-19 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2008-09-194-23/+19
| | | | | | | | * shared/start/start.S, shared/startup/bspgetworkarea.c, shared/startup/bspstart.c, shared/startup/linkcmds: Modifications which reflect those tested on psim. Hopefully they work on all boards. The initialization stack is explicitly declared in the linkcmds memory layout rather than magic math.
* 2008-09-16 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2008-09-161-1/+1
| | | | * shared/include/nvram.h: Fix typo.
* 2008-09-16 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2008-09-161-1/+1
| | | | | * shared/clock/clock.c: Remove unnecessary includes of rtems/libcsupport.h and rtems/libio.h.
* 2008-09-15 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2008-09-153-55/+50
| | | | | | | * shared/startup/bspstart.c, shared/startup/pretaskinghook.c: Add use of bsp_get_work_area() in its own file and rely on BSP Framework to perform more initialization. * shared/startup/bspgetworkarea.c: New file.
* 2008-09-10 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2008-09-101-1/+0
| | | | | | | * shared/startup/bspstart.c: Review of all bsp_cleanup() implementations. In this phase, all prototypes were removed from bsp.h and empty implementations were removed and made to use the shared stub.
* Convert to "bool".Ralf Corsepius2008-09-061-1/+1
|
* 2008-09-05 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill2008-09-051-21/+0
| | | | | | | * shared/clock/clock.c: The Shared Memory Driver no longer requires the special IOCTL in Clock_control. This was a hack which has existed since before the Classic API Timer Manager was implemented. All implementations of and references to Clock_control were removed.
* Convert to "bool".Ralf Corsepius2008-09-051-22/+22
|
* 2008-08-28 Till Straumann <strauman@slac.stanford.edu>Till Straumann2008-08-281-0/+9
| | | | | * shared/vme/vme_universe.c: added implementation for BSP_VMEResetBus().
* Add missing prototypes.Ralf Corsepius2008-08-202-2/+2
|
* Add missing prototypes.Ralf Corsepius2008-08-207-17/+17
|
* 2008-08-19 Sebastian Huber <sebastian.huber@embedded-brains.de>Joel Sherrill2008-08-191-11/+11
| | | | * shared/clock/clock.c: Fixed warnings.
* Changed special purpose register inline functions to macros.Thomas Doerfler2008-07-181-17/+9
| | | | | fixed some minors in mpc83xx support added file for mpc55xx watchdog support
* added haleakala BSP contributed by Michael HamelThomas Doerfler2008-07-141-4/+2
|
* adapted powerpc BSPs to new exception codeThomas Doerfler2008-07-111-33/+22
|
* 2008-07-10 Till Straumann <strauman@slac.stanford.edu>Till Straumann2008-07-101-1/+1
| | | | | * shared/flash/spansionFlash.c: removed "m" memory operands.
* - Simple timing functions based on a time base reference.Thomas Doerfler2008-07-103-0/+250
| | | | - u-boot header file
* Alternative clock driver. Uses exception handlerThomas Doerfler2008-07-101-0/+271
| | | | | | directly. Supports special variants for Book E and e300 cores. For standard decrementer CPUs the new decrementer value is calculated with reference to a time base so that a time drift is avoided
* 2008-07-01 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2008-07-011-0/+68
| | | | * shared/uboot_getenv.c: New file.
* 2008-06-02 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2008-06-021-3/+3
| | | | | * shared/startup/panic.c: Convention calls for leading underscore on private RTEMS variables.
* 2008-05-23 Till Straumann <strauman@slac.stanford.edu>Till Straumann2008-05-231-5/+2
| | | | | | | | | * shared/startup/pretaskinghook.c: removed declaration of BSP_vme_config() (which is already declared in <bsp/VME.h>. Removed test for NULL-ness of BSP_vme_config; gcc doesn't seem to understand that the linker may define this to be NULL... Silences a compiler warning (and users can always provide an empty routine).
* 2008-05-22 Till Straumann <strauman@slac.stanford.edu>Till Straumann2008-05-222-2/+3
| | | | | | | * shared/startup/linkcmds, shared/startup/zerobss.c: introduced '__bss_end'; assuming that __rtems_end coincides with the end of .bss for the purpose of zeroing .bss is very dangerous.
* 2008-05-22 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill2008-05-221-1/+0
| | | | * shared/console/console.c: Fix typo.
* 2008-05-22 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2008-05-221-162/+103
| | | | | * shared/console/console.c: Remove explicit switch and call termios_baud_to_number().
* 2008-05-15 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill2008-05-151-3/+0
| | | | | | | | | | | | | | * shared/startup/pretaskinghook.c: Add capability for bootcard.c BSP Initialization Framework to ask the BSP where it has memory for the RTEMS Workspace and C Program Heap. These collectively are referred to as work area. If the BSP supports this, then it does not have to include code to split the available memory between the two areas. This reduces the amount of code in the BSP specific bspstart.c file. Additionally, the shared framework can initialize the C Library, call rtems_debug_enable(), and dirty the work area memory. Until most/all BSPs support this new capability, if the BSP supports this, it should call RTEMS_BSP_BOOTCARD_HANDLES_RAM_ALLOCATION from its configure.ac. When the transition is complete, this autoconf macro can be removed.
* 2008-05-12 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill2008-05-121-2/+0
| | | | | | | | | | | | * shared/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.
* 2008-03-21 Till Straumann <strauman@slac.stanford.edu>Till Straumann2008-03-211-2/+2
| | | | | | * shared/console/uart.c: In IRQ driven mode also keep reading chars while they are available (fifo could be enabled).
* 2008-03-19 Till Straumann <strauman@slac.stanford.edu>Till Straumann2008-03-201-0/+8
| | | | | | | * shared/startup/pretaskinghook.c: install pointer to rtems_malloc_sbrk_helpers_table. This (and derived) BSPs rely on sbrk delivering even the first/initial chunk of memory.
* 2008-03-19 Till Straumann <strauman@slac.stanford.edu>Till Straumann2008-03-203-7/+77
| | | | | | * shared/console/console.c, shared/console/uart.c, shared/console/uart.h: added support for task-driven console.
* 2008-03-03 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill2008-03-031-1/+1
| | | | | * shared/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-112-14/+5
| | | | | | * shared/startup/bspstart.c, shared/startup/pretaskinghook.c: Eliminate copies of the Configuration Table. Use the RTEMS provided accessor macros to obtain configuration fields.
* 2007-12-10 Till Straumann <strauman@slac.stanford.edu>Till Straumann2007-12-111-0/+277
| | | | | * Makefile.am, start/preload.S: moved preload.S to ../shared/start.
* 2007-12-10 Till Straumann <strauman@slac.stanford.edu>Till Straumann2007-12-112-3/+3
| | | | | | * shared/irq/irq_asm.S, shared/vectors/vectors.h: renamed ASM_BOOKE_PIT_VECTOR to ASM_BOOKE_DEC_VECTOR to be closer to 'official' nomenclature.
* 2007-12-10 Till Straumann <strauman@slac.stanford.edu>Till Straumann2007-12-111-1/+1
| | | | | * shared/openpic/openpic.c: fixed wrong register address in openpic_gettimer().
* 2007-12-10 Till Straumann <strauman@slac.stanford.edu>Till Straumann2007-12-112-0/+466
| | | | | | * shared/motorola/vpd.c, shared/motorola/vpd.h: added code (originally developed for 'beatnik') to read MotLoad VPD data from i2c eeprom.
* 2007-12-10 Till Straumann <strauman@slac.stanford.edu>Till Straumann2007-12-112-0/+31
| | | | | | | | * shared/vectors/README.deprecated, shared/irq/README.deprecated: added READMEs stating that certain files should not be copy/paste/modified when creating new BSPs. New BSPs are encouraged to use the new library under libcpu/powerpc/new-exceptions/bspsupport.
* 2007-12-10 Till Straumann <strauman@slac.stanford.edu>Till Straumann2007-12-111-0/+0
| | | | | | | | * shared/vectors/vectors_entry.S, motorola_powerpc/bsp_specs, shared/start/vectors_entry.S: moved vectors_entry.S to 'start' subdir and made a start file rather than element of vectors.rel (it should always be linked but won't if it is the sole member of vectors.rel).
* 2007-12-08 Till Straumann <strauman@slac.stanford.edu>Till Straumann2007-12-091-1/+1
| | | | | * shared/vme/vme_universe.c: fixed wrong initialization routine when using Tsi148 driver.
* 2007-12-08 Till Straumann <strauman@slac.stanford.edu>Till Straumann2007-12-091-8/+12
| | | | | * shared/vme/vme_universe.c: must set DMA ops pointer during init.
* 2007-12-08 Till Straumann <strauman@slac.stanford.edu>Till Straumann2007-12-092-147/+139
| | | | | | * Makefile.am: merged shared/vme/vme_universe.c and shared/vme/vme_universe_dma.c into one file. Added support for Tsi148 driver (DMA).
* 2007-12-08 Till Straumann <strauman@slac.stanford.edu>Till Straumann2007-12-091-0/+2
| | | | | * shared/vme/vme_universe.c: had erroneously deleted #define __INSIDE_RTEMS_BSP__
* 2007-12-08 Till Straumann <strauman@slac.stanford.edu>Till Straumann2007-12-092-26/+140
| | | | | | | | * shared/vme/VMEConfig.h, shared/vme/vme_universe.c: added support for Tsi148 bridge; BSP can define which bridge driver to use from VMEConfig.h. Added 'err' macro parameter to BSP_VME_INSTALL_IRQ_MGR(err) macro so that an error status can be passed back.
* 2007-12-08 Till Straumann <strauman@slac.stanford.edu>Till Straumann2007-12-091-108/+0
| | | | | * irq_supp.h: was moved from shared/irq to libcpu/powerpc/new-exceptions/bspsupport.
* 2007-12-08 Till Straumann <strauman@slac.stanford.edu>Till Straumann2007-12-081-3/+4
| | | | | | | | | | * ep1a/irq/irq.c, gen5200/irq/irq.c, gen83xx/irq/irq_init.c, mbx8xx/irq/irq.c, mpc8260ads/irq/irq.c, mvme5500/irq/irq.c, psim/irq/no_pic.c, score603e/irq/irq.c, shared/irq/irq_supp.h, shared/irq/openpic_i8259_irq.c, virtex/irq/irq_init.c: let C_dispatch_irq_handler() return zero to indicate to low-level exception handling code that the exception was handled (not used yet).
* 2007-12-08 Till Straumann <strauman@slac.stanford.edu>Till Straumann2007-12-081-26/+26
| | | | | | *shared/irq/irq_supp.h: removed cpp test for BSP_SHARED_HANDLER_SUPPORT; BSPs using irq_supp.h *must* implement shared handlers.
* 2007-12-06 Till Straumann <strauman@slac.stanford.edu>Till Straumann2007-12-072-0/+24
| | | | | | * shared/openpic/openpic.c, shared/openpic/openpic.h: added routines to set timer period and interupt mask and to read current count.
* 2007-12-06 Till Straumann <strauman@slac.stanford.edu>Till Straumann2007-12-061-13/+1
| | | | | * shared/vectors/vectors_init.c: replaced switch ( current_ppc_cpu ) { } check by feature check.
* 2007-12-06 Till Straumann <strauman@slac.stanford.edu>Till Straumann2007-12-062-27/+35
| | | | | | | | | * shared/irq/irq_asm.S, shared/vectors/vectors.S: Replaced use of hardcoded PPC_EXC_MSR_BITS by a run-time method to determine these bits (use settings effective before exception occurred). Replaced use of hardcoded ASM_VECTORS_CRITICAL by 'bsp_raw_vector_is_405_critical' variable.
* 2007-12-05 Till Straumann <strauman@slac.stanford.edu>Till Straumann2007-12-051-4/+3
| | | | | | | * shared/irq/irq_supp.h: removed stray '*/'. Removed inclusion of <stdlib.h> which is unnecessary and broke if_dc in an obscure way (due to malloc/free redefinition in the networking code).
* 2007-12-05 Till Straumann <strauman@slac.stanford.edu>Till Straumann2007-12-054-15/+15
| | | | | | | * shared/irq/irq_asm.S, shared/vectors/vectors.S, shared/vectors/vectors.h, shared/vectors/vectors_init.c: Converted exception vector names to new ones (qualified by <cpu_type> if non-std ppc exceptions).