| Commit message (Collapse) | Author | Files | Lines |
|
This shared powerpc file was only used by this BSP.
This patch is a part of the BSP source reorganization.
Update #3285.
|
|
Close #3322.
|
|
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.
|
|
|
|
Also use the const qualifier on the address pointer's target in in_*()
Closes #2128
|
|
|
|
|
|
|
|
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.
|
|
* shared/startup/bspstart.c: Comment out unused vars.
|
|
* shared/startup/bspstart.c: Select console *before* doing
any potential printk() (e.g., panic).
|
|
* shared/bootloader/mm.c, shared/bootloader/pci.c,
shared/bootloader/qemu_fakeres.c, shared/bootloader/qemu_fakerom.S,
shared/irq/irq.h, shared/motorola/motorola.c, shared/residual/residual.h,
shared/startup/bspstart.c,
Added 'qemuprep' BSP variant.
|
|
* shared/bootloader/em86.c, shared/bootloader/mm.c,
shared/console/polled_io.c, shared/irq/irq_init.c,
shared/startup/bspstart.c: Remove warnings.
|
|
|
|
|
|
|
|
* shared/start/start.S, shared/startup/bspstart.c:
let 'save_boot_params()' return a pointer to the commandline
saved by the BSP and pass this pointer on to 'boot_card()'.
|
|
* shared/start/start.S, shared/startup/bspgetworkarea.c,
shared/startup/bspstart.c, shared/startup/linkcmds: Modifications
which reflect those tested on psim. Hopefully they work on all
boards. The initialization stack is explicitly declared in the
linkcmds memory layout rather than magic math.
|
|
* shared/startup/bspstart.c, shared/startup/pretaskinghook.c: Add use
of bsp_get_work_area() in its own file and rely on BSP Framework to
perform more initialization.
* shared/startup/bspgetworkarea.c: New file.
|
|
* shared/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.
|
|
|
|
|
|
* shared/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.
|
|
* shared/startup/bspstart.c, shared/startup/pretaskinghook.c: Eliminate
copies of the Configuration Table. Use the RTEMS provided accessor
macros to obtain configuration fields.
|
|
* export BSP_commandline_string variable.
|
|
* shared/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.
|
|
* shared/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.
|
|
* shared/startup/bspstart.c: Removed excess /*, replaced
#ifdef checks for mpc8240 by #ifdef mvme2100; eventually
there should be run-time checks.
|
|
* shared/startup/bspstart.c: Eliminate PowerPC specific elements from
the CPU Table. They have been replaced with variables named bsp_XXX
as needed.
|
|
* shared/startup/bspstart.c: Split out ShowBATS() so it can be shared
by more BSPs.
* shared/showbats.c: New file.
|
|
* shared/startup/bspstart.c: Remove assignments of
Cpu_table.do_zero_of_workspace to TRUE since TRUE is the default
value in boot_card.c
|
|
* shared/startup/bspstart.c: Merge c_rtems_main() into boot_card().
This eliminated a file and simplified initialization.
|
|
constants to pointers). Enable L1 cache on mvme2100.
|
|
* shared/startup/bspstart.c: Eliminate obsolete types.
|
|
* shared/startup/pretaskinghook.c, shared/startup/zerobss.c: New files.
* Makefile.am, shared/startup/bspstart.c: Split
pretaskinghook and zerobss into separate, reusable files; Fixed
#PR837 (set exception in ram flag before initializing exceptions);
Setup DBATs early, they are needed to access peripherals (Allows
mvme2100 to use MMU); moved VME initialization into pretasking hook
so that shared interrupts can be used for VME [shared IRQ facility
needs functional workspace].
|
|
|
|
* startup/bspstart.c: Rewrote get_eumbbar() in C. Function was written
in inline assembly and containined a register direction error.
|
|
|
|
* irq/irq_init.c, pci/pci.c, pci/pcifinddevice.c, startup/bspstart.c:
Name change to support common PCI interface
|
|
* pci/pci.c, pci/pcifinddevice.c, startup/bspstart.c: Make PCI
initialize function part of the unified PCI API as pci_initialize().
|
|
* startup/bspstart.c: Eliminate rtems_unsigned32.
|
|
* startup/bspstart.c: include <rtems/powerpc/powerpc.h>.
Use PPC_MINIMUM_STACK_FRAME_SIZE instead of
CPU_MINIMUM_STACK_FRAME_SIZE.
|
|
* ChangeLog, startup/bspstart.c, tod/todcfg.c: Remove warnings.
|