| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
| |
Adjust build support files to new directory layout.
This patch is a part of the BSP source reorganization.
Update #3285.
|
|
|
|
|
|
|
| |
BSPs can use the bsp_fatal_extension() to provide BSP-specific fatal
error handling. There is no need for a _BSP_Fatal_error().
Close #3246.
|
|
|
|
|
|
|
|
| |
Due to a new rtems_panic() implementation, it is possible to replace the
PowerPC-specific BSP_panic() with rtems_panic(). Remove BSP_panic()
implementations.
Close #3245.
|
|
|
|
| |
Use the Termios device API.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
Instead of SPRG0 (= special purpose register 272) use the new global
symbol _PPC_INTERRUPT_DISABLE_MASK to store the interrupt disable mask.
The benefit is that it is now possible to disable interrupts without
further run-time initialization in boot_card().
At least on Freescale e500 cores this leads also to a faster execution
since the mfmsr and mfspr instruction require four cycles to complete.
The instructions to load the mask value can execute while the mfmsr is
in progress.
|
|
|
|
|
|
|
|
|
| |
Add a CPU counter interface to allow access to a free-running counter.
It is useful to measure short time intervals. This can be used for
example to enable profiling of critical low-level functions.
Add two busy wait functions rtems_counter_delay_ticks() and
rtems_counter_delay_nanoseconds() implemented via the CPU counter.
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
Script does what is expected and tries to do it as
smartly as possible.
+ remove occurrences of two blank comment lines
next to each other after Id string line removed.
+ remove entire comment blocks which only exited to
contain CVS Ids
+ If the processing left a blank line at the top of
a file, it was removed.
|
| |
|
|
|
|
|
|
| |
The clock driver used previously the bsp_clicks_per_usec value. For a
33333333Hz time base frequency this leads to a relative error of one per
cent for example due to integer truncation.
|
| |
|
|
|
|
|
|
| |
PR 1917/bsps
* Makefile.am, console/console-config.c, startup/bspstart.c:
Modifications to add dynamic tables for libchip serial drivers.
|
|
|
|
| |
* configure.ac, startup/bspstart.c: Use standard cache BSP options.
|
|
|
|
|
|
|
|
| |
* configure.ac, console/console-config.c, i2c/i2c_init.c,
include/bsp.h, include/hwreg_vals.h, include/irq.h, include/tm27.h,
include/tsec-config.h, irq/irq.c, network/network.c, spi/spi_init.c,
startup/bspstart.c: Address some of the issues spotted by the
check_bsp script.
|
|
|
|
|
|
|
|
|
| |
* include/u-boot.h: Removed file.
* include/u-boot-config.h, include/tsec-config.h: New files.
* include/bsp.h, start/start.S, startup/bspstart.c: Use new U-Boot
support.
* network/network.c: Update for API changes.
* Makefile.am, preinstall.am: Reflect changes above.
|
|
|
|
|
|
|
|
|
|
|
|
| |
* console/console.h, console/console.c, console/config.c,
console/ns16550cfg.c: Removed files.
* console/console-config.c: New file.
* Makefile.am: Reflect changes above.
* configure.ac: New BSP options.
* include/bsp.h: Use new BSP options.
* network/network.c: Avoid memory leak.
* startup/bspstart.c: Initialize console port table.
* spi/spi_init.c: Update for SD card API changes.
|
| |
|
|
|
|
|
|
| |
* Makefile.am, startup/bspstart.c: Rename BSP specific idle thread to
bsp_idle_thread and split into its own file.
* startup/bspidle.c: New file.
|
|
|
|
|
| |
* startup/bspstart.c: Change prototype of IDLE thread to consistently
return void * and take a uintptr_t argument.
|
| |
|
|
|
|
|
|
|
| |
* Makefile.am, include/bsp.h, 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.
|
|
|
|
|
|
|
|
| |
* Makefile.am, startup/bspstart.c: Add use of bsp_get_work_area() in
its own file and rely on BSP Framework to perform more
initialization. Remove unnecessary includes of rtems/libio.h and
rtems/libcsupport.h.
* startup/bspgetworkarea.c: New file.
|
| |
|
|
|
|
|
|
|
|
|
| |
* Makefile.am: Added bspclean.c and use shared bsppretaskinghook.c.
* console/console.c: Added poll for char helper.
* include/bsp.h: Add macro definitions for optional reset behavior.
* startup/bspstart.c: Split out bsp_cleanup(). Clean up.
* startup/bspclean.c: New file. Not can press any key on normal
shutdown to reset board when on MPC8313erdb.
|
|
|
|
|
|
| |
* include/tm27.h: Uses now a decrementer exception handler. Replaces
previous file.
* startup/bspstart.c: Install a default decrementer exception handler.
|
|
|
|
|
|
| |
* Makefile.am, startup/bspstart.c, startup/cpuinit.c: For the
MPC8313ERDB -- The BAT entry for the eLBC was missing and add
hard reset sequence in bsp_cleanup().
|
|
|
|
|
| |
* startup/bspstart.c: Time was running too slow with it taking 10
seconds for RTEMS to advance 5.
|
|
|
|
| |
* startup/bspstart.c: Fixed calculation of bsp_click_per_usec.
|
|
|
|
| |
added support for an optional separate heap area.
|
|
|
|
|
| |
fixed some minors in mpc83xx support
added file for mpc55xx watchdog support
|
|
|
|
|
| |
updated haleakala BSP
added MPC55xx BSP
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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, 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.
|
|
|
|
|
|
| |
* include/bsp.h, startup/bspstart.c: Eliminate copies of the
Configuration Table. Use the RTEMS provided accessor macros to obtain
configuration fields.
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
|
|
|
|
|
| |
* Makefile.am, 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.
|
|
|
|
|
|
| |
* startup/bspstart.c: Eliminate PowerPC specific elements from the CPU
Table. They have been replaced with variables named bsp_XXX as
needed.
|
| |
|
|
|
|
|
|
|
| |
* Makefile.am, preinstall.am: Install a linkcmds all the time.
* startup/bspstart.c, startup/cpuinit.c,
startup/linkcmds.mpc8349eamds, startup/mpc83xx_regs.c: Add missing $Id$.
* startup/linkcmds: New file.
|
|
many different versions of new exception handling code to shared sources.
|