| 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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
| |
Update #3254.
|
| |
|
|
|
|
|
| |
This section can be use to provide a cache coherent memory area via
rtems_cache_coherent_add_area().
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
| |
Replace the "NIRVANA" region with the more verbose "UNEXPECTED_SECTIONS"
region. Move the region definition into the "linkcmds.base" files.
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
| |
* startup/umonsupp.c: Include <rtems/umon.h> (Missing prototype).
|
|
|
|
|
| |
* bsp_specs, start/start.S, startup/linkcmds.csb337,
startup/linkcmds.csb637: Use linker command base file.
|
|
|
|
|
|
| |
* Makefile.am, preinstall.am: Added generic interrupt support modules.
* include/bsp.h: Define BSP_FEATURE_IRQ_EXTENSION.
* startup/bspstart.c, network/network.c: Interrupt support changes.
|
| |
|
|
|
|
|
| |
* README, README.kit637_v6, console/sed1356_16bit.h, startup/memmap.c:
Missing parts of previous commit.
|
|
|
|
|
|
|
|
| |
* Makefile.am, preinstall.am, console/fbcons.c, console/font8x16.h,
console/sed1356.c, console/uarts.c, include/sed1356.h,
startup/bspstart.c, startup/linkcmds.csb337, startup/linkcmds.csb637,
startup/memmap.c, startup/umonsupp.c: Update to match development
version.
|
| |
|
|
|
|
|
|
|
|
| |
* configure.ac: Add RTEMS_BSP_LINKCMDS.
* make/custom/csb637.cfg: Remove LDFLAGS. Remove RTEMS_LINKCMDS.
* startup/linkcmds: Remove (Rename into linkcmds.csb337).
* startup/linkcmds.csb337: New (Renamed from linkcmds).
* Makefile.am: Rework linkcmds handling.
|
|
|
|
|
|
| |
* startup/linkcmds, startup/linkcmds.csb637: Move .init section from
the front of the executable so the start label has the first
instruction in the executable.
|
|
|
|
|
| |
* Makefile.am, preinstall.am: Add MicroMonitor support.
* startup/umonsupp.c: New file.
|
|
|
|
| |
* startup/bspstart.c: Eliminate unused variables.
|
|
|
|
|
|
|
|
|
|
| |
* Makefile.am, configure.ac, preinstall.am, console/uarts.c,
include/bsp.h, startup/memmap.c: Add support for /dev/fbcons which is
a console type output only device to print to the LCD screen. The
video controller (SED) and fonts are copied from MicroMonitor and
proper attribution is made in those files and confirmed by Ed Sutter.
* console/fbcons.c, console/font8x16.h, console/sed1356.c,
console/sed1356_16bit.h, include/sed1356.h: New files.
|
|
|
|
|
|
| |
* Makefile.am, README, configure.ac, preinstall.am, start/start.S,
startup/memmap.c: Add csb637 as alias and variant.
* startup/linkcmds.csb637: New file.
|
|
|
|
|
|
|
|
|
|
| |
* Makefile.am, configure.ac, startup/bspstart.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.
* startup/bspreset.c: New file.
* startup/bspclean.c: Removed.
|
|
|
|
|
| |
* Makefile.am, startup/linkcmds: Use top level shared
bsp_get_work_area() implementation.
|
|
|
|
|
| |
* startup/bspstart.c: Remove unnecessary includes of
rtems/libcsupport.h and rtems/libio.h.
|
|
|
|
|
|
| |
* Makefile.am, configure.ac, startup/bspclean.c, startup/bspstart.c:
Now support bsp_get_work_area() and used shared implementation of it
and bsp_pretasking_hook.
|
|
|
|
|
|
|
| |
* Makefile.am: No BSP should use exit.c as a file name. exit() is POSIX
routine.
* startup/bspclean.c: New file.
* startup/exit.c: Removed.
|
|
|
|
| |
* startup/bspstart.c: Add missing prototypes.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* csb336/startup/bspstart.c, csb337/startup/bspstart.c,
edb7312/startup/bspstart.c, gba/startup/bspstart.c,
gp32/startup/bspstart.c, rtl22xx/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.
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
|
|
|
|
|
| |
* Makefile.am, 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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
PR 1257/bsps
* csb336/network/lan91c11x.c, csb337/startup/bspstart.c,
edb7312/irq/irq.c, gba/irq/irq.c, gba/irq/irq_init.c,
gp32/startup/bspstart.c, rtl22xx/startup/bspstart.c,
shared/abort/abort.c, shared/abort/simple_abort.c,
shared/irq/irq_init.c: Code outside of cpukit should use the public
API for rtems_interrupt_disable/rtems_interrupt_enable. By bypassing
the public API and directly accessing _CPU_ISR_Disable and
_CPU_ISR_Enable, they were bypassing the compiler memory barrier
directive which could lead to problems. This patch also changes the
type of the variable passed into these routines and addresses minor
style issues.
|
|
|
|
|
|
| |
* startup/bspstart.c: Eliminate maximum_drivers configuration parameter
since it was used to configure a no longer used feature. Device names
are now part of the filesystem not in a table.
|
|
|
|
|
|
|
| |
* console/uarts.c, include/bsp.h, start/start.S, startup/bspstart.c,
startup/exit.c, startup/linkcmds: Correct license URL and/or fix
mistake in copyright notice. Both of these mistakes appear to be from
code submitted after these changes were made previously.
|
|
|
|
|
|
| |
* startup/bspstart.c: Remove assignments of
Cpu_table.do_zero_of_workspace to TRUE since TRUE is the default
value in boot_card.c
|
|
|
|
|
|
|
| |
PR 751/bsps
* startup/linkcmds: Cleanup.
* network/network.c: Added hardware initialization
code.
|