2008-09-05 Ralf Corsépius * timerstub.c, tod.c: Convert to "bool". 2008-09-03 Joel Sherrill * tod.c: Remove extern. RTC_Present is not defined anywhere. 2008-09-02 Ralf Corsépius PR 1302/bsps * vmeUniverse/vmeUniverse.h: Remove _VME_UNIVERSE_DECLARE_SHOW_ROUTINES. 2008-08-31 Joel Sherrill * timerstub.c: Eliminate empty function from every benchmark timer driver. Fix spelling. 2008-08-30 Joel Sherrill * bootcard.c: Fix formatting. * console-polled.c: Error if minor < 2 not just <= 2. 2008-08-28 Till Straumann * vmeUniverse/vmeTsi148.h, vmeUniverse/vmeTsi148.c: added vmeTsi148ResetBusXX(), vmeTsi148ResetBus(). 2008-08-28 Till Straumann * vmeUniverse/VME.h: added BSP_VMEResetBus(). 2008-08-20 Sebastian Huber * src/irq-generic.c: Fixed integer conversion warnings. 2008-08-19 Ralf Corsépius * timerstub.c: Add missing prototypes. 2008-08-15 Allan Hessenflow * src/lib/libbsp/mips/jmr3904/tools/runtest: Add bf537Stamp. 2008-08-19 Sebastian Huber * include/bootcard.h, bootcard.c, bsplibc.c: Changed parameter types of bsp_libc_init() to match RTEMS_Malloc_Initialize(). * bsppost.c, bsppredriverhook.c: Include bootcard.h. * src/irq-generic.c: Fixed warnings. 2008-08-18 Joel Sherrill * bsppost.c: Fix warning by moving prototype to libcsupport.h. 2008-08-18 Ralf Corsépius * tod.c: Add missing prototypes. 2008-08-05 Joel Sherrill PR 537/bsps * bsplibc.c: Eliminate vestiges of ticks_per_timeslice controlling newlib reentrancy. The parameter was ignored in libc_init(). 2008-07-28 Sebastian Huber * src/irq-legacy.c: Free allocated memory in handler remove. * bootcard.c: Check if the heap fits into the work area. 2008-07-24 Sebastian Huber * include/bootcard.h: New file. * bootcard.c: Changed bsp_get_workarea() to bsp_get_work_area() and added support for an optional separate heap area. * bsppretaskinghook.c: Cleanup. Include bootcard.h. * include/irq-generic.h, src/irq-generic.c, src/irq-legacy.c: Support for new rtems_interrupt_handler_iterate() function. 2008-07-15 Joel Sherrill * bootcard.c: Must include bsp.h or bspopts.h or we cannot know if boot_card() handles RAM allocation. 2008-07-14 Sebastian Huber * bootcard.c: Removed duplicated code. 2008-07-10 Sebastian Huber * bootcard.c: Special case for PowerPC: The interrupt disable mask is stored in SPRG0. It must be valid before we can use rtems_interrupt_disable(). 2008-07-09 Sebastian Huber * include/irq-config.h, include/irq-generic.h, src/irq-generic.c, src/irq-legacy.c: Generic BSP interrupt handler support. 2008-06-04 Joel Sherrill * include/tm27.h: New file. Stub version of tm27 support. 2008-05-23 Till Straumann * vmeUniverse/VME.h: removed 'weak' attribute from declaration of BSP_vme_config(). 2008-05-22 Till Straumann * vmeUniverse/vmeUniverse.c: fixed compiler warning; moved struct attributes as directed by gcc warning. 2008-05-15 Joel Sherrill * bootcard.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. * bsppretaskinghook.c: New file. 2008-05-12 Joel Sherrill * bootcard.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-05-06 Joel Sherrill * bootcard.c: Improve formatting and comments. 2008-03-20 Till Straumann * vmeUniverse/vmeTsi148.c: type of 5th argument to pci_read_config_dword() is now uint32_t*. 2008-03-17 Till Straumann * vmeUniverse/vmeTsi148.c: Initialize VME Master 'VTON' timer and bus-release policy to less aggressive values than the chip's defaults. The default VTON easily overrides any settings used by the DMA engine. 2008-03-03 Joel Sherrill * gdbstub/rtems-stub-glue.c: Update to use the new rtems_object_get_name() service. This simplified the code a bit. 2008-01-22 Joel Sherrill * bootcard.c: Improve comments and clean up argc/argv order. 2007-12-11 Joel Sherrill * bootcard.c, bsplibc.c: Eliminate copies of the Configuration Table. Use the RTEMS provided accessor macros to obtain configuration fields. 2007-12-04 Joel Sherrill * bootcard.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 * bsppredriverhook.c: New file. 2007-12-03 Joel Sherrill * bootcard.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-12-02 Till Straumann * vmeUniverse/vmeUniverse.c, vmeUniverse/vmeTsi148.c: silenced compiler warnings caused by type changes in byteorder.h (volatile unsigned * -> volatile uint32_t *) 2007-11-26 Joel Sherrill * bootcard.c: Add comment. 2007-07-15 Till Straumann * vmeUniverse/vmeTsi148.c: Use size_t for sizes. 2007-06-20 Joel Sherrill * bsppost.c: Split open of the console from the standard BSP code so it is easier to stub out. 2007-05-10 Till Straumann * vmeUniverse/vmeUniverse.c: Changed types to silence compiler warnings. 2007-05-09 Joel Sherrill * bootcard.c: Move __fini call to inside executive for symmettry with __init call. 2007-04-17 Joel Sherrill * bootcard.c: RTEMS Workspace now defaults to not being zeroed. This significantly speeds up boot time on targets not requiring memory to be touched at boot time. 2007-04-02 Joel Sherrill * dummy_printk_support.c: New file. 2007-03-31 Ralf Corsépius * vmeUniverse/vmeUniverse.c: Use uint32_t for pci_ulong. 2007-03-28 Joel Sherrill * clockdrv_shell.c: Add support to the Clock driver template for rtems_clock_set_nanoseconds_extension and the potential for TOD and timestamps accurate to the nanosecond. 2007-03-28 Joel Sherrill PR 1232/bsps * bsppost.c: It should not be a fatal error to not have a console. 2007-03-09 Joel Sherrill * bootcard.c: Change XXX to real comment. 2007-02-06 Ralf Corsépius * vmeUniverse/vmeUniverse.c: Use size_t for sizes. 2007-01-30 Till Straumann * vmeUniverse/README.porting, vmeUniverse/README.universe: updated, added more information for BSP implementors. * vmeUniverse/VMEDMA.h (added): VME DMA API definition. * vmeUniverse/bspVmeDmaList.h (added), vmeUniverse/bspVmeDmaListP.h (added), * vmeUniverse/bspVmeDmaList.c (added): Driver-independent code for linked-list DMA (public + private headers, implementation). * vmeUniverse/vmeUniverseDMA.h (added), vmeUniverse/vmeTsi148DMA.h (added): interface to new DMA features of drivers. * vmeUniverse/vme_amd_defs.h: Added definition for data-width hint bits (VME_MODE_DBWxx). * vmeUniverse/vmeTsi148.c: added DMA support. Added support for data-width hint/modifier bits. * vmeUniverse/vmeUniverse.c, vmeUniverse/vmeUniverse.h: Added support for data-width hint/modifier bits. Added support for xxx_BLT, xxx_MBLT address modifiers. Restrict DBW to 32 in non-MBLT modes (except single-beat; a comment is in README.universe). Updated DMA support to implement new VMEDMA.h API. Added support for non-incrementing VME addresses. Restrict data width to 32 for single-beat AMs when the universe would use MBLT for DMA. 2007-01-19 Till Straumann * vmeUniverse/VME.h: moved VME.h from libbsp/powerpc/shared/vme to libbsp/shared/vmeUniverse; eventually, this (and other) VME API headers should migrate to cpukit. 2007-01-16 Till Straumann * vmeUniverse/vmeTsi148.c, vmeUniverse/vmeTsi148.h, vmeUniverse/vmeUniverse.c, vmeUniverse/vmeUniverse.h, vmeUniverse/vme_am_defs.h: Added SLAC/Stanford Authorship Note / Copyright + Liability Disclaimer. 2006-12-13 Till Straumann * vmeUniverse/vme_am_defs.h: Added address modifiers for 2eVME. Added flags for 2eSST and DBW16. * vmeUniverse/vmeUniverse.h: Removed AM definitions and include vme_am_defs.h instead. Declare new routine vmeUniverseMapCRG(). Export 'irq manager' API only if __INSIDE_RTEMS_BSP__ defined. Renamed 'shared' argument to vmeUniverseInstallIrqMgrAlt() to 'flags' since now more options are available. Added new flag to install 'posted-write' workaround. * vmeUniverse/vmeUniverse.c: Allow BSP to override BSP_PCI2LOCAL_ADDR() macro. Data width of outbound port can now be restricted to 16-bit (if new DBW16 flag set in address modifier). Added vmeUniverseMapCRG() for mapping local registers onto VME. Interrupt manager now implements a workaround (enabled at installation time) which flushes the write-fifo after user ISR returns. This requires the universe's registers to be accessible from VME (either CSR space or CRG mapped to A16/A24/A32), though. * vmeUniverse/vmeTsi148.h: vmeTsi148ClearVMEBusErrors() now returns the fault address as a 32-bit address (not ulonglong anymore). The driver only supports 32-bit addresses. Declare new routine vmeTsi148MapCRG(). Export 'irq manager' API only if __INSIDE_RTEMS_BSP__ defined. Renamed 'shared' argument to vmeTsi148InstallIrqMgrAlt() to 'flags' to allow more options to be supported. Added comments explaining the 'posted-write' workaround implemented by the interrupt manager. * vmeUniverse/vmeTsi148.c: Clear 'SYSFAIL' during initialization. Allow BSP to override BSP_PCI2LOCAL_ADDR() macro. Added support for 2eSST when configuring windows (untested - I have no 2eSST). Added vmeTsi148MapCRG() for mapping local registers onto VME. Implemented 'posted-write' workaround for interrupt manager (consult source for details). 2006-12-13 Joel Sherrill PR 1190/bsps * bootcard.c: Remove status since unused. 2006-11-29 Till Straumann * vmeUniverse/vmeTsi148.h: user now must define a symbol for the header to declare 'dump info'-style routine. This is in order to avoid pulling in . 2006-11-17 Joel Sherrill * clock_driver_stub.c, clockdrv_shell.c: Use common clock driver template and eliminate all fast idle code specific to this BSP. This eliminates a fair amount of code in the BSP clock driver and bsp_startup. The LEON3 has to do a scan of the AMBA bus to find the timer so I added the new hook Clock_driver_support_find_timer to support this. In general, there was some clean up to the file headers of various files. 2006-11-15 Joel Sherrill * bootcard.c: Merge c_rtems_main() into boot_card(). This eliminated a file and simplified initialization. * main.c: Removed. 2006-10-19 Joel Sherrill * gdbstub/rtems-stub-glue.c: Change registers pointer to unsigned. 2006-07-12 Till Straumann * vmeUniverse/vmeTsi148.c: Silenced compiler warnings (gcc-4.1.1 warns that uint32_t and unsigned int are different). 2006-06-19 Till Straumann * vmeUniverse/vme_amd_defs.h: Added address-modifier codes for BLT/MBLT. 2006-02-01 Joel Sherrill * gnatinstallhandler.c: Rename since old name is now used by GNAT source. 2006-01-26 Till Straumann * vmeUniverse/vmeTsi148.c, vmeUniverse/vmeUniverse.c, vmeUniverse/vmeUniverse.h, vmeUniverse/vme_amd_defs.h: Added 2F address modifier for VME64 CSR access. 2006-01-11 Till Straumann * vmeUniverse/vmeTsi148.c, vmeUniverse/vmeTsi148.h, vmeUniverse/vmeUniverse.c, vmeUniverse/vmeUniverse.h, vmeUniverse/vme_amd_defs.h: No longer enable posted-writes on master windows (creates race-condition on memory-mapped devices). A new flag allows for signalling that a window maps 'ordinary memory'. Disable VME IRQ level if no handler is registered with interrupting vector. 2006-01-11 Till Straumann * vmeUniverse/vmeTsi148.c, vmeUniverse/vmeTsi148.h: Eliminate obsolete types. 2005-11-09 Ralf Corsepius * vmeUniverse/vmeUniverse.c: Eliminate obsolete types. Remove CVS log. 2005-10-20 Eric Norum * vmeUniverse/vmeUniverse.c: Support MVME2100. 2005-09-02 Joel Sherrill PR 577/bsps * console.c: Make the previously committed patch for this PR compile. 2005-08-19 Cedric Aubert PR 577/bsps * console.c: The console_close() method currently calls StopRemoteTx() on all invocations. It should should be ok for last close only but not for any others. If you open a port multiple times, you only want to call StopRemoteTx() only as part of the last close. 2005-04-15 Jennifer Averett PR 779/bsp * vmeUniverse/vmeUniverse.c: add parameter to new exception interrupt handlers in powerpc bsps 2005-03-14 Joel Sherrill * vmeUniverse/README.porting, vmeUniverse/vmeUniverse.c: Continue PCI API unification. All use pci_find_device(). 2005-01-23 Joel Sherrill * tod.c: Change type of RTC_Count to size_t. 2004-12-10 Ralf Corsepius PR 704/bsps. * ide_ctrl.c: Removed (obsolete). 2004-11-20 Thomas Doerfler PR 703/filesystem * ide_ctrl.c: Extend the "modes_available" and "mode_active" parameters to uint16_t for UDMA support. 2004-11-16 Richard Campbell * vmeUniverse/vmeUniverse.c: Use PCI_MEM_BASE_ADJUSTMENT because some boards -- notably the MVME2100 -- return the physical address, not an offset in PCI memory space. 2004-10-13 Eric Norum PR 688/bsps * shared/tod.c: Set RTEMS time during TOD initialization 2004-04-01 Ralf Corsepius * ide_ctrl.c: Include instead of . 2004-03-31 Ralf Corsepius * bsplibc.c, clockdrv_shell.c, ide_ctrl.c, tod.c, gdbstub/rtems-stub-glue.c: Convert to using c99 fixed size types. 2004-01-23 Ralf Corsepius * ChangeLog: Merge-in gdbstub/ChangeLog. * gdbstub/ChangeLog: Remove. 2003-09-26 Cedric Aubert PR 501/rtems_misc * console.c: console_open disables ICANON on non-console port, which should be ok for the first open but not for subsequent ones. If you open one serial port, you will configure it, when you reopen it you will lost the ICANON parameters if you had put it. Should be done by console only at first open. 2003-09-04 Joel Sherrill * bootcard.c, bspclean.c, clockdrv_shell.c, console-polled.c, console.c, ide_ctrl.c, main.c, sbrk.c, setvec.c, tod.c, tod.h, include/coverhd.h: URL for license changed. 2003-08-16 Ralf Corsepius * Makefile.am: Reflect having moved automake/. 2003-08-08 Ralf Corsepius * include/Makefile.am: Remove (merged into Makefile.am). * gdbstub/Makefile.am: Remove (merged into Makefile.am). * Makefile.am: Reflect changes above. Reflect having merged ../configure.ac into ../../../configure.ac. 2003-06-30 Joel Sherrill * console-polled.c: Corrected comments in header. 2003-04-10 Till Straumann PR 380/bsps * vmeUniverse/vmeUniverse.c, vmeUniverse/vmeUniverse.h: make printk format strings compliant with libcpu/printk. minor fixes and lazy init bugfix. 2003-03-11 Ralf Corsepius * vmeUniverse/vmeUniverse.c: Remove CVS-Log (skrews up on CVS-mergers). 2003-02-20 Till Straumann PR 349/bsps * README.universe, vmeUniverse/README.porting vmeUniverse/README.universe, vmeUniverse/vmeUniverse.c, vmeUniverse/vmeUniverse.h: Update of the VME universe driver. * vmeUniverse/README.porting: New file. 2002-10-28 Eugeny S. Mints * ide_ctrl.c: New file. 2002-07-01 Joel Sherrill * gdbstub/rtems-stub-glue.c: Corrected use of _Objects_Information_table now that it is a two dimensional array based upon API and class. 2002-06-25 Joel Sherrill * Thomas Doerfler added m68k support to the shared gdb stub glue necessitating a move up. * Makefile.am: Reflect new gdbstub directory. * Thomas Doerfler added m68k support to the shared gdb stub glue necessitating a move up. * gdbstub/ChangeLog, gdbstub/Makefile.am, gdbstub/.cvsignore: New file. * gdbstub/rtems-stub-glue.c: Moved from mips/shared/gdbstub and m68k/shared/gdbstub. 2002-03-27 Ralf Corsepius * include/Makefile.am: Remove AUTOMAKE_OPTIONS. * Makefile.am: Remove AUTOMAKE_OPTIONS. 2001-10-22 Joel Sherrill * bootcard.c: Use __USE_INIT_FINI__ since USE_INIT_FINI pollutes the application namespace. 2001-10-17 Joel Sherrill * timerstub.c: New stub file for BSPs that don't have timer hardware. 2001-10-12 Joel Sherrill * console-polled.c, console.c: Fixed typo. 2001-05-14 Till Straumann * vmeUniverse/README.universe, vmeUniverse/vmeUniverse.c, vmeUniverse/vmeUniverse.h: New files. * Makefile.am: Modified to reflect addition of files. * Per PR214, contributes a driver for the TUNDRA UNIVERSE VME-PCI bridge to libbsp/shared. NOTE: This driver is maintained _outside_ RTEMS by Till. Please forward future modifications to him. 2001-01-12 Joel Sherrill * setvec.c: Removed unused variables. 2001-01-09 Joel Sherrill * clockdrv_shell.c (CLOCK_DRIVER_ISRS_PER_TICK): Add support for multiple ISRs per clock tick. Testing per hacking on mips/jmr3904 clock driver. 2001-01-03 Joel Sherrill * clockdrv_shell.c: Fixed syntax error in fast idle support. * clockdrv_shell.c: Added fast idle mode which is enabled by defining CLOCK_DRIVER_USE_FAST_IDLE. * console-polled.c: Added console_initialize_hardware() hook. 2000-12-01 Joel Sherrill * console-polled.c: Remove warnings. 2000-11-13 Joel Sherrill * clock_driver_stub.c: This is a stub of a clock driver that is sufficient for linking the ticker application. Some simulators do not have a soruce for a clock tick. Also this can be used while constructing a BSP so everything links. 2000-11-01 Joel Sherrill * bsplibc.c: assoc.h, error.h, libio_.h, libio.h, and libcsupport.h moved from libc to lib/include/rtems and now must be referenced as . Header file order was cleaned up while doing this. 2000-10-30 Joel Sherrill * POSIX include files merged into newlib. This resulted in some definitions moving to other files and thus some secondary effects in RTEMS source code. * sbrk.c: Corrected prototype to match newlib. 2000-08-10 Joel Sherrill * ChangeLog: New file.