| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* shared/bspstart.c, shared/start.S: 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.
|
|
|
|
|
|
|
|
|
|
|
|
| |
* shared/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.
|
|
|
|
| |
* shared/start.S: Spacing.
|
|
|
|
|
| |
* shared/bspstart.c: Eliminate copies of the Configuration Table. Use
the RTEMS provided accessor macros to obtain configuration fields.
|
|
|
|
| |
* shared/include/grcan_spwrtc.h: Removed.
|
|
|
|
| |
* shared/include/ambapp.h: Sync head and 4.8 branch.
|
|
|
|
|
|
| |
* shared/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.
|
|
|
|
|
|
|
|
|
| |
* shared/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.
|
|
|
|
|
|
| |
* shared/include/grspw.h, shared/spw/grspw.c: GRSPW SpaceWire Driver.
Fixes typecast to volatile integer instead of to integer. Added
scanning for GRSPW2 Core, The GRSPW2 core is run in legacy mode.
|
|
|
|
|
|
|
| |
* shared/can/occan.c: LEON2/3 OCCAN CAN driver. Fixes typecast to
volatile integer where needed. Fixes bug where closing the driver and
opening it again could make the driver not starting transmission due
to the software fifo was not cleared.
|
|
|
|
|
|
|
|
|
| |
* shared/can/grcan.c, shared/can/grcan_rasta.c,
shared/include/ambapp.h: GRCAN CAN driver. Fixes Interrupt
enabling/disabling in the driver, interrupt may not be restored
correctly. Implements the baud rate calculation routine. Removed
unnecessary printk. Fixed scanning to support GRCAN and GRHCAN
hardware. Added GRCAN device number to ambapp.h.
|
|
|
|
|
|
| |
* Makefile.am, shared/can/occan.c, shared/include/ambapp.h: Add initial
i2c and update OC-CAN support.
* shared/i2c/i2cmst.c, shared/include/i2cmst.h: New files.
|
|
|
|
| |
* shared/can/occan.c: Fix warning on Diab compiler.
|
|
|
|
| |
* shared/can/occan.c: Fix Reenable command and fix typo.
|
|
|
|
| |
* shared/1553/b1553brm.c, shared/can/grcan.c: Remove include of sched.h
|
|
|
|
|
| |
* shared/spw/grspw.c: Remove include of sched.h. It does not appear to
be needed and is unavailable when POSIX is disabled.
|
|
|
|
|
| |
* shared/can/grcan.c, shared/include/debug_defs.h, shared/spw/grspw.c:
Remove use of DEBUG_printf.
|
|
|
|
|
|
| |
* shared/1553/b1553brm.c, shared/can/grcan.c, shared/can/grcan_rasta.c,
shared/can/occan.c, shared/spw/grspw.c, shared/spw/grspw_pci.c,
shared/uart/apbuart.c: Remove warnings.
|
|
|
|
| |
* shared/pci/pcifinddevice.c: New file.
|
|
|
|
| |
* shared/uart/apbuart.c: Fix some warnings.
|
|
|
|
|
|
|
|
|
|
|
| |
New drivers: PCI, b1553BRM, SpaceWire(GRSPW), CAN (GRCAN,OC_CAN),
Raw UART.
* shared/1553/b1553brm.c, shared/1553/b1553brm_pci.c,
shared/1553/b1553brm_rasta.c, shared/can/grcan.c,
shared/can/grcan_rasta.c, shared/can/occan.c, shared/can/occan_pci.c,
shared/spw/grspw.c, shared/spw/grspw_pci.c, shared/spw/grspw_rasta.c,
shared/uart/apbuart.c, shared/uart/apbuart_pci.c,
shared/uart/apbuart_rasta.c: New files missed in previous commit.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Makefile.am: Add the following new drivers: PCI, b1553BRM,
SpaceWire(GRSPW), CAN (GRCAN,OC_CAN), Raw UART.
* shared/include/apbuart.h, shared/include/apbuart_pci.h,
shared/include/apbuart_rasta.h, shared/include/b1553brm.h,
shared/include/b1553brm_pci.h, shared/include/b1553brm_rasta.h,
shared/include/debug_defs.h, shared/include/grcan.h,
shared/include/grcan_rasta.h, shared/include/grcan_spwrtc.h,
shared/include/grspw.h, shared/include/grspw_pci.h,
shared/include/grspw_rasta.h, shared/include/occan.h,
shared/include/occan_pci.h, shared/include/pci.h: New files.
|
|
|
|
|
|
|
|
| |
* shared/bspstart.c: LEON2 and LEON3 Data cache snooping detection on
startup, for drivers. (LEON2,3 are configurable processors, they can
be with or without DCache snooping. Caches without snooping needs the
drivers to flush cache or use the sparc instruction lda to force
cache miss...)
|
|
|
|
| |
* shared/amba/ambapp.c, shared/include/ambapp.h: New files.
|
|
|
|
| |
* shared/bspstart.c: Add include <rtems/bspIo.h> to remove warning.
|
|
|
|
|
| |
* shared/bspstart.c, shared/gnatcommon.c: Remove debug print methods
that are redundant with prntk and replace their use with printk.
|
|
|
|
|
|
| |
* shared/bspstart.c: Remove assignments of
Cpu_table.do_zero_of_workspace to TRUE since TRUE is the default
value in boot_card.c
|
|
|
|
|
|
|
|
|
|
| |
* shared/bspstart.c, shared/start.S: 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.
|
|
|
|
| |
* shared/start.S: Add include of bspopts.h so SIS quirks will trigger.
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
PR 821/bsps
* start.S: Workaround -- just avoid copying non-existent initialized
data in ROM to RAM.
|
| |
|
| |
|
|
|
|
| |
* start.S: Include <rtems/asm.h> instead of <asm.h>.
|
|
|
|
| |
* bspstart.c, gnatcommon.c: Convert to using c99 fixed size types.
|
|
|
|
| |
* Makefile.am: Cosmetics.
|
|
|
|
| |
* bspstart.c: Obsoleting HP PA-RISC port and removing all references.
|
|
|
|
| |
* bspclean.c, bspstart.c: URL for license changed.
|
| |
|
|
|
|
| |
Makefile.am: Reflect having moved automake.
|
|
|
|
| |
* gnatcommon.c: Removed warnings.
|
|
|
|
| |
* Makefile.am: Remove AUTOMAKE_OPTIONS.
|
|
|
|
|
|
| |
* start.S: Modificatins to preserve the current CWP and adjust the
WIM accordingly. This improves compatibility with the remote
debugger and the mkprom prom-builder.
|
|
|
|
| |
* Makefile.am: Cleanup.
|
|
|
|
|
|
| |
* ChangeLog, .cvsignore, Makefile.am, bspclean.c, bspstart.c,
gnatcommon.c, start.S: New files. Largely moved from ERC32
BSP to be able to be shared with LEON and other SPARC BSPs.
|
|
* ChangeLog, .cvsignore, Makefile.am, bspclean.c, bspstart.c,
gnatcommon.c, start.S: New files. Largely moved from ERC32
BSP to be able to be shared with LEON and other SPARC BSPs.
|