| 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.
|
|
|
|
|
|
| |
Install these files only as <bsp/i2c.h> and <bsp/i2cdrv.h>.
Update #3254.
|
| |
|
|
|
|
| |
warnings
|
| |
|
|
|
|
| |
These files were left after running the script in the previous patch.
|
|
|
|
| |
Some includes may use C++ and this conflicts if surrounded extern "C".
|
| |
|
| |
|
|
|
|
|
|
| |
Merge RTEMS_FATAL_SOURCE_BSP_GENERIC and RTEMS_FATAL_SOURCE_BSP_SPECIFIC
into new fatal source RTEMS_FATAL_SOURCE_BSP. This makes it easier to
figure out the code position given a fatal source and code.
|
| |
|
| |
|
| |
|
|
|
|
|
| |
The usage of rtems_task_wake_after() is invalid during the
driver initialization.
|
| |
|
|
|
|
| |
This is a replacement for the ATA task. The performance is much better.
|
| |
|
|
|
|
|
|
|
| |
Include <bsp/default-initial-extension.h> in all BSPs. Call
rtems_fatal() with RTEMS_FATAL_SOURCE_EXIT as source and the exit()
status code as fatal code in every bsp_cleanup(). Move previous
bsp_cleanup() code into bsp_fatal_extension().
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
This reverts commit daffa606cc4a45d93c1f0f4fe365fde0fda6acbb.
Conflicts:
c/src/lib/libbsp/arm/lpc24xx/include/bspopts.h.in
c/src/lib/libbsp/powerpc/mpc55xxevb/include/bspopts.h.in
c/src/lib/libbsp/powerpc/qoriq/include/bspopts.h.in
Manually deleted conflicting 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.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Makefile.am: Added custom memcpy(). Update for network sources.
* configure.ac: Enable interrupt driven Termios for all BSPs.
* ide/pcmcia_ide.c: Disable broken DMA support.
* include/bsp.h: Fixed NEED_LOW_LEVEL_INIT define. Set default
console baud to 115200.
* include/irq.h, irq/irq.c: Fixed interrupt handling to avoid the
following problems: 1. multiple invokation of peripheral interrupt
handlers, 2. missing synchronization after mask write and enabling of
external exceptions, and 3. logic overhead.
* network_5200/network.c: Added MII interface. Fixed controller
restart after FIFO errors. Performance improvements.
* start/start.S: Fixed ROM startup. Initialize XLB arbiter for all
BSPs.
* startup/bspstart.c: Special intialization for MPC5200B (B variant).
Install standard alignment handler.
* startup/cpuinit.c, startup/linkcmds.brs5l, startup/linkcmds.dp2,
startup/linkcmds.icecube, startup/linkcmds.pm520_cr825,
startup/linkcmds.pm520_ze30: Avoid accesses outside the RAM area.
|
|
|
|
|
| |
* include/tm27.h:
Use "__asm__" instead of "asm" for improved c99-compliance.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* beatnik/include/bsp.h, beatnik/irq/irq.h, beatnik/pci/gt_pci_init.c,
ep1a/console/polled_io.c, ep1a/irq/openpic_xxx_irq.c,
gen5200/include/irq.h, gen5200/irq/irq.c, gen5200/startup/bspstart.c,
haleakala/irq/irq.c, mbx8xx/irq/irq.c, mbx8xx/irq/irq.h,
motorola_powerpc/include/bsp.h, mpc8260ads/irq/irq.c,
mpc8260ads/irq/irq.h, mvme3100/include/bsp.h, mvme3100/irq/irq.h,
mvme3100/start/start.S, mvme5500/include/bsp.h, mvme5500/irq/irq.h,
psim/include/bsp.h, psim/include/coverhd.h, psim/irq/irq.h,
psim/shmsupp/addrconv.c, psim/shmsupp/getcfg.c,
psim/startup/linkcmds, psim/tools/psim-gdb-top.in,
psim/tools/psim-top.in, psim/tools/runtest-top.in, qemuppc/irq/irq.h,
score603e/irq/irq.c, shared/bootloader/bootldr.h,
shared/bootloader/em86.c, shared/bootloader/em86real.S,
shared/bootloader/exception.S, shared/bootloader/head.S,
shared/bootloader/lib.c, shared/bootloader/misc.c,
shared/bootloader/mm.c, shared/bootloader/pci.c,
shared/console/console.c, shared/console/consoleIo.h,
shared/console/inch.c, shared/console/keyboard.h,
shared/console/polled_io.c, shared/irq/i8259.c, shared/irq/irq.h,
shared/irq/openpic_i8259_irq.c, shared/motorola/motorola.c,
shared/motorola/motorola.h, shared/openpic/openpic.c,
shared/openpic/openpic.h, shared/pci/pci.c,
shared/residual/residual.c, shared/start/start.S, ss555/irq/irq.h:
Fix typo where license said found in found in.
|
|
|
|
|
|
|
|
| |
* include/u-boot.h: Removed file.
* include/u-boot-config.h: New file.
* include/bsp.h, start/start.S, startup/bspstart.c: Use new U-Boot
support.
* Makefile.am, preinstall.am: Reflect changes above.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* make/custom/dp2.cfg, startup/linkcmds.dp2: New files.
* Makefile.am, preinstall.am: Reflect change above. Install
<bsp/utility.h>. Install BestComm header files.
* configure.ac: Changed BSP options.
* include/mpc5200.h: Added module structures and register defines.
* bestcomm/bestcomm_api.c, bestcomm/bestcomm_api.h,
bestcomm/bestcomm_glue.c, bestcomm/bestcomm_glue.h,
bestcomm/bestcomm_priv.h, bestcomm/load_task.c,
bestcomm/tasksetup_bdtable.c, bestcomm/task_api/bestcomm_cntrl.h: C++
compatibility. Use special heap to manage the SRAM region. Use
interrupt extension API. Fixed warnings.
* console/console.c: Fixed console registration. Fixed warnings.
Added GPS module registration.
* ide/pcmcia_ide.h: Fixed clock value macros.
* ide/pcmcia_ide.c: Update for BestComm API changes.
DP2 specific initialization. Removed zero loop in PIO receive
function.
* include/bsp.h: Added DP2 variant. Removed obsolete defines.
* include/mscan-base.h, mscan/mscan-base.c: Use volatile qualifier.
Format.
* irq/irq.c: Fixed peripheral interrupt handling.
* network_5200/network.c: Update for BestComm API changes.
* start/start.S: U-Boot fixes.
* startup/cpuinit.c: Enable write-back cache strategy. Added special
memory regions.
* startup/linkcmds.brs5l: Fixed memory size.
|
|
|
|
|
|
|
|
| |
* include/irq-config.h: Removed file.
* Makefile.am, preinstall.am: Reflect change above. Added interrupt
support modules.
* include/irq.h: Moved defines from 'include/irq-config.h'.
* include/mpc5200.h: Added GPIO PIN defines.
|
| |
|
| |
|
| |
|
|
|
|
|
| |
* include/bsp.h, startup/bspstart.c: Rename _Thread_Idle_body to
bsp_idle_thread.
|
|
|
|
|
| |
* include/bsp.h, startup/bspstart.c: Change prototype of IDLE thread to
consistently return void * and take a uintptr_t argument.
|
|
|
|
|
| |
* Makefile.am, preinstall.am: Use shared stub coverhd.h
* include/coverhd.h: Removed.
|
|
|
|
| |
* include/bsp.h: #include <bspopts.h> first.
|
|
|
|
|
|
|
|
|
|
|
| |
* Makefile.am, configure.ac, console/console.c, include/bsp.h,
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, include/bsp.h, network_5200/network.c, start/start.S,
startup/bspstart.c, startup/cpuinit.c: Use top level shared
bsp_get_work_area() implementation. Augment it to know about U-Boot.
* startup/bspgetworkarea.c: Removed.
|
|
|
|
| |
* include/bsp.h: Remove unnecessary boilerplate comments.
|
|
|
|
|
| |
* include/bsp.h: Eliminate definitions of BSP_LIBIO_MAX_FDS since this
is NOT used anywhere.
|
|
|
|
|
|
|
| |
* include/bsp.h, startup/bspclean.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.
|
|
|
|
| |
updated mscan CAN driver
|
| |
|
| |
|
|
|
|
| |
exception and interrupt code.
|
|
|
|
|
|
| |
* Makefile.am, include/bsp.h: Add bsp_uboot_getenv() to obtain U-Boot
environment variables.
* startup/uboot_support.c: New file.
|
|
|
|
|
|
| |
* include/bsp.h, irq/irq.c, irq/irq_init.c, startup/bspclean.c,
startup/bspstart.c: Slightly better names for IRQ benchmarking. Make
sure the routines are present all the time.
|
|
|
|
|
|
|
| |
* bsp_specs, clock/clock.c, include/bsp.h, irq/irq.c,
startup/bspclean.c, startup/bspstart.c: Eliminate copies of the
Configuration Table. Use the RTEMS provided accessor macros to obtain
configuration fields.
|