| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
closes #2545.
|
|
|
|
| |
Update #2408.
|
| |
|
| |
|
|
|
|
| |
warning and clean up
|
|
|
|
|
| |
The TLS section symbols had wrong values in case of an empty TLS data
section and a nonempty TLS BSS section.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
These modifications were required by hand after running the script.
In some cases, the file names did not match patterns. In others,
the format of the file did not match any common patterns.
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
* ep1a/startup/linkcmds, mbx8xx/startup/linkcmds,
score603e/startup/linkcmds, shared/startup/linkcmds,
ss555/startup/linkcmds: Fix typos in .eh_frame sections.
|
|
|
|
| |
* startup/linkcmds: Correct name of ENTRY.
|
|
|
|
| |
* startup/start.S: Update for boot_card command line change.
|
|
|
|
|
|
| |
* Makefile.am, startup/linkcmds: Use top level shared
bsp_get_work_area() implementation.
* startup/bspgetworkarea.c: Removed.
|
|
|
|
|
| |
* 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.
|
|
|
|
|
| |
* startup/linkcmds: Add wildcard to gcc_except_table section so
programs compiled with gcc 4.3.x can link.
|
|
|
|
|
|
| |
* 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
|
|
|
|
| |
* network/network.c, startup/imbx8xx.c: Minor warning fixes.
|
|
|
|
| |
* startup/linkcmds: Clean up a bit after adding missing .rela sections.
|
|
|
|
| |
* startup/linkcmds: Add .gnu.linkonce.b.* section.
|
|
|
|
| |
* startup/linkcmds: Add sections required by newer gcc versions.
|
|
|
|
|
|
|
|
|
|
| |
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.
|