| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
* configure.ac: Make letting boot_card() handle work area allocation
mandatory. Rename RTEMS_BSP_BOOTCARD_HANDLES_RAM_ALLOCATION to
BSP_BOOTCARD_OPTIONS.
|
|
|
|
|
|
|
|
|
|
|
| |
* Makefile.am, configure.ac, console/console.c, include/bsp.h,
startup/bspstart.c: Use standardized bsp_cleanup() which can
optionally print a message, poll for user to press key, and call
bsp_reset(). Using this eliminates the various bsp_cleanup()
implementations which had their own implementation and variety of
string constants.
* startup/bspreset.c: New file.
* startup/bspclean.c: Removed.
|
| |
|
|
|
|
|
|
|
| |
* Makefile.am, include/bsp.h, network_5200/network.c, start/start.S,
startup/bspstart.c, startup/cpuinit.c: Use top level shared
bsp_get_work_area() implementation. Augment it to know about U-Boot.
* startup/bspgetworkarea.c: Removed.
|
|
|
|
| |
* include/bsp.h: Remove unnecessary boilerplate comments.
|
|
|
|
|
| |
* include/bsp.h: Eliminate definitions of BSP_LIBIO_MAX_FDS since this
is NOT used anywhere.
|
|
|
|
|
|
| |
* startup/bspgetworkarea.c, startup/linkcmds.base: Do some prep work in
anticipation of gen5200 and gen83xx being able to shared
bsp_get_work_area() implementation.
|
|
|
|
|
| |
* clock/clock.c, startup/bspstart.c: Remove unnecessary includes of
rtems/libcsupport.h and rtems/libio.h.
|
|
|
|
|
|
|
| |
* Makefile.am, startup/bspstart.c: Use shared bsp_get_work_area() in
its own file and rely on BSP Framework to perform more
initialization.
* startup/bspgetworkarea.c: New file.
|
|
|
|
| |
* network_5200/network.c: Remove use of boolean.
|
|
|
|
|
|
|
| |
* include/bsp.h, startup/bspclean.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.
|
|
|
|
| |
* i2c/i2c.c: Remove rtems_boolean having crept in again.
|
|
|
|
| |
updated mscan CAN driver
|
|
|
|
|
| |
* bestcomm/bestcomm_glue.c, ide/pcmcia_ide.c, tod/todcfg.c:
Convert to "bool".
|
|
|
|
| |
* i2c/i2c.c, i2c/i2cdrv.c: Convert to "bool".
|
| |
|
|
|
|
|
|
|
| |
* Makefile.am, bestcomm/load_task.c,
bestcomm/task_api/tasksetup_general.h: Eliminate requirement to build
bestcomm as a relocatable lump. This should reduce the minimum
footprint considerably.
|
| |
|
|
|
|
| |
calc_dbat_regvals().
|
|
|
|
|
| |
* clock/clock.c, irq/irq_init.c, vectors/vectors.h,
vectors/vectors_init.c: Add missing prototypes.
|
|
|
|
| |
* start/start.S: Clear environment pointer for bootcard.
|
|
|
|
| |
* ide/pcmcia_ide.c: Updated to the libblock changes.
|
|
|
|
|
|
| |
* Makefile.am, include/bsp.h: Add bsp_uboot_getenv() to obtain U-Boot
environment variables.
* startup/uboot_support.c: New file.
|
|
|
|
| |
* irq/irq.c: Add units.
|
|
|
|
|
|
| |
* include/bsp.h, irq/irq.c, irq/irq_init.c, startup/bspclean.c,
startup/bspstart.c: Slightly better names for IRQ benchmarking. Make
sure the routines are present all the time.
|
|
|
|
|
| |
* console/console.c: Remove explicit switch and call
termios_baud_to_number().
|
|
|
|
|
|
|
| |
* console/console.c: Properly inform termios of our initial baud rate.
If it is not the default, this causes problems when an application
changes any termios attributes since termios thinks our baud rate is
one thing when in fact, it is another.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* startup/bspstart.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.
|
|
|
|
| |
* Makefile.am: Rework to avoid .rel files.
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
|
| |
* startup/linkcmds, startup/linkcmds.brs5l, startup/linkcmds.icecube,
startup/linkcmds.pm520: Add wildcard to gcc_except_table section so
programs compiled with gcc 4.3.x can link.
|
|
|
|
|
|
|
|
|
|
|
| |
* configure.ac, irq/irq.c, startup/bspclean.c, startup/bspstart.c: Add
ALLOW_IRQ_NESTING option. The MPC5200 has a settle time after
acknowledging the IRQs and currently the BSP does not account for
that. After acknowledging an interrupt, it currently gets a second
spurious IRQ a significant percentage of the time. Rename to
BENCHMARK_IRQ_PROCESSING and get it working again. Under one test
load, not nesting interrupts resulted in a 50% reduction in the
number of IRQs and an ~30% reduction in time spent in IRQs.
|
|
|
|
|
| |
* startup/linkcmds: Spacing.
* startup/linkcmds.brs5l: Add wildcard to .bss section.
|
|
|
|
|
|
| |
* irq/irq.c, startup/bspclean.c, startup/bspstart.c: I give. The code
is now in conditionally so I can avoid putting it in accidently
again.
|
| |
|
|
|
|
| |
* irq/irq.c: Revert accidentally committed test code.
|
|
|
|
|
|
|
| |
* bsp_specs, clock/clock.c, include/bsp.h, irq/irq.c,
startup/bspclean.c, startup/bspstart.c: Eliminate copies of the
Configuration Table. Use the RTEMS provided accessor macros to obtain
configuration fields.
|
|
|
|
| |
* include/mpc5200.h: Expand tabs.
|
|
|
|
| |
* include/bsp.h: Correct BSP specific Idle thread support.
|
|
|
|
|
|
| |
* irq/irq_init.c, irq_asm.S:
Converted exception vector names to new ones
(qualified by <cpu_type> if non-std ppc exceptions).
|
|
|
|
|
|
| |
* 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.
|
|
|
|
| |
* clock/clock.c: Fix typo.
|
|
|
|
| |
* irq/irq.c: Spacing.
|
|
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
| |
* startup/bspstart: removed _Cpu_table.exceptions_in_RAM.
|
|
|
|
|
|
|
|
| |
* irq/irq.h, irq/irq_init.c: Removed the definition
of ASM_IRQ_VECTOR_BASE; this symbol was only use to
initialize the irqBase member of the rtems_irq_global_settings
struct. However, irqBase is an rtems_irq_symbolic_name,
so using BSP_LOWEST_OFFSET is more appropriate.
|
|
|
|
|
|
| |
* clock/clock.c, startup/bspstart.c: Eliminate PowerPC specific
elements from the CPU Table. They have been replaced with variables
named bsp_XXX as needed.
|
|
|
|
| |
* include/mpc5200.h: Fix typo.
|
|
|
|
| |
* include/mpc5200.h: Fix constants off by one nibble.
|
|
|
|
| |
* include/mpc5200.h: Added some simple interrupt GPIO constants.
|