| 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.
|
|
|
|
|
|
| |
Use RTEMS_SYSINIT_ITEM() instead.
Update #2408.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
A speciality of the RTEMS build system was the make preinstall step. It
copied header files from arbitrary locations into the build tree. The
header files were included via the -Bsome/build/tree/path GCC command
line option.
This has at least seven problems:
* The make preinstall step itself needs time and disk space.
* Errors in header files show up in the build tree copy. This makes it
hard for editors to open the right file to fix the error.
* There is no clear relationship between source and build tree header
files. This makes an audit of the build process difficult.
* The visibility of all header files in the build tree makes it
difficult to enforce API barriers. For example it is discouraged to
use BSP-specifics in the cpukit.
* An introduction of a new build system is difficult.
* Include paths specified by the -B option are system headers. This
may suppress warnings.
* The parallel build had sporadic failures on some hosts.
This patch removes the make preinstall step. All installed header
files are moved to dedicated include directories in the source tree.
Let @RTEMS_CPU@ be the target architecture, e.g. arm, powerpc, sparc,
etc. Let @RTEMS_BSP_FAMILIY@ be a BSP family base directory, e.g.
erc32, imx, qoriq, etc.
The new cpukit include directories are:
* cpukit/include
* cpukit/score/cpu/@RTEMS_CPU@/include
* cpukit/libnetworking
The new BSP include directories are:
* bsps/include
* bsps/@RTEMS_CPU@/include
* bsps/@RTEMS_CPU@/@RTEMS_BSP_FAMILIY@/include
There are build tree include directories for generated files.
The include directory order favours the most general header file, e.g.
it is not possible to override general header files via the include path
order.
The "bootstrap -p" option was removed. The new "bootstrap -H" option
should be used to regenerate the "headers.am" files.
Update #3254.
|
|
|
|
|
|
|
|
|
| |
This collection of BSPs shared the linker script shared/startup/linkcmds.
I renamed that ot shared/startup/linkcmds.share and made a BSP family
specific startup/linkcmds. This was needed because each BSP family had
a different combination of start file name, undefined symbols, etc.
Updates #3520.
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
| |
Update #2408.
|
|
|
|
|
|
| |
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.
|
|
|
|
|
| |
PR 1685/bsps
* startup/bspstart.c: Add BSP_poll_char.
|
| |
|
| |
|
|
|
|
|
|
| |
* startup/bspstart.c, startup/misc.c:
Fixed compiler warnings by adding prototypes to function
declarations and moving extern declarations to global scope.
|
|
|
|
|
|
| |
* start/start.S, 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()'.
|
|
|
|
|
|
|
|
|
|
| |
* include/bsp.h, start/start.S, startup/bspstart.c:
removed BSP_INIT_STACK_SIZE -- this BSP now also uses
__stack defined by the linker script for the initial
stack.
Removed legacy code (inherited from old mvme2307 BSP
but not relevant to this one) that tested trapping
into PPCBug.
|
|
|
|
|
|
| |
* startup/misc.c, flash/flashcfg.c, irq/irq_init.c,
pci/detect_host_bridge.c: changed function arguments
to silence compiler warnings.
|
| |
|
|
|
|
|
|
|
|
| |
* include/bsp.h, startup/misc.c: Use standardized bsp_cleanup() which
can optionally print a message, poll for user to press key, and call
bsp_reset(). Using this eliminates the various bsp_cleanup()
implementations which had their own implementation and variety of
string constants.
|
|
|
|
|
|
| |
* Makefile.am, configure.ac, include/bsp.h, include/bspopts.h.in,
startup/bspstart.c: Add use of bsp_get_work_area() in its own file
and rely on BSP Framework to perform more initialization.
|
|
|
|
|
|
| |
* 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: removed warning about SPRG0
now being used for IRQ mask; this BSP is OK.
|
| |
|
|
|
|
|
|
|
| |
* include/bsp.h, startup/bspstart.c: confdefs.h now wants
us to use BSP_INTERRUPT_STACK_SIZE instead of
CONFIGURE_INTERRUPT_STACK_MEMORY. Removed reference to
CONFIGURE_INTERRUPT_STACK_MEMORY from bspstart.c
|
|
|
|
|
|
|
|
|
|
| |
* start/start.S, startup/bspstart.c: disable memory-select
errors early (in start.S) to avoid hangs due to speculative
memory access (motload maps absent memory in TLBs).
Remove TLB mappings for which no physical memory is installed
(bspstart). Enable HID1[RFXE] so that 'core_fault_in' errors
result in a machine-check rather than stalling the machine.
Re-enable memory-select errors at this point.
|
|
|
|
|
| |
* startup/bspstart.c: Fixes a lockup which occurs when a speculative
load occurs from a particular range of memory.
|
|
|