| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
| |
|
|
|
|
|
|
| |
Use thread local variable instead of task variable.
Update #2494.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Notepads where a feature of RTEMS' tasks that simply functioned in
the same way as POSIX keys or threaded local storage (TLS). They were
introduced well before per task variables, which are also deprecated,
and were barely used in favor of their POSIX alternatives.
In addition to their scarce usage, Notepads took up unnecessary memory.
For each task:
- 16 32-bit integers were allocated.
- A total of 64 bytes per task per thread.
This is especially critical in low memory and safety-critical applications.
They are also defined as uint32_t, and therefore are not guaranteed to
hold a pointer.
Lastly, they are not portable solutions for SMP and uniprocessor systems,
like POSIX keys and TLS.
updates #2493.
|
|
|
|
|
| |
Drop the <rtems/score/percpu.h> include since this file exposes a lot of
implementation details.
|
|
|
|
| |
updated #2306.
|
| |
|
|
|
|
| |
The Data Access Register (DAR) is not saved in the exception prologue.
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
* Makefile.am, README.booting, include/bsp.h, startup/bspclean.c,
vectors/exceptionhandler.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/reboot.c: Removed.
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
* ep1a/vme/vmeconfig.c, mvme5500/pci/pcifinddevice.c,
* mvme5500/startup/pgtbl_activate.c, mvme5500/vectors/bspException.h,
* mvme5500/vectors/exceptionhandler.c, mvme5500/vme/VME.h,
* mvme5500/vme/vmeconfig.c, score603e/vme/vmeconfig.c, shared/pci/pcifinddevice.c,
* shared/startup/pgtbl_activate.c, shared/startup/pgtbl_setup.c,
* shared/startup/probeMemEnd.c, shared/startup/sbrk.c, shared/vme/VME.h,
* shared/vme/VMEConfig.h, shared/vme/vme_universe.c, shared/vme/vmeconfig.c:
Added SLAC/Stanford Authorship Note / Copyright + Liability Disclaimer.
|
| |
|
|
|
|
|
| |
* start/preload.S, include/bsp.h, vectors/exceptionhandler.c,
startup/bspstart.c: Misc. adaptations to rtems-4.7.
|
|
|
|
|
|
|
|
|
|
|
|
| |
* README, configure.ac, GT64260/Makefile.am, include/bsp.h,
irq/Makefile.am, irq/irq.c, irq/irq.h, irq/irq_init.c,
network/GT64260ethreg.h, pci/pci.c, startup/bspstart.c: CVS Id string
and license corrected.
* GT64260/Makefile.in, clock/Makefile.in, console/Makefile.in,
include/Makefile.am, include/Makefile.in, irq/Makefile.in,
network/Makefile.in, pci/Makefile.in, start/Makefile.in,
startup/Makefile.in, vectors/Makefile.in, vme/Makefile.in,
wrapup/Makefile.in: Removed.
|
|
|