| 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.
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
| |
warnings
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This was done by the following script run from libbsp:
find * -name bsp.h | xargs -e grep -l "#ifndef.*_BSP_H" | while read b
do
echo $b
cpu=`echo $b | cut -d'/' -f1 | tr '[:lower:]' '[:upper:]' `
bsp=`echo $b | cut -d'/' -f2 | tr '[:lower:]' '[:upper:]' `
g="LIBBSP_${cpu}_${bsp}_BSP_H"
# echo $g
sed -e "s/ifndef _BSP_H/ifndef ${g}/" \
-e "s/define _BSP_H/define ${g}/" \
-i $b
done
|
| |
|
| |
|
|
|
|
|
|
|
| |
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().
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
PR 1786/bsps
* Makefile.am: Add support for Altivec.
* startup/bspstart.c, Makefile.am: Use shared/startup/zerobss.c instead.
* make/custom/mvme5500.cfg: Change CPU_CFLAGS to
"-mcpu=7450 -mtune=7450 -Dmpc7455"
* irq/BSP_irq.c, pci/detect_host_bridge.c, pci.c, pcifinddevice.c:
Remove warnings.
* vme/VMEConfig.h, include/bsp.h: use VME shared IRQ handlers.
* network/if_100MHz/GT64260eth.c: Recycle the Rx mbuf if there
is any Rx error.
|
|
|
|
|
|
| |
PR1797/bsps: Applied cleaned-up version of Kate's patch.
CONFIGURE_MALLOC_BSP_SUPPORTS_SBRK is now a 'bspopts.h'
setting and as such configurable.
|
|
|
|
|
| |
* include/bsp.h, 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/bsp.h: Eliminate BSPs defining NUMBER_OF_TERMIOS_PORTS.
Should be automatically handled by confdefs.h or the application.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* include/bsp.h, start/start.S, startup/bspstart.c:
added CONFIGURE_MALLOC_BSP_SUPPORTS_SBRK in bsp.h.
removed BSP_INIT_STACK_SIZE in bsp.h -- it uses __stack defined
by the linker script (shared/startup/linkcmds) for the initial
stack.
replaced __rtems_end+4096 with __stack in start.S
Removed legacy code in bspstart.c (inherited from old mvme2307 BSP
but not relevant to this one) that tested trapping
into PPCBug.
Changed ConfVPD_buff[] to be static and added ReadConfVPD_buf() in
bspstart.c
|
|
|
|
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
| |
* include/bsp.h: Remove define of BSP_ZERO_WORKSPACE_AUTOMATICALLY.
|
|
|
|
|
| |
* Makefile.am, configure.ac, include/bsp.h, startup/bspstart.c: Use
PowerPC level shared bsp_get_work_area() implementation.
|
|
|
|
|
|
| |
* 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, include/bsp.h, 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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* ChangeLog, Makefile.am, README, README.booting, README.irq,
preinstall.am, GT64260/MVME5500I2C.c, include/bsp.h, irq/irq.c,
irq/irq.h, irq/irq_init.c, pci/detect_host_bridge.c, pci/pci.c,
pci/pci_interface.c, pci/pcifinddevice.c, start/preload.S,
startup/bspclean.c, startup/bspstart.c, startup/pgtbl_activate.c,
startup/reboot.c, vectors/bspException.h, vectors/exceptionhandler.c:
Merge my improvements in this BSP including a new network
driver for the 1GHz NIC.
* network/if_100MHz/GT64260eth.c, network/if_100MHz/GT64260eth.h,
network/if_100MHz/GT64260ethreg.h, network/if_100MHz/Makefile.am,
network/if_1GHz/Makefile.am, network/if_1GHz/POSSIBLEBUG,
network/if_1GHz/if_wm.c, network/if_1GHz/if_wmreg.h,
network/if_1GHz/pci_map.c, network/if_1GHz/pcireg.h: New files.
|
|
|
|
|
|
|
|
|
| |
* Makefile.am, preinstall.am, include/bsp.h,
* vme/vmeconfig.c (removed), vme/VME.h (removed):
cleaned up vme support - use files from libbsp/powerpc/shared/vme
and define BSP specifica in VMEConfig.h.
Use VME DMA support implemented by vmeUniverse and
libbsp/powerpc/shared/vme/vme_universe_dma.c
|
|
|
|
|
|
| |
* include/bsp.h, vme/vmeconfig.c: Reverted redefinition of _IO_BASE;
this normally points to ISA space but is misused by this BSP
(inb/outb & friends are all over the place).
|
|
|
|
| |
* include/bsp.h: fixed misuse of _IO_BASE
|
|
|
|
| |
* include/bsp.h: New header guard.
|
|
|
|
|
|
|
|
| |
* README.VME, include/bsp.h, irq/irq.h, network/GT64260eth.c,
pci/detect_host_bridge.c, pci/gtpcireg.h, pci/pci.c, pci/pci.h,
pci/pci_interface.c, pci/pcifinddevice.c:
Submitted by Kate Feng <feng1@bnl.gov> as RTEMS-MVME5500 BSP v1.1 release.
Modifications made to merge this release with the current tree.
|
| |
|
|
|
|
|
| |
* 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.
|
|
|