| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
| |
* bsppost.c: Split open of the console from the standard BSP code so it
is easier to stub out.
|
|
|
|
| |
compiler warnings.
|
| |
|
|
|
|
|
|
|
|
| |
PR 1237/rtems
* src/lib/libbsp/shared/bsplibc.c: Add logic to prevent stack creep
when interrupts occur at a sufficient rate that the interrupted
thread never gets to clean its stack. This patch ensures that an
interrupted thread will not nest ISR dispatches on its stack.
|
|
|
|
|
| |
* bootcard.c: Move __fini call to inside executive for
symmettry with __init call.
|
|
|
|
|
|
| |
* 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.
|
|
|
|
| |
* dummy_printk_support.c: New file.
|
|
|
|
| |
* vmeUniverse/vmeUniverse.c: Use uint32_t for pci_ulong.
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
| |
PR 1232/bsps
* bsppost.c: It should not be a fatal error to not have a console.
|
|
|
|
| |
* bootcard.c: Change XXX to real comment.
|
|
|
|
| |
* vmeUniverse/vmeUniverse.c: Use size_t for sizes.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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.
|
| |
|
|
|
|
|
|
| |
moved VME.h from libbsp/powerpc/shared/vme to
libbsp/shared/vmeUniverse; eventually, this (and other)
VME API headers should migrate to cpukit.
|
|
|
|
|
|
|
| |
* 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.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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).
|
|
|
|
|
| |
PR 1190/bsps
* bootcard.c: Remove status since unused.
|
| |
|
|
|
|
|
| |
for the header to declare 'dump info'-style routine. This
is in order to avoid pulling in <stdio.h>.
|
|
|
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
|
| |
* bootcard.c: Merge c_rtems_main() into boot_card(). This eliminated a
file and simplified initialization.
* main.c: Removed.
|
| |
|
|
|
|
| |
* gdbstub/rtems-stub-glue.c: Change registers pointer to unsigned.
|
|
|
|
| |
* gdbstub/rtems-stub-glue.c:
|
|
|
|
| |
(gcc-4.1.1 warns that uint32_t and unsigned int are different).
|
| |
|
|
|
|
|
| |
* gnatinstallhandler.c: Rename since old name is now used
by GNAT source.
|
| |
|
|
|
|
|
| |
* gnatinstallhandler.c: Rename since old name is now used
by GNAT source.
|
|
|
|
|
|
| |
* vmeUniverse/vmeTsi148.c, vmeUniverse/vmeUniverse.c,
vmeUniverse/vmeUniverse.h, vmeUniverse/vme_amd_defs.h:
Added 2F address modifier for VME64 CSR access.
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
| |
Eliminate obsolete types.
|
|
|
|
|
| |
* vmeUniverse/vmeUniverse.c: Eliminate obsolete types.
Remove CVS log.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* shared/vmeUniverse/vmeTsi148.c, shared/vmeUniverse/vmeTsi148.h,
shared/vmeUniverse/vme_am_defs.h: New files.
* Makefile.am, shared/vmeUniverse/README.universe,
shared/vmeUniverse/vmeUniverse.c, shared/vmeUniverse/vmeUniverse.h:
Several VME related upgrades and fixes, hopefully addressing PR#835:
vmeUniverse driver now supports shared interrupts. vmeUniverse now
supports up to four wires between universe and PIC. A new irq mgr
installation routine has been added allowing to use the new features.
(old version is still present for bwd compatibility). Calls have been
added to change interrupt routing (e.g., if wires have different
priorities at the PIC this feature can be used to configure
priorites). Routine for testing VME interrupts has been added (useful
during BSP development). A new header defining standard VME address
modes has been added so that the VME API doesn't have to #include a
particular bridge driver header. For all driver entry points, a 'XX'
variant has been added which allows to pass the chip's base address
[in case a second universe is sitting on a VME card :-)]. Driver now
uses interrupt line as read from PCI config. space (without offset)
BSP needs to use PCI fixup if necessary. Added a driver for the
tundra tsi148 VME bridge.
|
| |
|
| |
|
|
|
|
|
| |
PR 577/bsps
* console.c: Make the previously committed patch for this PR compile.
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
| |
PR 779/bsp
* vmeUniverse/vmeUniverse.c: add parameter to new exception interrupt
handlers in powerpc bsps
|
|
|
|
|
| |
* vmeUniverse/README.porting, vmeUniverse/vmeUniverse.c: Continue PCI
API unification. All use pci_find_device().
|
|
|
|
|
| |
* vmeUniverse/README.porting, vmeUniverse/vmeUniverse.c: Make PCI
initialize function part of the unified PCI API as pci_initialize().
|
|
|
|
| |
* tod.c: Change type of RTC_Count to size_t.
|
|
|
|
|
| |
PR 704/bsps.
* ide_ctrl.c: Removed (obsolete).
|
|
|
|
|
|
| |
PR 703/filesystem
* shared/ide_ctrl.c: Extend the "modes_available" and "mode_active"
parameters to uint16_t for UDMA support.
|
|
|
|
|
|
| |
* 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.
|
| |
|
|
|
|
|
| |
PR 688/bsps
* shared/tod.c: Set RTEMS time during TOD initialization
|