| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
closes #2545.
|
| |
|
|
|
|
| |
warning and clean up
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
| |
* configure.ac, startup/bspstart.c, include/coverhd.h: Use standard
cache BSP options.
|
|
|
|
|
| |
* console/console.c, ide/pcmcia_ide.c, startup/bspstart.c,
startup/imbx8xx.c: Fix some warnings.
|
| |
|
|
|
|
|
| |
* startup/bspstart.c: Remove unnecessary includes of
rtems/libcsupport.h and rtems/libio.h.
|
|
|
|
|
|
| |
* startup/bspstart.c, startup/bspstart.c.nocache: Add use of
bsp_get_work_area() in its own file and rely on BSP Framework to
perform more initialization.
|
|
|
|
|
|
|
| |
* Makefile.am, configure.ac, startup/bspstart.c, startup/linkcmds:
Create bsp_get_work_area() into its own file and use BSP Framework to
perform more initialization.
* startup/bspgetworkarea.c: New file.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* startup/bspstart.c, startup/bspstart.c.nocache: 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.
|
|
|
|
|
|
|
|
|
|
|
|
| |
* startup/bspstart.c, startup/bspstart.c.nocache: 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/bspstart.c, startup/bspstart.c.nocache: Remove all references
to console_reserve_resources and termios_reserve_resources.
|
|
|
|
|
|
| |
* include/bsp.h, startup/bspstart.c, startup/bspstart.c.nocache:
Eliminate copies of the Configuration Table. Use the RTEMS provided
accessor macros to obtain configuration fields.
|
|
|
|
|
|
|
| |
* startup/bspstart.c, startup/bspstart.c.nocache: 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.
|
|
|
|
|
|
|
|
|
|
| |
* startup/bspstart.c, startup/bspstart.c.nocache: 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.c, startup/bspstart.c.nocache: Eliminate PowerPC
specific elements from the CPU Table. They have been replaced with
variables named bsp_XXX as needed.
|
|
|
|
|
|
| |
match the "auto clock detection" scheme in the libcpu clock driver
* startup/linkcmds: remove content of dpram section to avoid
download hangs with the EPPCBug board monitor
|
|
|
|
|
|
|
|
|
|
| |
PR 822/bsps
* console/console.c, startup/bspstart.c, startup/imbx8xx.c,
startup/mmutlbtab.c, startup/start.S, vectors/vectors_init.c:
Currently the MBX8xx BSP does not boot, because some logical errors
are in the startup code. Additionally, the mpc8xx shared clock driver
does not support the clocking scheme of some of the board variants,
which are clocked from a 32768Hz (!) external crystal.
|
|
|
|
|
|
| |
* startup/bspstart.c: include <rtems/powerpc/powerpc.h>.
Use PPC_MINIMUM_STACK_FRAME_SIZE instead of
CPU_MINIMUM_STACK_FRAME_SIZE.
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
* console/console.c, ide/pcmcia_ide.c, network/network.c,
startup/bspstart.c, startup/bspstart.c.nocache, startup/imbx8xx.c:
Convert to using c99 fixed size types.
|
|
|
|
|
|
|
|
| |
* clock/p_clock.c, ide/pcmcia_ide.c, include/bsp.h, include/coverhd.h,
irq/irq.c, irq/irq.h, irq/irq_asm.S, irq/irq_init.c,
startup/bspstart.c, startup/bspstart.c.nocache, startup/imbx8xx.c,
startup/mmutlbtab.c, startup/setvec.c, startup/start.S,
vectors/vectors.h, vectors/vectors_init.c: URL for license changed.
|
|
|
|
|
|
| |
PR 288/rtems
* irq/irq_asm.S, startup/bspstart.c: _ISR_Nest_level is now properly
maintained.
|
|
|
|
|
| |
* clock/p_clock.c, console/console.c, startup/bspstart.c: Removed
warnings.
|
|
|
|
| |
* startup/bspstart.c: Include <libcpu/cpuIdent.h>, <rtems/bspIo.h>.
|
|
|
|
|
|
| |
* clock/p_clock.c, include/bsp.h, include/coverhd.h,
startup/bspstart.c, startup/bspstart.c.nocache, startup/setvec.c,
startup/start.S: Fixed typo.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* clock/.cvsignore, clock/Makefile.am, clock/p_clock.c,
include/8xx_immap.h, include/commproc.h, include/mbx.h,
irq/.cvsignore, irq/Makefile.am, irq/irq.c, irq/irq.h,
irq/irq_asm.S, irq/irq_init.c, vectors/.cvsignore,
vectors/Makefile.am, vectors/vectors.S, vectors/vectors.h,
vectors/vectors_init.c: New files.
* Makefile.am, configure.in, console/console.c,
include/Makefile.am, network/network.c, startup/Makefile.am,
startup/bspstart.c, startup/imbx8xx.c, startup/linkcmds,
startup/mmutlbtab.c, startup/start.S, wrapup/Makefile.am:
The modifications to this BSP reflect the conversion of the
mpc8xx CPU to the "new exception processing model."
|
|
|
|
|
|
|
|
| |
* startup/bspstart.c, startup/bspstart.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 <rtems/XXX.h>. Header file order
was cleaned up while doing this.
Also removed obsolete references to STACK_CHECKER_ON.
|
|
|
|
|
|
|
|
|
| |
* README:
* console/console.c:
* include/bsp.h:
* network/network.c:
* startup/bspstart.c:
Add support for configuration parameters in NVRAM
|
|
|
|
|
|
| |
routine naming to follow RTEMS package/object.method rule.
This patch also eliminated calls to the obsolete routine
m68k_enable_caching.
|
|
<charles.gauthier@iit.nrc.ca>, and Darlene A. Stewart
<Darlene.Stewart@nrc.ca> to add support for a number of very
significant things:
+ BSPs for many variations on the Motorola MBX8xx board series
+ Cache Manager including initial support for m68040
and PowerPC
+ Rework of mpc8xx libcpu code so all mpc8xx CPUs now use
same code base.
+ Rework of eth_comm BSP to utiltize above.
John reports this works on the 821 and 860
|