| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
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.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
| |
* console/console.c, console/ns16550cfg.c, console/polled_io.c,
include/bsp.h, include/tm27.h, startup/bspstart.c:
Use "__asm__" instead of "asm" for improved c99-compliance.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
| |
* startup/bspstart.c:
let 'save_boot_params()' return a pointer to the commandline
saved by the BSP which is NULL in this case. This pointer could
be passed on to 'boot_card()' as it is done by other BSPs.
This 'start/start.S' file however, passes a NULL pointer
directly to boot_card() (w/o ever calling save_boot_params()).
|
|
|
|
| |
* startup/bspstart.c: Remove nested externs.
|
|
|
|
| |
* startup/bspstart.c: Add missing prototypes.
|
|
|
|
| |
* startup/linkcmds: Add .sbss.*.
|
|
|
|
|
|
| |
* ep1a/startup/linkcmds, mbx8xx/startup/linkcmds,
score603e/startup/linkcmds, shared/startup/linkcmds,
ss555/startup/linkcmds: Fix typos in .eh_frame sections.
|
|
|
|
|
|
| |
* Makefile.am, include/bsp.h, startup/bspstart.c: Use PowerPC 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.
|
|
|
|
|
|
|
| |
* Makefile.am, configure.ac, console/rsPMCQ1.h, include/bsp.h,
startup/bspstart.c: 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: 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.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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: Add wildcard to gcc_except_table section so
programs compiled with gcc 4.3.x can link.
|
|
|
|
|
|
| |
* include/bsp.h, startup/bspstart.c: Eliminate copies of the
Configuration Table. Use the RTEMS provided accessor macros to obtain
configuration fields.
|
|
|
|
|
|
|
| |
* Makefile.am, include/bsp.h, 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.
|
|
|
|
|
|
|
|
|
| |
* 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.c: removed bsp_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, startup/bspstart.c: Use shared ShowBATS() method.
|
|
|
|
|
|
| |
* startup/bspstart.c: Remove assignments of
Cpu_table.do_zero_of_workspace to TRUE since TRUE is the default
value in boot_card.c
|
|
|
|
| |
* startup/linkcmds: Add .gnu.linkonce.b.* section.
|
|
|
|
| |
* startup/linkcmds: Add sections required by newer gcc versions.
|
| |
|
|
|
|
|
| |
* console/init68360.c, include/bsp.h, startup/bspstart.c: Changed
rtems_unsigned types to uint types
|
|
|
|
|
| |
* irq/irq_init.c, startup/bspstart.c: Name modification for generic pci
interface
|
|
* acinclude.m4: Initial release of ep1a bsp
* ep1a/Makefile.am, ep1a/bsp_specs, ep1a/configure.ac,
ep1a/console/alloc360.c, ep1a/console/console.c,
ep1a/console/console.h, ep1a/console/init68360.c,
ep1a/console/m68360.h, ep1a/console/mc68360_scc.c,
ep1a/console/ns16550cfg.c, ep1a/console/ns16550cfg.h,
ep1a/console/rsPMCQ1.c, ep1a/console/rsPMCQ1.h, ep1a/include/bsp.h,
ep1a/irq/irq.c, ep1a/irq/irq_init.c, ep1a/pci/no_host_bridge.c,
ep1a/start/start.S, ep1a/startup/bspstart.c, ep1a/startup/linkcmds,
ep1a/vme/vmeconfig.c: New files.
|