| 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.
|
|
|
|
| |
Updates #3520.
|
|
|
|
|
|
|
|
|
| |
Rename _ISR_Disable() into _ISR_Local_disable(). Rename _ISR_Enable()
into _ISR_Local_enable(). Remove _Debug_Is_owner_of_giant().
This is a preparation to remove the Giant lock.
Update #2555.
|
|
|
|
| |
Update #2408.
|
| |
|
| |
|
|
|
|
|
| |
The TLS section symbols had wrong values in case of an empty TLS data
section and a nonempty TLS BSS section.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
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/init68360.c: Fix type punning warning.
|
|
|
|
| |
* startup/init68360.c, timer/timer.c: Remove warnings.
|
| |
|
|
|
|
|
|
| |
* Makefile.am, include/bsp.h, startup/init68360.c, startup/linkcmds,
startup/linkcmds.bootp, startup/linkcmds.prom: Use top level shared
bsp_get_work_area() implementation.
|
|
|
|
|
|
|
|
| |
* Makefile.am, configure.ac, start/start.S: Add use of
bsp_get_work_area() in its own file and rely on BSP Framework to
perform more initialization. Remove unnecessary includes of
rtems/libio.h and rtems/libcsupport.h.
* startup/bspstart.c: Removed.
|
|
|
|
|
|
|
|
| |
* Makefile.am, include/bsp.h: 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/bspclean.c: Removed.
|
|
|
|
| |
added genmcf548x BSP
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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, startup/linkcmds.bootp, startup/linkcmds.prom: Add
wildcard to gcc_except_table section so programs compiled with gcc
4.3.x can link.
|
|
|
|
|
|
| |
* clock/clock.c, 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.
|
|
|
|
| |
* startup/linkcmds: Handle .data.* sections
|
|
|
|
|
|
| |
* 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, startup/linkcmds.bootp, startup/linkcmds.prom: Add
sections required by newer gcc versions.
|
|
|
|
| |
* startup/alloc360.c: Eliminate warnings.
|
|
|
|
| |
* startup/init68360.c: Add _RomBase declaration.
|
|
|
|
|
| |
* include/bsp.h, startup/init68360.c: Correct type of symbols from
linkcmds to compile with gcc 4.x.
|
|
|
|
|
| |
* startup/linkcmds, startup/linkcmds.bootp, startup/linkcmds.prom: Add
new bss sections .bss.* and .gnu.linkonce.b*.
|
|
|
|
| |
* startup/linkcmds: Add .gnu.linkonce.b.*.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
* c/src/lib/libbsp/m68k/gen68360/clock/clock.c,
c/src/lib/libbsp/m68k/gen68360/console/console.c,
c/src/lib/libbsp/m68k/gen68360/console/consolereserveresources.c,
c/src/lib/libbsp/m68k/gen68360/network/network.c,
c/src/lib/libbsp/m68k/gen68360/startup/alloc360.c,
c/src/lib/libbsp/m68k/gen68360/startup/init68360.c,
c/src/lib/libbsp/m68k/gen68360/timer/timer.c: Include
<rtems/m68k/m68360.h> instead of <m68360.h>.
|
|
|
|
|
|
| |
* include/bsp.h, network/network.c, startup/bspstart.c,
startup/init68360.c, timer/timer.c: Convert to using c99 fixed size
types.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
PR 562/bsps
* Makefile.am: Remove references to m68k-gdbstub.c,
rtems-gdbstub-glue.c.
* Makefile.am: Merge-in clock/Makefile.am, console/Makefile.am,
network/Makefile.am, startup/Makefile.am, timer/Makefile.am.
Use automake-compilation rules.
* clock/Makefile.am, console/Makefile.am, network/Makefile.am,
startup/Makefile.am, timer/Makefile.am, wrapup/Makefile.am:
Remove.
* configure.ac: Reflect changes above.
|
|
|
|
|
|
| |
* Makefile.am: Re-add dirstamps to PRE/TMPINSTALL_FILES.
Add PRE/TMPINSTALL_FILES to CLEANFILES.
* startup/Makefile.am: Ditto.
|
|
|
|
|
| |
* start/Makefile.am: s,${PROJECT_RELEASE}/lib,$(PROJECT_LIB),g.
* startup/Makefile.am: s,${PROJECT_RELEASE}/lib,$(PROJECT_LIB),g.
|
|
|
|
|
| |
* start/Makefile.am: Use mkdir_p. Remove dirs from PRE/TMPINSTALL_FILES.
* startup/Makefile.am: Use mkdir_p. Remove dirs from PRE/TMPINSTALL_FILES.
|
|
|
|
|
|
| |
* start/Makefile.am: Misc cleanups and fixes.
* startup/Makefile.am: Misc cleanups and fixes.
* wrapup/Makefile.am: Misc cleanups and fixes.
|
|
|
|
|
|
|
|
|
|
| |
* Makefile.am: Add preinstallation dirstamp support.
* clock/Makefile.am: Cosmetics.
* console/Makefile.am: Cosmetics.
* network/Makefile.am: Cosmetics.
* startup/Makefile.am: Cosmetics.
* timer/Makefile.am: Cosmetics.
* wrapup/Makefile.am: Cosmetics.
|
|
|
|
|
|
|
|
|
|
| |
* clock/Makefile.am: Remove all-local: $(ARCH).
* console/Makefile.am: Remove all-local: $(ARCH).
* network/Makefile.am: Remove all-local: $(ARCH).
* start/Makefile.am: Remove all-local: $(ARCH).
* startup/Makefile.am: Remove all-local: $(ARCH).
* timer/Makefile.am: Remove all-local: $(ARCH).
* wrapup/Makefile.am: Remove all-local: $(ARCH).
|
|
|
|
|
|
| |
* console/console.c, console/consolereserveresources.c, include/bsp.h,
start/start.S, startup/bspclean.c, startup/bspstart.c, timer/timer.c:
URL for license changed.
|
|
|
|
|
|
|
|
|
|
|
|
| |
Makefile.am: Reflect having moved automake.
clock/Makefile.am: Reflect having moved automake.
console/Makefile.am: Reflect having moved automake.
include/Makefile.am: Reflect having moved automake.
network/Makefile.am: Reflect having moved automake.
start/Makefile.am: Reflect having moved automake.
startup/Makefile.am: Reflect having moved automake.
timer/Makefile.am: Reflect having moved automake.
wrapup/Makefile.am: Reflect having moved automake.
|
|
|
|
| |
* startup/Makefile.am: Remove USE_INIT_FINI.
|
| |
|
|
|
|
|
|
|
|
|
| |
* clock/Makefile.am: Don't include @RTEMS_BSP@.cfg.
* console/Makefile.am: Don't include @RTEMS_BSP@.cfg.
* network/Makefile.am: Don't include @RTEMS_BSP@.cfg.
* start/Makefile.am: Don't include @RTEMS_BSP@.cfg.
* startup/Makefile.am: Don't include @RTEMS_BSP@.cfg.
* timer/Makefile.am: Don't include @RTEMS_BSP@.cfg.
|
|
|
|
|
|
|
|
|
|
| |
* clock/Makefile.am: Use .$(OBJEXT) instead of .o.
* console/Makefile.am: Use .$(OBJEXT) instead of .o.
* network/Makefile.am: Use .$(OBJEXT) instead of .o.
* start/Makefile.am: Use .$(OBJEXT) instead of .o.
* startup/Makefile.am: Use .$(OBJEXT) instead of .o.
* timer/Makefile.am: Use .$(OBJEXT) instead of .o.
* wrapup/Makefile.am: Use .$(OBJEXT) instead of .o.
|
|
|
|
|
| |
* startup/Makefile.am: Add bsplib_DATA = linkcmds linkcmds.prom
linkcmds.bootp.
|