| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
Also use the const qualifier on the address pointer's target in in_*()
Closes #2128
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
+ libbsp/sparc/shared/include/pci.h was largely a copy of
an older version of the cpukit pci.h. Removed much of the
contents and included <rtems/pci.h>.
+ sparc/*/pci*.c - Move to <rtems/pci.h> required updating
to use uint32_t for dword accesses.
+ Rename PCI_MULTI_FUNCTION to PCI_HEADER_TYPE_MULTI_FUNCTION
+ Define PCI_HEADER_TYPE_MULTI_FUNCTION in cpukit pci.h and remove
PCI_MULTI_FUNCTION definitions in C files.
+ Move PCI_INVALID_VENDORDEVICEID definitions from various C files
to cpukit pci.h
|
|
|
|
|
|
|
|
| |
All constants that should have been in cpukit pci.h were moved there.
One naming style was corrected. This impacted if_wm.c.
All other contents were the same as powerpc/shared/pci.h so BSP
specific pci.h could be eliminated.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
| |
PR 1483/cpukit
* pci/pci.c: Rename pci_config into rtems_pci_config_t.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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
|
| |
|
|
|
|
| |
* pci/pci.c: Add CVS Id.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
|
| |
PR 1235/bsps
* pci/pci.c: Add conditional declaration of variables used in debug
printk's.
|
| |
|
|
|
|
| |
* GT64260/MVME5500I2C.c, pci/pci.c: Eliminate unchar.
|
|
|
|
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
| |
* network/GT64260eth.c: Fixed warning.
* pci/pci.c, pci/pci.h: Modified to depend upon rtems/pci.h
|
|
|
|
|
| |
* pci/pci.c, pci/pci.h, startup/bspstart.c: Name change to support
common PCI interface
|
|
|
|
|
|
| |
* GT64260/GT64260TWSI.c, GT64260/GT64260TWSI.h, irq/GT64260Int.c,
network/GT64260eth.c, pci/pci.c, startup/bspclean.c,
startup/reboot.c: Fix warnings.
|
|
|
|
|
| |
* pci/pci.h, pci/pcifinddevice.c: Continue PCI API unification. All use
pci_find_device().
|
|
|
|
|
| |
* pci/pci.c, pci/pci.h, startup/bspstart.c: Make PCI initialize
function part of the unified PCI API as pci_initialize().
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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.
|
|
|