summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Makefile.am55
-rw-r--r--acinclude.m4399
-rw-r--r--aclocal/bsp-alias.m420
-rw-r--r--aclocal/canonical-target-name.m424
-rw-r--r--aclocal/check-bsps.m425
-rw-r--r--aclocal/check-custom-bsp.m420
-rw-r--r--aclocal/check-tool.m49
-rw-r--r--aclocal/enable-cxx.m411
-rw-r--r--aclocal/enable-drvmgr.m412
-rw-r--r--aclocal/enable-multiprocessing.m414
-rw-r--r--aclocal/enable-networking.m413
-rw-r--r--aclocal/enable-paravirt.m413
-rw-r--r--aclocal/enable-posix.m421
-rw-r--r--aclocal/enable-rtems-debug.m410
-rw-r--r--aclocal/enable-rtemsbsp.m454
-rw-r--r--aclocal/enable-smp.m418
-rw-r--r--aclocal/enable-tests.m411
-rw-r--r--aclocal/multilib.m417
-rw-r--r--aclocal/path-ksh.m412
-rw-r--r--aclocal/project-root.m417
-rw-r--r--aclocal/quoting.m441
-rw-r--r--aclocal/rpm.m420
-rw-r--r--aclocal/rtems-bsp-includes.m413
-rw-r--r--aclocal/rtems-build-top.m412
-rw-r--r--aclocal/rtems-includes.m423
-rw-r--r--aclocal/rtems-source-top.m48
-rw-r--r--aclocal/rtems-top.m434
-rw-r--r--aclocal/tool-paths.m423
-rw-r--r--aclocal/version.m44
-rw-r--r--automake/host.am5
-rw-r--r--automake/subdirs.am7
-rwxr-xr-xbootstrap326
-rw-r--r--bsps/aarch64/include/bsp/aarch64-mmu.h73
-rw-r--r--bsps/aarch64/include/dev/irq/arm-gic-arch.h4
-rw-r--r--bsps/aarch64/shared/mmu/vmsav8-64-nommu.c49
-rw-r--r--bsps/aarch64/shared/mmu/vmsav8-64.c69
-rw-r--r--bsps/aarch64/shared/start/aarch64-smp.c85
-rw-r--r--bsps/aarch64/shared/start/start.S12
-rw-r--r--bsps/aarch64/xilinx-versal/start/bspstartmmu.c5
-rw-r--r--bsps/aarch64/xilinx-zynqmp/include/bsp.h9
-rw-r--r--bsps/aarch64/xilinx-zynqmp/include/bsp/irq.h2
-rw-r--r--bsps/aarch64/xilinx-zynqmp/start/bspstarthooks.c40
-rw-r--r--bsps/aarch64/xilinx-zynqmp/start/bspstartmmu.c29
-rw-r--r--bsps/arm/altera-cyclone-v/headers.am45
-rw-r--r--bsps/arm/altera-cyclone-v/start/bsp_specs0
-rw-r--r--bsps/arm/atsam/headers.am270
-rw-r--r--bsps/arm/atsam/start/bsp_specs0
-rw-r--r--bsps/arm/atsam/start/linkcmds.memory.in39
-rw-r--r--bsps/arm/beagle/headers.am17
-rw-r--r--bsps/arm/beagle/simscripts/qemu-beagleboard.in63
-rw-r--r--bsps/arm/beagle/start/bsp_specs0
-rw-r--r--bsps/arm/csb336/headers.am11
-rw-r--r--bsps/arm/csb336/start/bsp_specs0
-rw-r--r--bsps/arm/csb337/headers.am21
-rw-r--r--bsps/arm/csb337/start/bsp_specs0
-rw-r--r--bsps/arm/edb7312/headers.am11
-rw-r--r--bsps/arm/edb7312/start/bsp_specs0
-rw-r--r--bsps/arm/gumstix/headers.am12
-rw-r--r--bsps/arm/gumstix/start/bsp_specs0
-rw-r--r--bsps/arm/headers.am54
-rw-r--r--bsps/arm/imx/headers.am20
-rw-r--r--bsps/arm/imx/spi/imx-ecspi.c10
-rw-r--r--bsps/arm/imx/start/bsp_specs0
-rw-r--r--bsps/arm/lm3s69xx/headers.am15
-rw-r--r--bsps/arm/lm3s69xx/start/bsp_specs0
-rw-r--r--bsps/arm/lpc176x/headers.am30
-rw-r--r--bsps/arm/lpc176x/start/bsp_specs0
-rw-r--r--bsps/arm/lpc24xx/headers.am21
-rw-r--r--bsps/arm/lpc24xx/start/bsp_specs0
-rw-r--r--bsps/arm/lpc32xx/headers.am19
-rw-r--r--bsps/arm/lpc32xx/start/bsp_specs0
-rw-r--r--bsps/arm/raspberrypi/headers.am20
-rw-r--r--bsps/arm/raspberrypi/start/bsp_specs0
-rw-r--r--bsps/arm/raspberrypi/start/linkcmds.in49
-rw-r--r--bsps/arm/realview-pbx-a9/headers.am11
-rw-r--r--bsps/arm/realview-pbx-a9/start/bsp_specs0
-rw-r--r--bsps/arm/rtl22xx/headers.am11
-rw-r--r--bsps/arm/rtl22xx/start/bsp_specs0
-rw-r--r--bsps/arm/shared/headers.am11
-rw-r--r--bsps/arm/smdk2410/headers.am14
-rw-r--r--bsps/arm/smdk2410/start/bsp_specs0
-rw-r--r--bsps/arm/stm32f4/headers.am29
-rw-r--r--bsps/arm/stm32f4/start/bsp_specs0
-rw-r--r--bsps/arm/stm32h7/start/bsp_specs0
-rw-r--r--bsps/arm/tms570/headers.am63
-rw-r--r--bsps/arm/tms570/start/bsp_specs0
-rw-r--r--bsps/arm/xen/headers.am10
-rw-r--r--bsps/arm/xen/start/bsp_specs0
-rw-r--r--bsps/arm/xen/start/linkcmds.in62
-rw-r--r--bsps/arm/xilinx-zynq/headers.am13
-rw-r--r--bsps/arm/xilinx-zynq/start/bsp_specs0
-rw-r--r--bsps/arm/xilinx-zynq/start/linkcmds.in36
-rw-r--r--bsps/arm/xilinx-zynqmp/headers.am10
-rw-r--r--bsps/arm/xilinx-zynqmp/start/bsp_specs0
-rw-r--r--bsps/arm/xilinx-zynqmp/start/linkcmds.in36
-rw-r--r--bsps/bfin/TLL6527M/headers.am11
-rw-r--r--bsps/bfin/TLL6527M/start/bsp_specs0
-rw-r--r--bsps/bfin/bf537Stamp/headers.am10
-rw-r--r--bsps/bfin/bf537Stamp/start/bsp_specs0
-rw-r--r--bsps/bfin/eZKit533/headers.am11
-rw-r--r--bsps/bfin/eZKit533/start/bsp_specs0
-rw-r--r--bsps/bfin/headers.am37
-rw-r--r--bsps/bfin/shared/shared-sources.am8
-rw-r--r--bsps/headers.am154
-rw-r--r--bsps/i386/headers.am20
-rw-r--r--bsps/i386/pc386/headers.am25
-rw-r--r--bsps/i386/pc386/start/bsp_specs0
-rw-r--r--bsps/include/bsp/fatal.h3
-rw-r--r--bsps/lm32/headers.am18
-rw-r--r--bsps/lm32/lm32_evr/headers.am7
-rw-r--r--bsps/lm32/lm32_evr/start/bsp_specs0
-rw-r--r--bsps/lm32/milkymist/headers.am7
-rw-r--r--bsps/lm32/milkymist/start/bsp_specs0
-rw-r--r--bsps/m68k/av5282/headers.am10
-rw-r--r--bsps/m68k/av5282/start/bsp_specs0
-rw-r--r--bsps/m68k/csb360/headers.am10
-rw-r--r--bsps/m68k/csb360/start/bsp_specs0
-rw-r--r--bsps/m68k/gen68340/headers.am15
-rw-r--r--bsps/m68k/gen68340/start/bsp_specs0
-rw-r--r--bsps/m68k/gen68360/headers.am10
-rw-r--r--bsps/m68k/gen68360/start/bsp_specs0
-rw-r--r--bsps/m68k/genmcf548x/headers.am10
-rw-r--r--bsps/m68k/genmcf548x/start/bsp_specs0
-rw-r--r--bsps/m68k/headers.am47
-rw-r--r--bsps/m68k/mcf5206elite/headers.am14
-rw-r--r--bsps/m68k/mcf5206elite/start/bsp_specs0
-rw-r--r--bsps/m68k/mcf52235/headers.am10
-rw-r--r--bsps/m68k/mcf52235/start/bsp_specs0
-rw-r--r--bsps/m68k/mcf5225x/headers.am10
-rw-r--r--bsps/m68k/mcf5225x/start/bsp_specs0
-rw-r--r--bsps/m68k/mcf5235/headers.am10
-rw-r--r--bsps/m68k/mcf5235/start/bsp_specs0
-rw-r--r--bsps/m68k/mcf5329/headers.am10
-rw-r--r--bsps/m68k/mcf5329/start/bsp_specs0
-rw-r--r--bsps/m68k/mrm332/headers.am11
-rw-r--r--bsps/m68k/mrm332/start/bsp_specs0
-rw-r--r--bsps/m68k/mvme147/headers.am10
-rw-r--r--bsps/m68k/mvme147/start/bsp_specs0
-rw-r--r--bsps/m68k/mvme147s/headers.am10
-rw-r--r--bsps/m68k/mvme147s/start/bsp_specs0
-rw-r--r--bsps/m68k/mvme162/headers.am11
-rw-r--r--bsps/m68k/mvme162/start/bsp_specs0
-rw-r--r--bsps/m68k/mvme167/headers.am11
-rw-r--r--bsps/m68k/mvme167/start/bsp_specs0
-rw-r--r--bsps/m68k/shared/fpsp-sources.am42
-rw-r--r--bsps/m68k/uC5282/headers.am10
-rw-r--r--bsps/m68k/uC5282/start/bsp_specs0
-rw-r--r--bsps/microblaze/include/bsp/linker-symbols.h106
-rw-r--r--bsps/microblaze/include/common/xil_types.h197
-rw-r--r--bsps/microblaze/include/dev/serial/uartlite.h62
-rw-r--r--bsps/microblaze/include/dev/serial/uartlite_l.h323
-rw-r--r--bsps/microblaze/microblaze_fpga/clock/clock.c145
-rw-r--r--bsps/microblaze/microblaze_fpga/console/console-io.c57
-rw-r--r--bsps/microblaze/microblaze_fpga/console/debug-io.c66
-rw-r--r--bsps/microblaze/microblaze_fpga/include/bsp.h53
-rw-r--r--bsps/microblaze/microblaze_fpga/include/bsp/intc.h74
-rw-r--r--bsps/microblaze/microblaze_fpga/include/bsp/irq.h49
-rw-r--r--bsps/microblaze/microblaze_fpga/include/bsp/timer.h69
-rw-r--r--bsps/microblaze/microblaze_fpga/include/tm27.h58
-rw-r--r--bsps/microblaze/microblaze_fpga/irq/irq.c168
-rw-r--r--bsps/microblaze/microblaze_fpga/start/_exception_handler.S52
-rw-r--r--bsps/microblaze/microblaze_fpga/start/_hw_exception_handler.S52
-rw-r--r--bsps/microblaze/microblaze_fpga/start/_interrupt_handler.S53
-rw-r--r--bsps/microblaze/microblaze_fpga/start/bspreset.c44
-rw-r--r--bsps/microblaze/microblaze_fpga/start/bspstart.c43
-rw-r--r--bsps/microblaze/microblaze_fpga/start/crtinit.S103
-rw-r--r--bsps/microblaze/shared/cache/cache.c36
-rw-r--r--bsps/microblaze/shared/dev/serial/uartlite.c145
-rw-r--r--bsps/microblaze/shared/dev/serial/uartlite_l.c99
-rw-r--r--bsps/microblaze/shared/start/start.S114
-rw-r--r--bsps/mips/csb350/headers.am10
-rw-r--r--bsps/mips/csb350/start/bsp_specs0
-rw-r--r--bsps/mips/headers.am15
-rw-r--r--bsps/mips/hurricane/headers.am11
-rw-r--r--bsps/mips/hurricane/start/bsp_specs0
-rw-r--r--bsps/mips/jmr3904/headers.am10
-rw-r--r--bsps/mips/jmr3904/start/bsp_specs0
-rw-r--r--bsps/mips/malta/headers.am11
-rw-r--r--bsps/mips/malta/start/bsp_specs0
-rw-r--r--bsps/mips/rbtx4925/headers.am10
-rw-r--r--bsps/mips/rbtx4925/start/bsp_specs0
-rw-r--r--bsps/mips/rbtx4938/headers.am10
-rw-r--r--bsps/mips/rbtx4938/start/bsp_specs0
-rw-r--r--bsps/moxie/moxiesim/headers.am10
-rw-r--r--bsps/moxie/moxiesim/start/bsp_specs0
-rw-r--r--bsps/nios2/nios2_iss/headers.am10
-rw-r--r--bsps/nios2/nios2_iss/start/bsp_specs0
-rw-r--r--bsps/no_cpu/no_bsp/headers.am10
-rw-r--r--bsps/no_cpu/no_bsp/start/bsp_specs0
-rw-r--r--bsps/or1k/generic_or1k/headers.am12
-rw-r--r--bsps/or1k/generic_or1k/start/bsp_specs0
-rw-r--r--bsps/or1k/headers.am5
-rw-r--r--bsps/powerpc/beatnik/headers.am19
-rw-r--r--bsps/powerpc/beatnik/start/bsp_specs0
-rw-r--r--bsps/powerpc/gen5200/headers.am45
-rw-r--r--bsps/powerpc/gen5200/start/bsp_specs0
-rw-r--r--bsps/powerpc/gen83xx/headers.am13
-rw-r--r--bsps/powerpc/gen83xx/start/bsp_specs0
-rw-r--r--bsps/powerpc/haleakala/headers.am11
-rw-r--r--bsps/powerpc/haleakala/start/bsp_specs0
-rw-r--r--bsps/powerpc/headers.am88
-rw-r--r--bsps/powerpc/motorola_powerpc/headers.am11
-rw-r--r--bsps/powerpc/motorola_powerpc/include/bsp.h32
-rw-r--r--bsps/powerpc/motorola_powerpc/start/bsp_specs0
-rw-r--r--bsps/powerpc/mpc55xxevb/headers.am34
-rw-r--r--bsps/powerpc/mpc55xxevb/start/bsp_specs0
-rw-r--r--bsps/powerpc/mpc8260ads/headers.am10
-rw-r--r--bsps/powerpc/mpc8260ads/start/bsp_specs0
-rw-r--r--bsps/powerpc/mvme3100/headers.am13
-rw-r--r--bsps/powerpc/mvme3100/start/bsp_specs0
-rw-r--r--bsps/powerpc/mvme5500/headers.am21
-rw-r--r--bsps/powerpc/mvme5500/start/bsp_specs0
-rw-r--r--bsps/powerpc/psim/headers.am11
-rw-r--r--bsps/powerpc/psim/start/bsp_specs0
-rw-r--r--bsps/powerpc/qemuppc/headers.am10
-rw-r--r--bsps/powerpc/qemuppc/start/bsp_specs0
-rw-r--r--bsps/powerpc/qoriq/headers.am24
-rw-r--r--bsps/powerpc/qoriq/start/bsp_specs0
-rw-r--r--bsps/powerpc/shared/exceptions-sources.am14
-rw-r--r--bsps/powerpc/shared/shared-sources.am4
-rw-r--r--bsps/powerpc/shared/vme-sources.am5
-rw-r--r--bsps/powerpc/ss555/headers.am10
-rw-r--r--bsps/powerpc/ss555/start/bsp_specs0
-rw-r--r--bsps/powerpc/t32mppc/headers.am10
-rw-r--r--bsps/powerpc/t32mppc/start/bsp_specs0
-rw-r--r--bsps/powerpc/tqm8xx/headers.am13
-rw-r--r--bsps/powerpc/tqm8xx/start/bsp_specs0
-rw-r--r--bsps/powerpc/virtex/headers.am13
-rw-r--r--bsps/powerpc/virtex/start/bsp_specs0
-rw-r--r--bsps/powerpc/virtex/start/linkcmds.in35
-rw-r--r--bsps/powerpc/virtex4/headers.am11
-rw-r--r--bsps/powerpc/virtex4/start/bsp_specs0
-rw-r--r--bsps/powerpc/virtex5/headers.am11
-rw-r--r--bsps/powerpc/virtex5/start/bsp_specs0
-rw-r--r--bsps/riscv/griscv/headers.am11
-rw-r--r--bsps/riscv/griscv/start/bsp_specs0
-rw-r--r--bsps/riscv/griscv/start/linkcmds.in46
-rw-r--r--bsps/riscv/headers.am5
-rw-r--r--bsps/riscv/riscv/headers.am16
-rw-r--r--bsps/riscv/riscv/start/bsp_specs0
-rw-r--r--bsps/riscv/riscv/start/linkcmds.in46
-rw-r--r--bsps/riscv/shared/start/linkcmds.base.in410
-rw-r--r--bsps/sh/gensh1/headers.am21
-rw-r--r--bsps/sh/gensh1/start/bsp_specs0
-rw-r--r--bsps/sh/gensh2/headers.am23
-rw-r--r--bsps/sh/gensh2/start/bsp_specs0
-rw-r--r--bsps/sh/gensh4/headers.am23
-rw-r--r--bsps/sh/gensh4/start/bsp_specs0
-rw-r--r--bsps/sh/shsim/headers.am11
-rw-r--r--bsps/sh/shsim/start/bsp_specs0
-rw-r--r--bsps/shared/dev/irq/arm-gicv2-get-attributes.c77
-rw-r--r--bsps/shared/dev/irq/arm-gicv2-zynqmp.c76
-rw-r--r--bsps/shared/dev/irq/arm-gicv2.c61
-rw-r--r--bsps/shared/grlib-sources.am68
-rw-r--r--bsps/shared/irq-default-sources.am14
-rw-r--r--bsps/shared/irq-sources.am13
-rw-r--r--bsps/shared/shared-sources.am56
-rw-r--r--bsps/shared/start/bspsmp-arm-psci.c92
-rw-r--r--bsps/shared/start/mallocinitmulti.c49
-rw-r--r--bsps/shared/start/mallocinitone.c49
-rw-r--r--bsps/shared/start/wkspaceinitmulti.c46
-rw-r--r--bsps/shared/start/wkspaceinitone.c46
-rw-r--r--bsps/sparc/erc32/headers.am11
-rw-r--r--bsps/sparc/erc32/start/bsp_specs0
-rw-r--r--bsps/sparc/headers.am10
-rw-r--r--bsps/sparc/leon2/headers.am12
-rw-r--r--bsps/sparc/leon2/start/bsp_specs0
-rw-r--r--bsps/sparc/leon3/headers.am13
-rw-r--r--bsps/sparc/leon3/start/bsp_specs0
-rw-r--r--bsps/sparc64/headers.am54
-rw-r--r--bsps/sparc64/niagara/headers.am10
-rw-r--r--bsps/sparc64/niagara/start/bsp_specs0
-rw-r--r--bsps/sparc64/usiii/headers.am10
-rw-r--r--bsps/sparc64/usiii/start/bsp_specs0
-rw-r--r--bsps/v850/gdbv850sim/headers.am11
-rw-r--r--bsps/v850/gdbv850sim/start/bsp_specs0
-rw-r--r--bsps/x86_64/amd64/headers.am10
-rw-r--r--bsps/x86_64/amd64/start/bsp_specs0
-rw-r--r--bsps/x86_64/headers.am9
-rw-r--r--c/Makefile.am19
-rw-r--r--c/acinclude.m432
-rw-r--r--c/configure.ac93
-rw-r--r--c/src/Makefile.am39
-rw-r--r--c/src/README23
-rw-r--r--c/src/acinclude.m484
-rw-r--r--c/src/aclocal/bsp-alias.m420
-rw-r--r--c/src/aclocal/bsp-arg-enable.m417
-rw-r--r--c/src/aclocal/bsp-bootcard-options.m49
-rw-r--r--c/src/aclocal/bsp-bspcleanup-options.m429
-rw-r--r--c/src/aclocal/bsp-configure.m449
-rw-r--r--c/src/aclocal/bsp-linkcmds.m418
-rw-r--r--c/src/aclocal/bspopts.m482
-rw-r--r--c/src/aclocal/canonical-target-name.m425
-rw-r--r--c/src/aclocal/canonicalize-tools.m413
-rw-r--r--c/src/aclocal/check-custom-bsp.m420
-rw-r--r--c/src/aclocal/check-cxx.m418
-rw-r--r--c/src/aclocal/check-multiprocessing.m437
-rw-r--r--c/src/aclocal/check-networking.m430
-rw-r--r--c/src/aclocal/check-posix.m431
-rw-r--r--c/src/aclocal/check-smp.m417
-rw-r--r--c/src/aclocal/check-tool.m49
-rw-r--r--c/src/aclocal/config-subdirs.m432
-rw-r--r--c/src/aclocal/enable-cxx.m411
-rw-r--r--c/src/aclocal/enable-drvmgr.m412
-rw-r--r--c/src/aclocal/enable-multiprocessing.m413
-rw-r--r--c/src/aclocal/enable-networking.m413
-rw-r--r--c/src/aclocal/enable-posix.m421
-rw-r--r--c/src/aclocal/enable-smp.m417
-rw-r--r--c/src/aclocal/env-rtemsbsp.m437
-rw-r--r--c/src/aclocal/gcc-isystem.m422
-rw-r--r--c/src/aclocal/gcc-pipe.m417
-rw-r--r--c/src/aclocal/gcc-specs.m416
-rw-r--r--c/src/aclocal/gcc-weak.m419
-rw-r--r--c/src/aclocal/i386-gas-code16.m427
-rw-r--r--c/src/aclocal/multilib.m416
-rw-r--r--c/src/aclocal/path-ksh.m412
-rw-r--r--c/src/aclocal/ppc.m419
-rw-r--r--c/src/aclocal/prog-cc.m445
-rw-r--r--c/src/aclocal/prog-ccas.m46
-rw-r--r--c/src/aclocal/prog-cxx.m449
-rw-r--r--c/src/aclocal/project-root.m44
-rw-r--r--c/src/aclocal/quoting.m441
-rw-r--r--c/src/aclocal/rtems-bsp-includes.m413
-rw-r--r--c/src/aclocal/rtems-build-top.m412
-rw-r--r--c/src/aclocal/rtems-cpu-subdirs.m432
-rw-r--r--c/src/aclocal/rtems-includes.m423
-rw-r--r--c/src/aclocal/rtems-source-top.m48
-rw-r--r--c/src/aclocal/rtems-top.m434
-rw-r--r--c/src/aclocal/target.m4134
-rw-r--r--c/src/aclocal/tool-paths.m423
-rw-r--r--c/src/aclocal/version.m44
-rw-r--r--c/src/automake/compile.am14
-rw-r--r--c/src/automake/host.am5
-rw-r--r--c/src/automake/subdirs.am64
-rw-r--r--c/src/bsp.pc.in18
-rw-r--r--c/src/configure.ac166
-rw-r--r--c/src/lib/libbsp/.gitignore1
-rw-r--r--c/src/lib/libbsp/Makefile.am11
-rw-r--r--c/src/lib/libbsp/arm/Makefile.am16
-rw-r--r--c/src/lib/libbsp/arm/acinclude.m450
-rw-r--r--c/src/lib/libbsp/arm/altera-cyclone-v/Makefile.am93
-rw-r--r--c/src/lib/libbsp/arm/altera-cyclone-v/configure.ac81
-rw-r--r--c/src/lib/libbsp/arm/atsam/Makefile.am162
-rw-r--r--c/src/lib/libbsp/arm/atsam/configure.ac111
-rw-r--r--c/src/lib/libbsp/arm/beagle/Makefile.am106
-rw-r--r--c/src/lib/libbsp/arm/beagle/configure.ac50
-rw-r--r--c/src/lib/libbsp/arm/configure.ac20
-rw-r--r--c/src/lib/libbsp/arm/csb336/Makefile.am46
-rw-r--r--c/src/lib/libbsp/arm/csb336/configure.ac20
-rw-r--r--c/src/lib/libbsp/arm/csb337/Makefile.am75
-rw-r--r--c/src/lib/libbsp/arm/csb337/configure.ac66
-rw-r--r--c/src/lib/libbsp/arm/edb7312/Makefile.am50
-rw-r--r--c/src/lib/libbsp/arm/edb7312/configure.ac27
-rw-r--r--c/src/lib/libbsp/arm/gumstix/Makefile.am52
-rw-r--r--c/src/lib/libbsp/arm/gumstix/configure.ac28
-rw-r--r--c/src/lib/libbsp/arm/imx/Makefile.am88
-rw-r--r--c/src/lib/libbsp/arm/imx/configure.ac58
-rw-r--r--c/src/lib/libbsp/arm/lm3s69xx/Makefile.am82
-rw-r--r--c/src/lib/libbsp/arm/lm3s69xx/configure.ac77
-rw-r--r--c/src/lib/libbsp/arm/lpc176x/Makefile.am118
-rw-r--r--c/src/lib/libbsp/arm/lpc176x/configure.ac66
-rw-r--r--c/src/lib/libbsp/arm/lpc24xx/Makefile.am126
-rw-r--r--c/src/lib/libbsp/arm/lpc24xx/configure.ac116
-rw-r--r--c/src/lib/libbsp/arm/lpc32xx/Makefile.am106
-rw-r--r--c/src/lib/libbsp/arm/lpc32xx/configure.ac105
-rw-r--r--c/src/lib/libbsp/arm/raspberrypi/Makefile.am114
-rw-r--r--c/src/lib/libbsp/arm/raspberrypi/configure.ac67
-rw-r--r--c/src/lib/libbsp/arm/realview-pbx-a9/Makefile.am92
-rw-r--r--c/src/lib/libbsp/arm/realview-pbx-a9/configure.ac52
-rw-r--r--c/src/lib/libbsp/arm/rtl22xx/Makefile.am47
-rw-r--r--c/src/lib/libbsp/arm/rtl22xx/configure.ac27
-rw-r--r--c/src/lib/libbsp/arm/smdk2410/Makefile.am52
-rw-r--r--c/src/lib/libbsp/arm/smdk2410/configure.ac30
-rw-r--r--c/src/lib/libbsp/arm/stm32f4/Makefile.am83
-rw-r--r--c/src/lib/libbsp/arm/stm32f4/configure.ac70
-rw-r--r--c/src/lib/libbsp/arm/tms570/Makefile.am115
-rw-r--r--c/src/lib/libbsp/arm/tms570/configure.ac57
-rw-r--r--c/src/lib/libbsp/arm/xen/Makefile.am50
-rw-r--r--c/src/lib/libbsp/arm/xen/configure.ac64
-rw-r--r--c/src/lib/libbsp/arm/xilinx-zynq/Makefile.am93
-rw-r--r--c/src/lib/libbsp/arm/xilinx-zynq/configure.ac109
-rw-r--r--c/src/lib/libbsp/arm/xilinx-zynqmp/Makefile.am89
-rw-r--r--c/src/lib/libbsp/arm/xilinx-zynqmp/configure.ac94
-rw-r--r--c/src/lib/libbsp/bfin/Makefile.am7
-rw-r--r--c/src/lib/libbsp/bfin/TLL6527M/Makefile.am36
-rw-r--r--c/src/lib/libbsp/bfin/TLL6527M/configure.ac44
-rw-r--r--c/src/lib/libbsp/bfin/acinclude.m414
-rw-r--r--c/src/lib/libbsp/bfin/bf537Stamp/Makefile.am37
-rw-r--r--c/src/lib/libbsp/bfin/bf537Stamp/configure.ac30
-rw-r--r--c/src/lib/libbsp/bfin/configure.ac20
-rw-r--r--c/src/lib/libbsp/bfin/eZKit533/Makefile.am37
-rw-r--r--c/src/lib/libbsp/bfin/eZKit533/configure.ac29
-rw-r--r--c/src/lib/libbsp/bsp.am5
-rw-r--r--c/src/lib/libbsp/i386/Makefile.am15
-rw-r--r--c/src/lib/libbsp/i386/acinclude.m410
-rw-r--r--c/src/lib/libbsp/i386/configure.ac20
-rw-r--r--c/src/lib/libbsp/i386/pc386/Makefile.am143
-rw-r--r--c/src/lib/libbsp/i386/pc386/configure.ac145
-rw-r--r--c/src/lib/libbsp/lm32/Makefile.am7
-rw-r--r--c/src/lib/libbsp/lm32/acinclude.m412
-rw-r--r--c/src/lib/libbsp/lm32/configure.ac20
-rw-r--r--c/src/lib/libbsp/lm32/lm32_evr/Makefile.am44
-rw-r--r--c/src/lib/libbsp/lm32/lm32_evr/configure.ac32
-rw-r--r--c/src/lib/libbsp/lm32/milkymist/Makefile.am91
-rw-r--r--c/src/lib/libbsp/lm32/milkymist/configure.ac31
-rw-r--r--c/src/lib/libbsp/m68k/Makefile.am12
-rw-r--r--c/src/lib/libbsp/m68k/acinclude.m440
-rw-r--r--c/src/lib/libbsp/m68k/av5282/Makefile.am43
-rw-r--r--c/src/lib/libbsp/m68k/av5282/configure.ac21
-rw-r--r--c/src/lib/libbsp/m68k/configure.ac20
-rw-r--r--c/src/lib/libbsp/m68k/csb360/Makefile.am43
-rw-r--r--c/src/lib/libbsp/m68k/csb360/configure.ac20
-rw-r--r--c/src/lib/libbsp/m68k/gen68340/Makefile.am46
-rw-r--r--c/src/lib/libbsp/m68k/gen68340/configure.ac19
-rw-r--r--c/src/lib/libbsp/m68k/gen68360/Makefile.am51
-rw-r--r--c/src/lib/libbsp/m68k/gen68360/configure.ac34
-rw-r--r--c/src/lib/libbsp/m68k/genmcf548x/Makefile.am55
-rw-r--r--c/src/lib/libbsp/m68k/genmcf548x/configure.ac46
-rw-r--r--c/src/lib/libbsp/m68k/mcf5206elite/Makefile.am54
-rw-r--r--c/src/lib/libbsp/m68k/mcf5206elite/configure.ac20
-rw-r--r--c/src/lib/libbsp/m68k/mcf52235/Makefile.am47
-rw-r--r--c/src/lib/libbsp/m68k/mcf52235/configure.ac19
-rw-r--r--c/src/lib/libbsp/m68k/mcf5225x/Makefile.am38
-rw-r--r--c/src/lib/libbsp/m68k/mcf5225x/configure.ac22
-rw-r--r--c/src/lib/libbsp/m68k/mcf5235/Makefile.am47
-rw-r--r--c/src/lib/libbsp/m68k/mcf5235/configure.ac21
-rw-r--r--c/src/lib/libbsp/m68k/mcf5329/Makefile.am45
-rw-r--r--c/src/lib/libbsp/m68k/mcf5329/configure.ac20
-rw-r--r--c/src/lib/libbsp/m68k/mrm332/Makefile.am46
-rw-r--r--c/src/lib/libbsp/m68k/mrm332/configure.ac19
-rw-r--r--c/src/lib/libbsp/m68k/mvme147/Makefile.am46
-rw-r--r--c/src/lib/libbsp/m68k/mvme147/configure.ac19
-rw-r--r--c/src/lib/libbsp/m68k/mvme147s/Makefile.am55
-rw-r--r--c/src/lib/libbsp/m68k/mvme147s/configure.ac19
-rw-r--r--c/src/lib/libbsp/m68k/mvme162/Makefile.am52
-rw-r--r--c/src/lib/libbsp/m68k/mvme162/configure.ac22
-rw-r--r--c/src/lib/libbsp/m68k/mvme167/Makefile.am45
-rw-r--r--c/src/lib/libbsp/m68k/mvme167/configure.ac53
-rw-r--r--c/src/lib/libbsp/m68k/uC5282/Makefile.am43
-rw-r--r--c/src/lib/libbsp/m68k/uC5282/configure.ac21
-rw-r--r--c/src/lib/libbsp/mips/Makefile.am7
-rw-r--r--c/src/lib/libbsp/mips/acinclude.m420
-rw-r--r--c/src/lib/libbsp/mips/configure.ac20
-rw-r--r--c/src/lib/libbsp/mips/csb350/Makefile.am48
-rw-r--r--c/src/lib/libbsp/mips/csb350/configure.ac20
-rw-r--r--c/src/lib/libbsp/mips/hurricane/Makefile.am55
-rw-r--r--c/src/lib/libbsp/mips/hurricane/configure.ac28
-rw-r--r--c/src/lib/libbsp/mips/jmr3904/Makefile.am46
-rw-r--r--c/src/lib/libbsp/mips/jmr3904/configure.ac19
-rw-r--r--c/src/lib/libbsp/mips/malta/Makefile.am67
-rw-r--r--c/src/lib/libbsp/mips/malta/configure.ac20
-rw-r--r--c/src/lib/libbsp/mips/rbtx4925/Makefile.am55
-rw-r--r--c/src/lib/libbsp/mips/rbtx4925/configure.ac24
-rw-r--r--c/src/lib/libbsp/mips/rbtx4938/Makefile.am55
-rw-r--r--c/src/lib/libbsp/mips/rbtx4938/configure.ac20
-rw-r--r--c/src/lib/libbsp/moxie/Makefile.am10
-rw-r--r--c/src/lib/libbsp/moxie/acinclude.m410
-rw-r--r--c/src/lib/libbsp/moxie/configure.ac22
-rw-r--r--c/src/lib/libbsp/moxie/moxiesim/Makefile.am45
-rw-r--r--c/src/lib/libbsp/moxie/moxiesim/configure.ac34
-rw-r--r--c/src/lib/libbsp/nios2/Makefile.am6
-rw-r--r--c/src/lib/libbsp/nios2/acinclude.m410
-rw-r--r--c/src/lib/libbsp/nios2/configure.ac20
-rw-r--r--c/src/lib/libbsp/nios2/nios2_iss/Makefile.am44
-rw-r--r--c/src/lib/libbsp/nios2/nios2_iss/configure.ac19
-rw-r--r--c/src/lib/libbsp/no_cpu/Makefile.am6
-rw-r--r--c/src/lib/libbsp/no_cpu/acinclude.m410
-rw-r--r--c/src/lib/libbsp/no_cpu/configure.ac20
-rw-r--r--c/src/lib/libbsp/no_cpu/no_bsp/Makefile.am39
-rw-r--r--c/src/lib/libbsp/no_cpu/no_bsp/configure.ac19
-rw-r--r--c/src/lib/libbsp/or1k/Makefile.am9
-rw-r--r--c/src/lib/libbsp/or1k/acinclude.m410
-rw-r--r--c/src/lib/libbsp/or1k/configure.ac20
-rw-r--r--c/src/lib/libbsp/or1k/generic_or1k/Makefile.am72
-rw-r--r--c/src/lib/libbsp/or1k/generic_or1k/configure.ac28
-rw-r--r--c/src/lib/libbsp/powerpc/Makefile.am41
-rw-r--r--c/src/lib/libbsp/powerpc/acinclude.m444
-rw-r--r--c/src/lib/libbsp/powerpc/beatnik/Makefile.am109
-rw-r--r--c/src/lib/libbsp/powerpc/beatnik/configure.ac48
-rw-r--r--c/src/lib/libbsp/powerpc/configure.ac21
-rw-r--r--c/src/lib/libbsp/powerpc/gen5200/Makefile.am115
-rw-r--r--c/src/lib/libbsp/powerpc/gen5200/configure.ac132
-rw-r--r--c/src/lib/libbsp/powerpc/gen83xx/Makefile.am78
-rw-r--r--c/src/lib/libbsp/powerpc/gen83xx/configure.ac92
-rw-r--r--c/src/lib/libbsp/powerpc/haleakala/Makefile.am49
-rw-r--r--c/src/lib/libbsp/powerpc/haleakala/configure.ac41
-rw-r--r--c/src/lib/libbsp/powerpc/motorola_powerpc/Makefile.am98
-rw-r--r--c/src/lib/libbsp/powerpc/motorola_powerpc/bootloader/Makefile.am67
-rw-r--r--c/src/lib/libbsp/powerpc/motorola_powerpc/configure.ac83
-rw-r--r--c/src/lib/libbsp/powerpc/motorola_powerpc/qemu_fakerom/Makefile.am26
-rw-r--r--c/src/lib/libbsp/powerpc/mpc55xxevb/Makefile.am100
-rw-r--r--c/src/lib/libbsp/powerpc/mpc55xxevb/configure.ac225
-rw-r--r--c/src/lib/libbsp/powerpc/mpc8260ads/Makefile.am59
-rw-r--r--c/src/lib/libbsp/powerpc/mpc8260ads/configure.ac69
-rw-r--r--c/src/lib/libbsp/powerpc/mvme3100/Makefile.am95
-rw-r--r--c/src/lib/libbsp/powerpc/mvme3100/configure.ac49
-rw-r--r--c/src/lib/libbsp/powerpc/mvme5500/Makefile.am86
-rw-r--r--c/src/lib/libbsp/powerpc/mvme5500/configure.ac49
-rw-r--r--c/src/lib/libbsp/powerpc/psim/Makefile.am73
-rw-r--r--c/src/lib/libbsp/powerpc/psim/configure.ac54
-rw-r--r--c/src/lib/libbsp/powerpc/qemuppc/Makefile.am54
-rw-r--r--c/src/lib/libbsp/powerpc/qemuppc/configure.ac24
-rw-r--r--c/src/lib/libbsp/powerpc/qoriq/Makefile.am96
-rw-r--r--c/src/lib/libbsp/powerpc/qoriq/configure.ac165
-rw-r--r--c/src/lib/libbsp/powerpc/ss555/Makefile.am66
-rw-r--r--c/src/lib/libbsp/powerpc/ss555/configure.ac51
-rw-r--r--c/src/lib/libbsp/powerpc/t32mppc/Makefile.am64
-rw-r--r--c/src/lib/libbsp/powerpc/t32mppc/configure.ac33
-rw-r--r--c/src/lib/libbsp/powerpc/tqm8xx/Makefile.am64
-rw-r--r--c/src/lib/libbsp/powerpc/tqm8xx/configure.ac99
-rw-r--r--c/src/lib/libbsp/powerpc/virtex/Makefile.am57
-rw-r--r--c/src/lib/libbsp/powerpc/virtex/configure.ac45
-rw-r--r--c/src/lib/libbsp/powerpc/virtex4/Makefile.am57
-rw-r--r--c/src/lib/libbsp/powerpc/virtex4/configure.ac45
-rw-r--r--c/src/lib/libbsp/powerpc/virtex5/Makefile.am59
-rw-r--r--c/src/lib/libbsp/powerpc/virtex5/configure.ac45
-rw-r--r--c/src/lib/libbsp/riscv/Makefile.am10
-rw-r--r--c/src/lib/libbsp/riscv/acinclude.m412
-rw-r--r--c/src/lib/libbsp/riscv/configure.ac20
-rw-r--r--c/src/lib/libbsp/riscv/griscv/Makefile.am71
-rw-r--r--c/src/lib/libbsp/riscv/griscv/configure.ac59
-rw-r--r--c/src/lib/libbsp/riscv/riscv/Makefile.am71
-rw-r--r--c/src/lib/libbsp/riscv/riscv/configure.ac96
-rw-r--r--c/src/lib/libbsp/sh/Makefile.am7
-rw-r--r--c/src/lib/libbsp/sh/acinclude.m416
-rw-r--r--c/src/lib/libbsp/sh/configure.ac20
-rw-r--r--c/src/lib/libbsp/sh/gensh1/Makefile.am46
-rw-r--r--c/src/lib/libbsp/sh/gensh1/configure.ac26
-rw-r--r--c/src/lib/libbsp/sh/gensh2/Makefile.am50
-rw-r--r--c/src/lib/libbsp/sh/gensh2/configure.ac31
-rw-r--r--c/src/lib/libbsp/sh/gensh4/Makefile.am45
-rw-r--r--c/src/lib/libbsp/sh/gensh4/configure.ac37
-rw-r--r--c/src/lib/libbsp/sh/shsim/Makefile.am49
-rw-r--r--c/src/lib/libbsp/sh/shsim/configure.ac41
-rw-r--r--c/src/lib/libbsp/sparc/Makefile.am64
-rw-r--r--c/src/lib/libbsp/sparc/acinclude.m414
-rw-r--r--c/src/lib/libbsp/sparc/configure.ac23
-rw-r--r--c/src/lib/libbsp/sparc/erc32/Makefile.am66
-rw-r--r--c/src/lib/libbsp/sparc/erc32/configure.ac37
-rw-r--r--c/src/lib/libbsp/sparc/leon2/Makefile.am71
-rw-r--r--c/src/lib/libbsp/sparc/leon2/configure.ac37
-rw-r--r--c/src/lib/libbsp/sparc/leon3/Makefile.am92
-rw-r--r--c/src/lib/libbsp/sparc/leon3/configure.ac39
-rw-r--r--c/src/lib/libbsp/sparc64/Makefile.am7
-rw-r--r--c/src/lib/libbsp/sparc64/acinclude.m412
-rw-r--r--c/src/lib/libbsp/sparc64/configure.ac24
-rw-r--r--c/src/lib/libbsp/sparc64/niagara/Makefile.am51
-rw-r--r--c/src/lib/libbsp/sparc64/niagara/configure.ac19
-rw-r--r--c/src/lib/libbsp/sparc64/usiii/Makefile.am62
-rw-r--r--c/src/lib/libbsp/sparc64/usiii/configure.ac26
-rw-r--r--c/src/lib/libbsp/v850/Makefile.am12
-rw-r--r--c/src/lib/libbsp/v850/acinclude.m410
-rw-r--r--c/src/lib/libbsp/v850/configure.ac21
-rw-r--r--c/src/lib/libbsp/v850/gdbv850sim/Makefile.am42
-rw-r--r--c/src/lib/libbsp/v850/gdbv850sim/configure.ac19
-rw-r--r--c/src/lib/libbsp/x86_64/Makefile.am6
-rw-r--r--c/src/lib/libbsp/x86_64/acinclude.m410
-rw-r--r--c/src/lib/libbsp/x86_64/amd64/Makefile.am52
-rw-r--r--c/src/lib/libbsp/x86_64/amd64/configure.ac19
-rw-r--r--c/src/lib/libbsp/x86_64/configure.ac20
-rw-r--r--c/src/make/Makefile.am87
-rw-r--r--c/src/make/Makefile.inc.in55
-rw-r--r--c/src/make/README465
-rw-r--r--c/src/make/aclocal/rtems-flags.m410
-rw-r--r--c/src/make/bsp.cfg.in31
-rw-r--r--c/src/make/bsp.mak11
-rw-r--r--c/src/make/compilers/gcc-target-default.cfg189
-rw-r--r--c/src/make/configure.ac81
-rw-r--r--c/src/make/custom/default.cfg.in0
-rw-r--r--c/src/make/directory.cfg57
-rw-r--r--c/src/make/host.cfg.in48
-rw-r--r--c/src/make/leaf.cfg44
-rw-r--r--c/src/make/lib.cfg15
-rw-r--r--c/src/make/target.cfg.in44
-rwxr-xr-xcompile347
-rw-r--r--config-ml.in664
-rwxr-xr-xconfig.guess1476
-rwxr-xr-xconfig.sub1808
-rw-r--r--configure.ac39
-rw-r--r--cpukit/Makefile.am1834
-rw-r--r--cpukit/aclocal/canonical-target-name.m425
-rw-r--r--cpukit/aclocal/canonicalize-tools.m413
-rw-r--r--cpukit/aclocal/check-func.m421
-rw-r--r--cpukit/aclocal/check-multiprocessing.m45
-rw-r--r--cpukit/aclocal/check-networking.m425
-rw-r--r--cpukit/aclocal/check-newlib.m428
-rw-r--r--cpukit/aclocal/check-posix.m419
-rw-r--r--cpukit/aclocal/check-rtems-debug.m45
-rw-r--r--cpukit/aclocal/check-smp.m418
-rw-r--r--cpukit/aclocal/check-tool.m49
-rw-r--r--cpukit/aclocal/enable-drvmgr.m412
-rw-r--r--cpukit/aclocal/enable-multiprocessing.m413
-rw-r--r--cpukit/aclocal/enable-networking.m412
-rw-r--r--cpukit/aclocal/enable-paravirt.m413
-rw-r--r--cpukit/aclocal/enable-posix.m421
-rw-r--r--cpukit/aclocal/enable-profiling.m49
-rw-r--r--cpukit/aclocal/enable-rtems-debug.m410
-rw-r--r--cpukit/aclocal/enable-smp.m417
-rw-r--r--cpukit/aclocal/env-rtemscpu.m46
-rw-r--r--cpukit/aclocal/gcc-pipe.m418
-rw-r--r--cpukit/aclocal/gcc-sanity.m4114
-rw-r--r--cpukit/aclocal/gcc-weak.m419
-rw-r--r--cpukit/aclocal/multi.m450
-rw-r--r--cpukit/aclocal/multilib.m414
-rw-r--r--cpukit/aclocal/prog-cc.m438
-rw-r--r--cpukit/aclocal/prog-ccas.m46
-rw-r--r--cpukit/aclocal/rtems-bsp-includes.m413
-rw-r--r--cpukit/aclocal/rtems-build-top.m412
-rw-r--r--cpukit/aclocal/rtems-includes.m423
-rw-r--r--cpukit/aclocal/rtems-source-top.m48
-rw-r--r--cpukit/aclocal/rtems-top.m470
-rw-r--r--cpukit/aclocal/version.m44
-rw-r--r--cpukit/automake/compile.am5
-rw-r--r--cpukit/automake/multilib.am34
-rw-r--r--cpukit/configure.ac387
-rw-r--r--cpukit/doxygen/appl-config.h51
-rw-r--r--cpukit/header-dirs.am82
-rw-r--r--cpukit/headers.am452
-rw-r--r--cpukit/include/rtems/confdefs/bsp.h15
-rw-r--r--cpukit/include/rtems/confdefs/extensions.h10
-rw-r--r--cpukit/include/rtems/confdefs/iodrivers.h62
-rw-r--r--cpukit/include/rtems/confdefs/malloc.h10
-rw-r--r--cpukit/include/rtems/confdefs/percpu.h27
-rw-r--r--cpukit/include/rtems/confdefs/wkspace.h16
-rw-r--r--cpukit/include/rtems/config.h18
-rw-r--r--cpukit/include/rtems/counter.h5
-rw-r--r--cpukit/include/rtems/cpuuse.h219
-rw-r--r--cpukit/include/rtems/malloc.h6
-rw-r--r--cpukit/include/rtems/mallocinitmulti.h100
-rw-r--r--cpukit/include/rtems/mallocinitone.h90
-rw-r--r--cpukit/include/rtems/posix/posixapi.h7
-rw-r--r--cpukit/include/rtems/posix/pthreadimpl.h15
-rw-r--r--cpukit/include/rtems/rtems/asr.h2
-rw-r--r--cpukit/include/rtems/rtems/asrdata.h4
-rw-r--r--cpukit/include/rtems/rtems/clock.h592
-rw-r--r--cpukit/include/rtems/rtems/message.h4
-rw-r--r--cpukit/include/rtems/rtems/modesimpl.h8
-rw-r--r--cpukit/include/rtems/rtems/ratemon.h7
-rw-r--r--cpukit/include/rtems/rtems/ratemonimpl.h10
-rw-r--r--cpukit/include/rtems/rtems/signal.h2
-rw-r--r--cpukit/include/rtems/rtems/tasks.h12
-rw-r--r--cpukit/include/rtems/score/basedefs.h2
-rw-r--r--cpukit/include/rtems/score/chainimpl.h11
-rw-r--r--cpukit/include/rtems/score/coremuteximpl.h34
-rw-r--r--cpukit/include/rtems/score/exception.h71
-rw-r--r--cpukit/include/rtems/score/hash.h2
-rw-r--r--cpukit/include/rtems/score/mrspimpl.h19
-rw-r--r--cpukit/include/rtems/score/objectdata.h2
-rw-r--r--cpukit/include/rtems/score/percpu.h31
-rw-r--r--cpukit/include/rtems/score/rbtreeimpl.h26
-rw-r--r--cpukit/include/rtems/score/scheduler.h165
-rw-r--r--cpukit/include/rtems/score/schedulercbs.h15
-rw-r--r--cpukit/include/rtems/score/scheduleredf.h5
-rw-r--r--cpukit/include/rtems/score/scheduleredfsmp.h48
-rw-r--r--cpukit/include/rtems/score/schedulerimpl.h483
-rw-r--r--cpukit/include/rtems/score/schedulernodeimpl.h21
-rw-r--r--cpukit/include/rtems/score/schedulerpriority.h5
-rw-r--r--cpukit/include/rtems/score/schedulerpriorityaffinitysmp.h37
-rw-r--r--cpukit/include/rtems/score/schedulerprioritysmp.h40
-rw-r--r--cpukit/include/rtems/score/schedulerprioritysmpimpl.h35
-rw-r--r--cpukit/include/rtems/score/schedulersimple.h5
-rw-r--r--cpukit/include/rtems/score/schedulersimpleimpl.h13
-rw-r--r--cpukit/include/rtems/score/schedulersimplesmp.h39
-rw-r--r--cpukit/include/rtems/score/schedulersmp.h9
-rw-r--r--cpukit/include/rtems/score/schedulersmpimpl.h1032
-rw-r--r--cpukit/include/rtems/score/schedulerstrongapa.h67
-rw-r--r--cpukit/include/rtems/score/smpimpl.h3
-rw-r--r--cpukit/include/rtems/score/stack.h24
-rw-r--r--cpukit/include/rtems/score/status.h2
-rw-r--r--cpukit/include/rtems/score/thread.h129
-rw-r--r--cpukit/include/rtems/score/threadcpubudget.h102
-rw-r--r--cpukit/include/rtems/score/threadimpl.h165
-rw-r--r--cpukit/include/rtems/score/threadmp.h13
-rw-r--r--cpukit/include/rtems/score/threadqimpl.h75
-rw-r--r--cpukit/include/rtems/score/timecounter.h24
-rw-r--r--cpukit/include/rtems/score/watchdogimpl.h55
-rw-r--r--cpukit/include/rtems/score/wkspace.h22
-rw-r--r--cpukit/include/rtems/score/wkspacedata.h10
-rw-r--r--cpukit/include/rtems/score/wkspaceinitmulti.h129
-rw-r--r--cpukit/include/rtems/score/wkspaceinitone.h113
-rw-r--r--cpukit/include/rtems/seterr.h10
-rw-r--r--cpukit/include/rtems/sysinit.h1
-rw-r--r--cpukit/libcsupport/src/__times.c3
-rw-r--r--cpukit/libcsupport/src/malloc_initialize.c81
-rw-r--r--cpukit/libcsupport/src/mallocheap.c2
-rw-r--r--cpukit/libcsupport/src/posix_devctl.c80
-rw-r--r--cpukit/libdebugger/rtems-debugger-aarch64.c1884
-rw-r--r--cpukit/libdebugger/rtems-debugger-i386.c12
-rw-r--r--cpukit/libdebugger/rtems-debugger-server.c32
-rw-r--r--cpukit/libdebugger/rtems-debugger-target.c4
-rw-r--r--cpukit/libdebugger/rtems-debugger-target.h12
-rw-r--r--cpukit/libdebugger/rtems-debugger-threads.c6
-rw-r--r--cpukit/libdebugger/rtems-debugger-threads.h10
-rw-r--r--cpukit/libdl/rtl-mdreloc-h8300.c212
-rw-r--r--cpukit/libmisc/cpuuse/cpuusagereport.c2
-rw-r--r--cpukit/libmisc/cpuuse/cpuusagereset.c3
-rw-r--r--cpukit/libmisc/cpuuse/cpuusagetop.c2
-rw-r--r--cpukit/libtest/t-test-interrupt.c9
-rw-r--r--cpukit/libtest/t-test-time.c45
-rw-r--r--cpukit/libtest/testbusy.c4
-rw-r--r--cpukit/posix/src/psignalunblockthread.c7
-rw-r--r--cpukit/posix/src/psxtransschedparam.c44
-rw-r--r--cpukit/posix/src/pthreadcreate.c36
-rw-r--r--cpukit/posix/src/pthreadgetattrnp.c16
-rw-r--r--cpukit/posix/src/pthreadgetschedparam.c14
-rw-r--r--cpukit/posix/src/pthreadsetschedparam.c24
-rw-r--r--cpukit/rtems/src/clockgettod.c31
-rw-r--r--cpukit/rtems/src/clockgettodtimeval.c6
-rw-r--r--cpukit/rtems/src/eventsurrender.c12
-rw-r--r--cpukit/rtems/src/ratemoncancel.c1
-rw-r--r--cpukit/rtems/src/ratemongetstatus.c28
-rw-r--r--cpukit/rtems/src/ratemonperiod.c25
-rw-r--r--cpukit/rtems/src/ratemontimeout.c4
-rw-r--r--cpukit/rtems/src/schedulergetprocessor.c54
-rw-r--r--cpukit/rtems/src/schedulergetprocessormax.c54
-rw-r--r--cpukit/rtems/src/schedulerremoveprocessor.c50
-rw-r--r--cpukit/rtems/src/semsetpriority.c50
-rw-r--r--cpukit/rtems/src/signalsend.c25
-rw-r--r--cpukit/rtems/src/taskconstruct.c9
-rw-r--r--cpukit/rtems/src/taskident.c3
-rw-r--r--cpukit/rtems/src/taskmode.c2
-rw-r--r--cpukit/score/cpu/aarch64/aarch64-context-validate.S159
-rw-r--r--cpukit/score/cpu/aarch64/aarch64-context-volatile-clobber.S19
-rw-r--r--cpukit/score/cpu/aarch64/aarch64-exception-default.S131
-rw-r--r--cpukit/score/cpu/aarch64/aarch64-exception-default.c59
-rw-r--r--cpukit/score/cpu/aarch64/aarch64-exception-interrupt.S171
-rw-r--r--cpukit/score/cpu/aarch64/cpu.c20
-rw-r--r--cpukit/score/cpu/aarch64/cpu_asm.S78
-rw-r--r--cpukit/score/cpu/aarch64/include/libcpu/mmu-vmsav8-64.h97
-rw-r--r--cpukit/score/cpu/aarch64/include/rtems/asm.h5
-rw-r--r--cpukit/score/cpu/aarch64/include/rtems/score/aarch64-system-registers.h1112
-rw-r--r--cpukit/score/cpu/aarch64/include/rtems/score/cpu.h38
-rw-r--r--cpukit/score/cpu/aarch64/include/rtems/score/cpuimpl.h67
-rw-r--r--cpukit/score/cpu/arm/headers.am14
-rw-r--r--cpukit/score/cpu/arm/include/rtems/score/aarch32-pmsa.h38
-rw-r--r--cpukit/score/cpu/arm/include/rtems/score/cpu.h2
-rw-r--r--cpukit/score/cpu/bfin/headers.am11
-rw-r--r--cpukit/score/cpu/i386/cpu.c8
-rw-r--r--cpukit/score/cpu/i386/headers.am11
-rw-r--r--cpukit/score/cpu/lm32/headers.am8
-rw-r--r--cpukit/score/cpu/m68k/headers.am11
-rw-r--r--cpukit/score/cpu/microblaze/__tls_get_addr.c54
-rw-r--r--cpukit/score/cpu/microblaze/cpu.c121
-rw-r--r--cpukit/score/cpu/microblaze/cpu_asm.S194
-rw-r--r--cpukit/score/cpu/microblaze/include/rtems/asm.h138
-rw-r--r--cpukit/score/cpu/microblaze/include/rtems/score/cpu.h305
-rw-r--r--cpukit/score/cpu/microblaze/include/rtems/score/cpuatomic.h41
-rw-r--r--cpukit/score/cpu/microblaze/include/rtems/score/cpuimpl.h96
-rw-r--r--cpukit/score/cpu/microblaze/include/rtems/score/microblaze.h57
-rw-r--r--cpukit/score/cpu/microblaze/microblaze-context-switch.S107
-rw-r--r--cpukit/score/cpu/microblaze/microblaze-context-validate.S117
-rw-r--r--cpukit/score/cpu/microblaze/microblaze-context-volatile-clobber.S28
-rw-r--r--cpukit/score/cpu/mips/headers.am9
-rw-r--r--cpukit/score/cpu/moxie/headers.am7
-rw-r--r--cpukit/score/cpu/nios2/headers.am10
-rw-r--r--cpukit/score/cpu/no_cpu/headers.am6
-rw-r--r--cpukit/score/cpu/no_cpu/include/rtems/score/cpu.h63
-rw-r--r--cpukit/score/cpu/or1k/headers.am8
-rw-r--r--cpukit/score/cpu/powerpc/headers.am9
-rw-r--r--cpukit/score/cpu/riscv/headers.am11
-rw-r--r--cpukit/score/cpu/sh/headers.am7
-rw-r--r--cpukit/score/cpu/sparc/cpu_asm.S12
-rw-r--r--cpukit/score/cpu/sparc/headers.am11
-rw-r--r--cpukit/score/cpu/sparc64/headers.am6
-rw-r--r--cpukit/score/cpu/v850/headers.am8
-rw-r--r--cpukit/score/cpu/x86_64/headers.am9
-rw-r--r--cpukit/score/src/coremsginsert.c6
-rw-r--r--cpukit/score/src/coretodset.c8
-rw-r--r--cpukit/score/src/exceptionmapping.c104
-rw-r--r--cpukit/score/src/kern_tc.c733
-rw-r--r--cpukit/score/src/mpci.c1
-rw-r--r--cpukit/score/src/mutex.c16
-rw-r--r--cpukit/score/src/rbtreeappend.c58
-rw-r--r--cpukit/score/src/rbtreeprepend.c58
-rw-r--r--cpukit/score/src/schedulercbs.c41
-rw-r--r--cpukit/score/src/schedulercbsattachthread.c5
-rw-r--r--cpukit/score/src/schedulercbsdetachthread.c20
-rw-r--r--cpukit/score/src/schedulercbsgetexecutiontime.c2
-rw-r--r--cpukit/score/src/schedulercbsgetremainingbudget.c2
-rw-r--r--cpukit/score/src/schedulercbsreleasejob.c2
-rw-r--r--cpukit/score/src/schedulercbsunblock.c2
-rw-r--r--cpukit/score/src/schedulerdefaultaskforhelp.c61
-rw-r--r--cpukit/score/src/schedulerdefaultmakecleansticky.c52
-rw-r--r--cpukit/score/src/schedulerdefaultpinunpin.c31
-rw-r--r--cpukit/score/src/schedulerdefaultpinunpindonothing.c73
-rw-r--r--cpukit/score/src/schedulerdefaulttick.c81
-rw-r--r--cpukit/score/src/scheduleredfsmp.c349
-rw-r--r--cpukit/score/src/schedulerpriorityaffinitysmp.c89
-rw-r--r--cpukit/score/src/schedulerprioritysmp.c73
-rw-r--r--cpukit/score/src/schedulersimplesmp.c96
-rw-r--r--cpukit/score/src/schedulersmp.c29
-rw-r--r--cpukit/score/src/schedulerstrongapa.c162
-rw-r--r--cpukit/score/src/stackallocatorforidle.c65
-rw-r--r--cpukit/score/src/threadchangepriority.c136
-rw-r--r--cpukit/score/src/threadcreateidle.c13
-rw-r--r--cpukit/score/src/threaddispatch.c13
-rw-r--r--cpukit/score/src/threadexhausttimeslice.c53
-rw-r--r--cpukit/score/src/threadgetcputimeused.c32
-rw-r--r--cpukit/score/src/threadgetcputimeusedafterreset.c71
-rw-r--r--cpukit/score/src/threadinitialize.c194
-rw-r--r--cpukit/score/src/threadloadenv.c11
-rw-r--r--cpukit/score/src/threadqenqueue.c223
-rw-r--r--cpukit/score/src/threadqextract.c57
-rw-r--r--cpukit/score/src/threadqextractwithproxy.c46
-rw-r--r--cpukit/score/src/threadqops.c20
-rw-r--r--cpukit/score/src/threadresettimeslice.c91
-rw-r--r--cpukit/score/src/threadrestart.c12
-rw-r--r--cpukit/score/src/threadscheduler.c58
-rw-r--r--cpukit/score/src/threadtimeout.c8
-rw-r--r--cpukit/score/src/userextremoveset.c2
-rw-r--r--cpukit/score/src/watchdogtick.c25
-rw-r--r--cpukit/score/src/wkspace.c125
-rw-r--r--cpukit/score/src/wkspaceallocate.c47
-rw-r--r--cpukit/score/src/wkspacefree.c51
-rw-r--r--cpukit/version-vc-key.h.in7
-rwxr-xr-xdepcomp791
-rwxr-xr-xinstall-sh527
-rwxr-xr-xmdate-sh224
-rwxr-xr-xmissing215
-rwxr-xr-xrtems-bootstrap246
-rw-r--r--spec/build/bsps/aarch64/a53/grp.yml2
-rw-r--r--spec/build/bsps/aarch64/a53/obj.yml2
-rw-r--r--spec/build/bsps/aarch64/a53/tsta53.yml4
-rw-r--r--spec/build/bsps/aarch64/a72/grp.yml2
-rw-r--r--spec/build/bsps/aarch64/a72/obj.yml2
-rw-r--r--spec/build/bsps/aarch64/a72/tsta72.yml4
-rw-r--r--spec/build/bsps/aarch64/xilinx-versal/grp.yml4
-rw-r--r--spec/build/bsps/aarch64/xilinx-versal/obj.yml4
-rw-r--r--spec/build/bsps/aarch64/xilinx-versal/tstqemu.yml4
-rw-r--r--spec/build/bsps/aarch64/xilinx-versal/tstvck190.yml4
-rw-r--r--spec/build/bsps/aarch64/xilinx-zynqmp/abi.yml2
-rw-r--r--spec/build/bsps/aarch64/xilinx-zynqmp/grp.yml4
-rw-r--r--spec/build/bsps/aarch64/xilinx-zynqmp/obj.yml3
-rw-r--r--spec/build/bsps/aarch64/xilinx-zynqmp/objsmp.yml16
-rw-r--r--spec/build/bsps/aarch64/xilinx-zynqmp/tstqemu.yml4
-rw-r--r--spec/build/bsps/aarch64/xilinx-zynqmp/tstzu3eg.yml3
-rw-r--r--spec/build/bsps/arm/altera-cyclone-v/bspalteracyclonev.yml3
-rw-r--r--spec/build/bsps/arm/atsam/bspatsam.yml3
-rw-r--r--spec/build/bsps/arm/beagle/grp.yml2
-rw-r--r--spec/build/bsps/arm/beagle/obj.yml1
-rw-r--r--spec/build/bsps/arm/csb336/bspcsb336.yml3
-rw-r--r--spec/build/bsps/arm/csb337/grp.yml2
-rw-r--r--spec/build/bsps/arm/csb337/obj.yml1
-rw-r--r--spec/build/bsps/arm/edb7312/bspedb7312.yml3
-rw-r--r--spec/build/bsps/arm/fvp/grp.yml2
-rw-r--r--spec/build/bsps/arm/fvp/obj.yml1
-rw-r--r--spec/build/bsps/arm/gumstix/bspgumstix.yml3
-rw-r--r--spec/build/bsps/arm/imx/bspimx.yml3
-rw-r--r--spec/build/bsps/arm/imxrt/bspimxrt.yml3
-rw-r--r--spec/build/bsps/arm/lm3s69xx/grp.yml2
-rw-r--r--spec/build/bsps/arm/lm3s69xx/obj.yml1
-rw-r--r--spec/build/bsps/arm/lpc176x/grp.yml2
-rw-r--r--spec/build/bsps/arm/lpc176x/obj.yml1
-rw-r--r--spec/build/bsps/arm/lpc24xx/bsplpc2362.yml2
-rw-r--r--spec/build/bsps/arm/lpc24xx/bsplpc23xxtli800.yml2
-rw-r--r--spec/build/bsps/arm/lpc24xx/grp.yml2
-rw-r--r--spec/build/bsps/arm/lpc24xx/obj.yml1
-rw-r--r--spec/build/bsps/arm/lpc24xx/tstlpc2362.yml66
-rw-r--r--spec/build/bsps/arm/lpc24xx/tstlpc23xx.yml (renamed from spec/build/bsps/arm/lpc24xx/tstlpc23xxtli800.yml)0
-rw-r--r--spec/build/bsps/arm/lpc32xx/grp.yml2
-rw-r--r--spec/build/bsps/arm/lpc32xx/obj.yml1
-rw-r--r--spec/build/bsps/arm/raspberrypi/obj.yml2
-rw-r--r--spec/build/bsps/arm/realview-pbx-a9/bsprealviewpbxa9.yml4
-rw-r--r--spec/build/bsps/arm/rtl22xx/grp.yml2
-rw-r--r--spec/build/bsps/arm/rtl22xx/obj.yml1
-rw-r--r--spec/build/bsps/arm/smdk2410/bspsmdk2410.yml3
-rw-r--r--spec/build/bsps/arm/stm32f4/grp.yml2
-rw-r--r--spec/build/bsps/arm/stm32f4/obj.yml1
-rw-r--r--spec/build/bsps/arm/stm32h7/grp.yml2
-rw-r--r--spec/build/bsps/arm/stm32h7/obj.yml4
-rw-r--r--spec/build/bsps/arm/tms570/grp.yml2
-rw-r--r--spec/build/bsps/arm/tms570/obj.yml1
-rw-r--r--spec/build/bsps/arm/xen/bspxen.yml4
-rw-r--r--spec/build/bsps/arm/xilinx-zynq/grp.yml2
-rw-r--r--spec/build/bsps/arm/xilinx-zynq/obj.yml2
-rw-r--r--spec/build/bsps/arm/xilinx-zynqmp/bspxilinxzynqmp.yml4
-rw-r--r--spec/build/bsps/bfin/TLL6527M/bsptll6527m.yml3
-rw-r--r--spec/build/bsps/bfin/bf537Stamp/bspbf537stamp.yml3
-rw-r--r--spec/build/bsps/bfin/eZKit533/bspezkit533.yml3
-rw-r--r--spec/build/bsps/i386/pc386/obj.yml2
-rw-r--r--spec/build/bsps/lm32/lm32_evr/grp.yml2
-rw-r--r--spec/build/bsps/lm32/lm32_evr/obj.yml1
-rw-r--r--spec/build/bsps/lm32/milkymist/bspmilkymist.yml3
-rw-r--r--spec/build/bsps/m68k/av5282/bspav5282.yml3
-rw-r--r--spec/build/bsps/m68k/csb360/bspcsb360.yml3
-rw-r--r--spec/build/bsps/m68k/gen68340/bspgen68340.yml3
-rw-r--r--spec/build/bsps/m68k/gen68360/grp.yml2
-rw-r--r--spec/build/bsps/m68k/gen68360/obj.yml1
-rw-r--r--spec/build/bsps/m68k/genmcf548x/grp.yml2
-rw-r--r--spec/build/bsps/m68k/genmcf548x/obj.yml1
-rw-r--r--spec/build/bsps/m68k/mcf5206elite/bspmcf5206elite.yml3
-rw-r--r--spec/build/bsps/m68k/mcf52235/bspmcf52235.yml3
-rw-r--r--spec/build/bsps/m68k/mcf5225x/bspmcf5225x.yml3
-rw-r--r--spec/build/bsps/m68k/mcf5235/bspmcf5235.yml3
-rw-r--r--spec/build/bsps/m68k/mcf5329/bspmcf5329.yml3
-rw-r--r--spec/build/bsps/m68k/mrm332/bspmrm332.yml3
-rw-r--r--spec/build/bsps/m68k/mvme147/bspmvme147.yml3
-rw-r--r--spec/build/bsps/m68k/mvme147s/bspmvme147s.yml3
-rw-r--r--spec/build/bsps/m68k/mvme162/grp.yml2
-rw-r--r--spec/build/bsps/m68k/mvme162/obj.yml1
-rw-r--r--spec/build/bsps/m68k/mvme167/bspmvme167.yml3
-rw-r--r--spec/build/bsps/m68k/uC5282/bspuc5282.yml3
-rw-r--r--spec/build/bsps/microblaze/grp.yml15
-rw-r--r--spec/build/bsps/microblaze/microblaze_fpga/abi.yml20
-rw-r--r--spec/build/bsps/microblaze/microblaze_fpga/bspkcu105.yml24
-rw-r--r--spec/build/bsps/microblaze/microblaze_fpga/bspkcu105_qemu.yml24
-rw-r--r--spec/build/bsps/microblaze/microblaze_fpga/grp.yml38
-rw-r--r--spec/build/bsps/microblaze/microblaze_fpga/linkcmds.yml242
-rw-r--r--spec/build/bsps/microblaze/microblaze_fpga/obj.yml46
-rw-r--r--spec/build/bsps/microblaze/microblaze_fpga/optconsoleinterrupts.yml15
-rw-r--r--spec/build/bsps/microblaze/microblaze_fpga/optintcbaseaddress.yml18
-rw-r--r--spec/build/bsps/microblaze/microblaze_fpga/opttimerbaseaddress.yml18
-rw-r--r--spec/build/bsps/microblaze/microblaze_fpga/opttimerfrequency.yml17
-rw-r--r--spec/build/bsps/microblaze/microblaze_fpga/optuartlitebaseaddress.yml18
-rw-r--r--spec/build/bsps/microblaze/microblaze_fpga/start.yml14
-rw-r--r--spec/build/bsps/microblaze/microblaze_fpga/tstkcu105_qemu.yml14
-rw-r--r--spec/build/bsps/mips/csb350/bspcsb350.yml3
-rw-r--r--spec/build/bsps/mips/hurricane/bsphurricane.yml3
-rw-r--r--spec/build/bsps/mips/jmr3904/bspjmr3904.yml3
-rw-r--r--spec/build/bsps/mips/malta/bspmalta.yml3
-rw-r--r--spec/build/bsps/mips/rbtx4925/bsprbtx4925.yml3
-rw-r--r--spec/build/bsps/mips/rbtx4938/bsprbtx4938.yml3
-rw-r--r--spec/build/bsps/moxie/moxiesim/bspmoxiesim.yml3
-rw-r--r--spec/build/bsps/nios2/nios2_iss/bspnios2iss.yml3
-rw-r--r--spec/build/bsps/objmem.yml16
-rw-r--r--spec/build/bsps/or1k/generic_or1k/bspgenericor1k.yml3
-rw-r--r--spec/build/bsps/powerpc/beatnik/bspbeatnik.yml3
-rw-r--r--spec/build/bsps/powerpc/gen5200/grp.yml2
-rw-r--r--spec/build/bsps/powerpc/gen5200/obj.yml1
-rw-r--r--spec/build/bsps/powerpc/gen83xx/grp.yml2
-rw-r--r--spec/build/bsps/powerpc/gen83xx/obj.yml1
-rw-r--r--spec/build/bsps/powerpc/haleakala/bsphaleakala.yml3
-rw-r--r--spec/build/bsps/powerpc/motorola_powerpc/grp.yml2
-rw-r--r--spec/build/bsps/powerpc/motorola_powerpc/obj.yml1
-rw-r--r--spec/build/bsps/powerpc/mpc55xxevb/obj.yml2
-rw-r--r--spec/build/bsps/powerpc/mpc8260ads/bspmpc8260ads.yml3
-rw-r--r--spec/build/bsps/powerpc/mvme3100/bspmvme3100.yml3
-rw-r--r--spec/build/bsps/powerpc/mvme5500/bspmvme5500.yml3
-rw-r--r--spec/build/bsps/powerpc/objmem.yml16
-rw-r--r--spec/build/bsps/powerpc/psim/bsppsim.yml3
-rw-r--r--spec/build/bsps/powerpc/qemuppc/bspqemuppc.yml3
-rw-r--r--spec/build/bsps/powerpc/qoriq/obj.yml2
-rw-r--r--spec/build/bsps/powerpc/ss555/bspss555.yml3
-rw-r--r--spec/build/bsps/powerpc/t32mppc/bspt32mppc.yml3
-rw-r--r--spec/build/bsps/powerpc/tqm8xx/obj.yml2
-rw-r--r--spec/build/bsps/powerpc/virtex/bspvirtex.yml3
-rw-r--r--spec/build/bsps/powerpc/virtex4/bspvirtex4.yml3
-rw-r--r--spec/build/bsps/powerpc/virtex5/bspvirtex5.yml3
-rw-r--r--spec/build/bsps/riscv/griscv/grp.yml2
-rw-r--r--spec/build/bsps/riscv/griscv/obj.yml1
-rw-r--r--spec/build/bsps/riscv/riscv/grp.yml2
-rw-r--r--spec/build/bsps/riscv/riscv/obj.yml1
-rw-r--r--spec/build/bsps/sh/gensh1/bspgensh1.yml3
-rw-r--r--spec/build/bsps/sh/gensh2/bspgensh2.yml3
-rw-r--r--spec/build/bsps/sh/gensh4/bspgensh4.yml3
-rw-r--r--spec/build/bsps/sh/shsim/grp.yml2
-rw-r--r--spec/build/bsps/sh/shsim/obj.yml1
-rw-r--r--spec/build/bsps/sparc/erc32/bsperc32.yml3
-rw-r--r--spec/build/bsps/sparc/leon2/grp.yml2
-rw-r--r--spec/build/bsps/sparc/leon2/obj.yml1
-rw-r--r--spec/build/bsps/sparc/leon3/grp.yml2
-rw-r--r--spec/build/bsps/sparc/leon3/obj.yml1
-rw-r--r--spec/build/bsps/sparc/objmem.yml16
-rw-r--r--spec/build/bsps/sparc64/niagara/bspniagara.yml3
-rw-r--r--spec/build/bsps/sparc64/usiii/bspusiii.yml3
-rw-r--r--spec/build/bsps/v850/gdbv850sim/grp.yml2
-rw-r--r--spec/build/bsps/v850/gdbv850sim/obj.yml1
-rw-r--r--spec/build/bsps/x86_64/amd64/bspamd64.yml3
-rw-r--r--spec/build/cpukit/cpuaarch64.yml1
-rw-r--r--spec/build/cpukit/cpumicroblaze.yml29
-rw-r--r--spec/build/cpukit/cpuopts.yml4
-rw-r--r--spec/build/cpukit/libdebugger.yml4
-rw-r--r--spec/build/cpukit/librtemscpu.yml20
-rw-r--r--spec/build/cpukit/objdbgaarch64.yml15
-rw-r--r--spec/build/cpukit/objexceptionmapping.yml15
-rw-r--r--spec/build/cpukit/objmpci.yml1
-rw-r--r--spec/build/cpukit/objsmp.yml3
-rw-r--r--spec/build/cpukit/optexceptionextensions.yml19
-rw-r--r--spec/build/cpukit/optlibdebugger.yml17
-rw-r--r--spec/build/cpukit/optsmp.yml4
-rw-r--r--spec/build/cpukit/optvermaj.yml2
-rw-r--r--spec/build/testsuites/libtests/debugger01.yml4
-rw-r--r--spec/build/testsuites/psxtests/grp.yml2
-rw-r--r--spec/build/testsuites/psxtests/psxsignal09.yml22
-rw-r--r--spec/build/testsuites/sptests/grp.yml6
-rw-r--r--spec/build/testsuites/sptests/spfatal35.yml20
-rw-r--r--spec/build/testsuites/sptests/spstkalloc03.yml19
-rw-r--r--spec/build/testsuites/sptests/spstkalloc04.yml19
-rw-r--r--testsuites/Makefile.am16
-rw-r--r--testsuites/aclocal/canonical-target-name.m425
-rw-r--r--testsuites/aclocal/canonicalize-tools.m420
-rw-r--r--testsuites/aclocal/check-cpuopts.m421
-rw-r--r--testsuites/aclocal/check-custom-bsp.m422
-rw-r--r--testsuites/aclocal/check-cxx.m420
-rw-r--r--testsuites/aclocal/check-tool.m49
-rw-r--r--testsuites/aclocal/enable-cxx.m411
-rw-r--r--testsuites/aclocal/enable-tests.m411
-rw-r--r--testsuites/aclocal/env-rtemsbsp.m427
-rw-r--r--testsuites/aclocal/gcc-specs.m416
-rw-r--r--testsuites/aclocal/prog-cc.m440
-rw-r--r--testsuites/aclocal/prog-cxx.m449
-rw-r--r--testsuites/aclocal/project-root.m47
-rw-r--r--testsuites/aclocal/rtems-bsp-includes.m413
-rw-r--r--testsuites/aclocal/rtems-bsp-linkcmds.m425
-rw-r--r--testsuites/aclocal/rtems-build-top.m412
-rw-r--r--testsuites/aclocal/rtems-includes.m423
-rw-r--r--testsuites/aclocal/rtems-source-top.m48
-rw-r--r--testsuites/aclocal/rtems-test-check.m431
-rw-r--r--testsuites/aclocal/rtems-top.m483
-rw-r--r--testsuites/aclocal/version.m44
-rw-r--r--testsuites/ada/Makefile.am11
-rw-r--r--testsuites/ada/aclocal/prog-gnat.m444
-rw-r--r--testsuites/ada/ada.am20
-rw-r--r--testsuites/ada/configure.ac158
-rw-r--r--testsuites/ada/mptests/Makefile.am16
-rw-r--r--testsuites/ada/mptests/mp01/Makefile.am3
-rw-r--r--testsuites/ada/mptests/mp01/node1/Makefile.am18
-rw-r--r--testsuites/ada/mptests/mp01/node2/Makefile.am18
-rw-r--r--testsuites/ada/mptests/mp03/Makefile.am3
-rw-r--r--testsuites/ada/mptests/mp03/node1/Makefile.am18
-rw-r--r--testsuites/ada/mptests/mp03/node2/Makefile.am18
-rw-r--r--testsuites/ada/mptests/mp04/Makefile.am3
-rw-r--r--testsuites/ada/mptests/mp04/node1/Makefile.am18
-rw-r--r--testsuites/ada/mptests/mp04/node2/Makefile.am18
-rw-r--r--testsuites/ada/mptests/mp05/Makefile.am3
-rw-r--r--testsuites/ada/mptests/mp05/node1/Makefile.am18
-rw-r--r--testsuites/ada/mptests/mp05/node2/Makefile.am18
-rw-r--r--testsuites/ada/mptests/mp06/Makefile.am3
-rw-r--r--testsuites/ada/mptests/mp06/node1/Makefile.am18
-rw-r--r--testsuites/ada/mptests/mp06/node2/Makefile.am18
-rw-r--r--testsuites/ada/mptests/mp07/Makefile.am3
-rw-r--r--testsuites/ada/mptests/mp07/node1/Makefile.am18
-rw-r--r--testsuites/ada/mptests/mp07/node2/Makefile.am18
-rw-r--r--testsuites/ada/mptests/mp08/Makefile.am3
-rw-r--r--testsuites/ada/mptests/mp08/node1/Makefile.am18
-rw-r--r--testsuites/ada/mptests/mp08/node2/Makefile.am18
-rw-r--r--testsuites/ada/mptests/mp09/Makefile.am3
-rw-r--r--testsuites/ada/mptests/mp09/node1/Makefile.am18
-rw-r--r--testsuites/ada/mptests/mp09/node2/Makefile.am18
-rw-r--r--testsuites/ada/mptests/mp10/Makefile.am3
-rw-r--r--testsuites/ada/mptests/mp10/node1/Makefile.am18
-rw-r--r--testsuites/ada/mptests/mp10/node2/Makefile.am18
-rw-r--r--testsuites/ada/mptests/mp11/Makefile.am3
-rw-r--r--testsuites/ada/mptests/mp11/node1/Makefile.am18
-rw-r--r--testsuites/ada/mptests/mp11/node2/Makefile.am18
-rw-r--r--testsuites/ada/mptests/mp12/Makefile.am3
-rw-r--r--testsuites/ada/mptests/mp12/node1/Makefile.am18
-rw-r--r--testsuites/ada/mptests/mp12/node2/Makefile.am18
-rw-r--r--testsuites/ada/mptests/mp13/Makefile.am3
-rw-r--r--testsuites/ada/mptests/mp13/node1/Makefile.am18
-rw-r--r--testsuites/ada/mptests/mp13/node2/Makefile.am18
-rw-r--r--testsuites/ada/mptests/mp14/Makefile.am3
-rw-r--r--testsuites/ada/mptests/mp14/node1/Makefile.am18
-rw-r--r--testsuites/ada/mptests/mp14/node2/Makefile.am18
-rw-r--r--testsuites/ada/samples/Makefile.am8
-rw-r--r--testsuites/ada/samples/base_mp/Makefile.am18
-rw-r--r--testsuites/ada/samples/base_mp/node1/Makefile.am19
-rw-r--r--testsuites/ada/samples/base_mp/node2/Makefile.am19
-rw-r--r--testsuites/ada/samples/base_sp/Makefile.am18
-rw-r--r--testsuites/ada/samples/hello/Makefile.am18
-rw-r--r--testsuites/ada/samples/nsecs/Makefile.am18
-rw-r--r--testsuites/ada/samples/ticker/Makefile.am18
-rw-r--r--testsuites/ada/sptests/Makefile.am27
-rw-r--r--testsuites/ada/sptests/sp01/Makefile.am15
-rw-r--r--testsuites/ada/sptests/sp02/Makefile.am15
-rw-r--r--testsuites/ada/sptests/sp03/Makefile.am15
-rw-r--r--testsuites/ada/sptests/sp04/Makefile.am15
-rw-r--r--testsuites/ada/sptests/sp05/Makefile.am15
-rw-r--r--testsuites/ada/sptests/sp06/Makefile.am15
-rw-r--r--testsuites/ada/sptests/sp07/Makefile.am16
-rw-r--r--testsuites/ada/sptests/sp08/Makefile.am15
-rw-r--r--testsuites/ada/sptests/sp09/Makefile.am20
-rw-r--r--testsuites/ada/sptests/sp11/Makefile.am15
-rw-r--r--testsuites/ada/sptests/sp12/Makefile.am15
-rw-r--r--testsuites/ada/sptests/sp13/Makefile.am15
-rw-r--r--testsuites/ada/sptests/sp14/Makefile.am15
-rw-r--r--testsuites/ada/sptests/sp15/Makefile.am15
-rw-r--r--testsuites/ada/sptests/sp16/Makefile.am15
-rw-r--r--testsuites/ada/sptests/sp17/Makefile.am15
-rw-r--r--testsuites/ada/sptests/sp19/Makefile.am19
-rw-r--r--testsuites/ada/sptests/sp20/Makefile.am15
-rw-r--r--testsuites/ada/sptests/sp22/Makefile.am15
-rw-r--r--testsuites/ada/sptests/sp23/Makefile.am15
-rw-r--r--testsuites/ada/sptests/sp24/Makefile.am15
-rw-r--r--testsuites/ada/sptests/sp25/Makefile.am15
-rw-r--r--testsuites/ada/sptests/spatcb01/Makefile.am15
-rw-r--r--testsuites/ada/sptests/spname01/Makefile.am17
-rw-r--r--testsuites/ada/support/Makefile.am1
-rw-r--r--testsuites/ada/tmtests/Makefile.am31
-rw-r--r--testsuites/ada/tmtests/tm01/Makefile.am12
-rw-r--r--testsuites/ada/tmtests/tm02/Makefile.am12
-rw-r--r--testsuites/ada/tmtests/tm03/Makefile.am12
-rw-r--r--testsuites/ada/tmtests/tm04/Makefile.am12
-rw-r--r--testsuites/ada/tmtests/tm05/Makefile.am12
-rw-r--r--testsuites/ada/tmtests/tm06/Makefile.am12
-rw-r--r--testsuites/ada/tmtests/tm07/Makefile.am12
-rw-r--r--testsuites/ada/tmtests/tm08/Makefile.am12
-rw-r--r--testsuites/ada/tmtests/tm09/Makefile.am12
-rw-r--r--testsuites/ada/tmtests/tm10/Makefile.am12
-rw-r--r--testsuites/ada/tmtests/tm11/Makefile.am12
-rw-r--r--testsuites/ada/tmtests/tm12/Makefile.am12
-rw-r--r--testsuites/ada/tmtests/tm13/Makefile.am12
-rw-r--r--testsuites/ada/tmtests/tm14/Makefile.am12
-rw-r--r--testsuites/ada/tmtests/tm15/Makefile.am12
-rw-r--r--testsuites/ada/tmtests/tm16/Makefile.am12
-rw-r--r--testsuites/ada/tmtests/tm17/Makefile.am12
-rw-r--r--testsuites/ada/tmtests/tm18/Makefile.am12
-rw-r--r--testsuites/ada/tmtests/tm19/Makefile.am12
-rw-r--r--testsuites/ada/tmtests/tm20/Makefile.am12
-rw-r--r--testsuites/ada/tmtests/tm21/Makefile.am12
-rw-r--r--testsuites/ada/tmtests/tm22/Makefile.am12
-rw-r--r--testsuites/ada/tmtests/tm23/Makefile.am12
-rw-r--r--testsuites/ada/tmtests/tm24/Makefile.am12
-rw-r--r--testsuites/ada/tmtests/tm25/Makefile.am12
-rw-r--r--testsuites/ada/tmtests/tm28/Makefile.am12
-rw-r--r--testsuites/ada/tmtests/tm29/Makefile.am12
-rw-r--r--testsuites/ada/tmtests/tmck/Makefile.am12
-rw-r--r--testsuites/automake/compile.am30
-rw-r--r--testsuites/automake/host.am5
-rw-r--r--testsuites/automake/leaf.am15
-rw-r--r--testsuites/automake/subdirs.am28
-rw-r--r--testsuites/benchmarks/Makefile.am46
-rw-r--r--testsuites/benchmarks/configure.ac31
-rw-r--r--testsuites/configure.ac66
-rw-r--r--testsuites/fstests/Makefile.am642
-rw-r--r--testsuites/fstests/configure.ac89
-rw-r--r--testsuites/fstests/fsimfsconfig01/init.c2
-rw-r--r--testsuites/fstests/fsimfsconfig03/init.c2
-rw-r--r--testsuites/libtests/Makefile.am1499
-rw-r--r--testsuites/libtests/POSIX/calloc.c4
-rw-r--r--testsuites/libtests/configure.ac240
-rw-r--r--testsuites/libtests/malloc04/init.c37
-rw-r--r--testsuites/libtests/malloctest/task1.c2
-rw-r--r--testsuites/libtests/stackchk/task1.c2
-rw-r--r--testsuites/mptests/Makefile.am246
-rw-r--r--testsuites/mptests/configure.ac47
-rw-r--r--testsuites/mptests/mp01/Makefile.am3
-rw-r--r--testsuites/mptests/mp01/task1.c2
-rw-r--r--testsuites/mptests/mp03/Makefile.am3
-rw-r--r--testsuites/mptests/mp03/task1.c2
-rw-r--r--testsuites/mptests/mp04/Makefile.am3
-rw-r--r--testsuites/mptests/mp04/task1.c2
-rw-r--r--testsuites/mptests/mp05/Makefile.am3
-rw-r--r--testsuites/mptests/mp06/Makefile.am3
-rw-r--r--testsuites/mptests/mp07/Makefile.am3
-rw-r--r--testsuites/mptests/mp08/Makefile.am3
-rw-r--r--testsuites/mptests/mp09/Makefile.am3
-rw-r--r--testsuites/mptests/mp10/Makefile.am3
-rw-r--r--testsuites/mptests/mp11/Makefile.am3
-rw-r--r--testsuites/mptests/mp12/Makefile.am3
-rw-r--r--testsuites/mptests/mp13/Makefile.am3
-rw-r--r--testsuites/mptests/mp14/Makefile.am3
-rwxr-xr-xtestsuites/psxtests/Makefile.am1991
-rw-r--r--testsuites/psxtests/configure.ac158
-rw-r--r--testsuites/psxtests/psx05/init.c43
-rw-r--r--testsuites/psxtests/psxdevctl01/test.c69
-rw-r--r--testsuites/psxtests/psxsignal09/init.c73
-rw-r--r--testsuites/psxtests/psxsignal09/psxsignal09.doc7
-rw-r--r--testsuites/psxtests/psxsignal09/psxsignal09.scn3
-rw-r--r--testsuites/psxtests/psxsignal09/system.h55
-rw-r--r--testsuites/psxtmtests/Makefile.am582
-rw-r--r--testsuites/psxtmtests/configure.ac91
-rw-r--r--testsuites/rhealstone/Makefile.am70
-rw-r--r--testsuites/rhealstone/configure.ac35
-rw-r--r--testsuites/samples/Makefile.am136
-rw-r--r--testsuites/samples/base_mp/apptask.c2
-rw-r--r--testsuites/samples/base_sp/apptask.c2
-rw-r--r--testsuites/samples/configure.ac56
-rw-r--r--testsuites/samples/ticker/tasks.c2
-rw-r--r--testsuites/smptests/Makefile.am673
-rw-r--r--testsuites/smptests/configure.ac97
-rw-r--r--testsuites/smptests/smp08/tasks.c2
-rw-r--r--testsuites/smptests/smpaffinity01/init.c2
-rw-r--r--testsuites/smptests/smpfatal08/init.c2
-rw-r--r--testsuites/smptests/smpmulticast01/init.c1
-rw-r--r--testsuites/smptests/smpscheduler02/init.c2
-rw-r--r--testsuites/sptests/Makefile.am1943
-rw-r--r--testsuites/sptests/configure.ac253
-rw-r--r--testsuites/sptests/sp19/first.c2
-rw-r--r--testsuites/sptests/sp19/fptask.c2
-rw-r--r--testsuites/sptests/sp19/task1.c2
-rw-r--r--testsuites/sptests/sp24/task1.c2
-rw-r--r--testsuites/sptests/sp30/task1.c2
-rw-r--r--testsuites/sptests/sp42/init.c2
-rw-r--r--testsuites/sptests/sp69/init.c25
-rw-r--r--testsuites/sptests/sp76/init.c2
-rw-r--r--testsuites/sptests/spcbssched01/task1.c2
-rw-r--r--testsuites/sptests/spchain/init.c8
-rw-r--r--testsuites/sptests/spedfsched01/task1.c2
-rw-r--r--testsuites/sptests/spfatal35/init.c89
-rw-r--r--testsuites/sptests/spfatal35/spfatal35.doc7
-rw-r--r--testsuites/sptests/spfatal35/spfatal35.scn2
-rw-r--r--testsuites/sptests/spintrcritical08/init.c13
-rw-r--r--testsuites/sptests/spintrcritical09/init.c2
-rw-r--r--testsuites/sptests/spintrcritical10/init.c9
-rw-r--r--testsuites/sptests/spintrcritical22/init.c2
-rw-r--r--testsuites/sptests/spsimplesched01/init.c2
-rw-r--r--testsuites/sptests/spsimplesched02/init.c2
-rw-r--r--testsuites/sptests/spstkalloc03/init.c103
-rw-r--r--testsuites/sptests/spstkalloc03/spstkalloc03.doc19
-rw-r--r--testsuites/sptests/spstkalloc03/spstkalloc03.scn2
-rw-r--r--testsuites/sptests/spstkalloc04/init.c82
-rw-r--r--testsuites/sptests/spstkalloc04/spstkalloc04.doc20
-rw-r--r--testsuites/sptests/spstkalloc04/spstkalloc04.scn2
-rw-r--r--testsuites/sptests/sptask_err04/task1.c4
-rw-r--r--testsuites/sptests/sptimecounter01/init.c12
-rw-r--r--testsuites/tmtests/Makefile.am386
-rw-r--r--testsuites/tmtests/configure.ac70
-rwxr-xr-xwscript61
1209 files changed, 15858 insertions, 43047 deletions
diff --git a/Makefile.am b/Makefile.am
deleted file mode 100644
index 5e9489db28..0000000000
--- a/Makefile.am
+++ /dev/null
@@ -1,55 +0,0 @@
-#
-# top level directory for RTEMS build tree
-#
-
-ACLOCAL_AMFLAGS = -I aclocal
-
-SUBDIRS = $(build_SUBDIRS) $(host_SUBDIRS) $(target_SUBDIRS)
-DIST_SUBDIRS = $(SUBDIRS)
-
-noinst_SCRIPTS = bootstrap
-
-
-dist-hook:
- @files=`(cd $(srcdir); find cpukit c testsuites \
- -name configure.ac -print | sed 's,/configure.ac,,' | sort)`; \
- for i in $$files; do \
- if test -f $(distdir)/$$i/configure.ac; then : ; \
- else \
- d=`dirname $(distdir)/$$i`; \
- $(MKDIR_P) $$d;\
- echo "cp -pR $(srcdir)/$$i $(distdir)/$$i"; \
- cp -pR $(srcdir)/$$i $(distdir)/$$i; \
- fi; \
- done
- rm -rf `find $(distdir) -name 'autom4te*'`
- rm -rf `find $(distdir) -name CVS`
- rm -f `find $(distdir) \( -name .cvsignore \
- -o -name config.status \
- -o -name config.log \)`
- rm -f `find $(distdir) \( -name '*.bak' \
- -o -name 'changes' -o -name 'diff' -o -name 'tmp' -o -name 'log' \
- -o -name '*~' -o -name '.*~' -o -name '.#*' \)`
- find $(distdir) -name '*.in' -print | while read a; do \
- f=`echo $$a | sed 's,\.in$$,,'`; \
- if test -f $$f; then echo "rm $$f"; rm $$f; fi; done
-
-rtems_makedir = $(prefix)/make
-
-dist_rtems_make_DATA =
-dist_rtems_make_DATA += make/main.cfg
-dist_rtems_make_DATA += make/leaf.cfg
-
-rtems_make_Templatesdir = $(pkgdatadir)/make/Templates
-
-dist_rtems_make_Templates_DATA =
-dist_rtems_make_Templates_DATA += make/Templates/Makefile.dir
-dist_rtems_make_Templates_DATA += make/Templates/Makefile.leaf
-dist_rtems_make_Templates_DATA += make/Templates/Makefile.lib
-
-rtems_make_customdir = $(rtems_makedir)/custom
-
-dist_rtems_make_custom_DATA = make/custom/default.cfg
-
-include $(top_srcdir)/automake/subdirs.am
-include $(top_srcdir)/automake/host.am
diff --git a/acinclude.m4 b/acinclude.m4
deleted file mode 100644
index 896710b409..0000000000
--- a/acinclude.m4
+++ /dev/null
@@ -1,399 +0,0 @@
-## All directories belong in one of 3 categories.
-## ${HOST_CONFIGDIRS_LIST} is directories we build using the host tools.
-## ${TARGET_CONFIGDIRS_LIST} is directories we build using the target tools.
-## ${BUILD_CONFIGDIRS_LIST} is directories we build using the build tools
-
-AC_PREREQ(2.60)
-
-dnl RTEMS_ARG_VAR(VAR,HELP-STRING)
-dnl An internal macros to have help strings pretty
-dnl printed with configure --help, without letting autoconf spoil config subdir
-dnl environments by trying to propagate them
-dnl Stripped down version of autoconf-2.52's AC_ARG_VAR.
-
-AC_DEFUN([_RTEMS_ARG_VAR],
-[
-m4_expand_once([m4_divert_once([HELP_VAR],
-[AS_HELP_STRING([$1], [$2], [ ])])],
- [$0($1)])dnl
-])
-
-AC_DEFUN([_RTEMS_SUBST_IFNOT],
-[AS_IF([`echo " [$]$1 " | grep " $2 " > /dev/null`],
- [],
- [AC_SUBST([$1],["[$]$1 $2"])])
-])
-
-AC_DEFUN([_RTEMS_TOOLS],
-[
-m4_ifdef([_RTEMS_$2_CONFIGDIRS_LIST],
-[
-_RTEMS_ARG_VAR([CC_FOR_$2],
- [c-compiler to be used for $1 subdirs (default: auto-detected)])
-_RTEMS_ARG_VAR([CFLAGS_FOR_$2],
- [c-flags to be used for $1 subdirs (default: provided by autoconf)])
-_RTEMS_ARG_VAR([CXX_FOR_$2],
- [c++-compiler to be used for $1 subdirs (default: auto-detected)])
-_RTEMS_ARG_VAR([CXXFLAGS_FOR_$2],
- [c++-flags to be used for $1 subdirs (default: provided by autoconf)])
-])
-])
-
-AC_DEFUN([_RTEMS_COMMANDS_POST_CONFIG_SUBDIRS],
-[
-AC_CONFIG_COMMANDS_PRE([
-
-if test -z "${build_alias}"; then
-# build_alias is empty
- if test -z "${host_alias}"; then
- # host_alias is empty
- if test -z "${target_alias}"; then
- : target_alias is empty
- else
- : target_alias is not empty
- fi
- else
- # host_alias is not empty
- if test -z "${target_alias}"; then
- : target_alias is empty
- target_alias="${host_alias}"
- else
- : target_alias is not empty
- fi
- fi
-else
-# build_alias is not empty
- if test -z "${host_alias}"; then
- # host_alias is empty
- if test -z "${target_alias}"; then
- : target_alias is empty
- else
- : target_alias is not empty
- fi
- else
- # host_alias is not empty
- if test -z "${target_alias}"; then
- : target_alias is empty
- target_alias="${host_alias}"
- else
- : target_alias is not empty
- fi
- fi
-fi
-
-_RTEMS_BUILD_CONFIG_PREPARE
-_RTEMS_HOST_CONFIG_PREPARE
-_RTEMS_TARGET_CONFIG_PREPARE
-
-build_subdir="."
-build_SUBDIRS="${build_configdirs}"
-build_configdirs="${build_configdirs}"
-
-AS_IF([test $build != $host],
-[dnl
- host_subdir="${host_alias-$host}"
- host_SUBDIRS=`echo "${host_configdirs}" | \
- sed -e "s%\([[^ ]][[^ ]]*\)%$host_subdir/\1%g"`
- host_configdirs="${host_configdirs}"
-],[dnl
- host_SUBDIRS="${host_configdirs}"
- host_configdirs="${host_configdirs}"
-])
-
-AS_IF([test $build != $target],
-[dnl
- target_subdir="${target_alias-$target}"
- target_SUBDIRS=`echo "${target_configdirs}" | \
- sed -e "s%\([[^ ]][[^ ]]*\)%$target_subdir/\1%g"`
- target_configdirs="${target_configdirs}"
-],[dnl
- target_SUBDIRS="${target_configdirs}"
- target_configdirs="${target_configdirs}"
-])
-
-AC_SUBST(host_SUBDIRS)
-AC_SUBST(target_SUBDIRS)
-AC_SUBST(build_SUBDIRS)
-])
-
- AC_CONFIG_COMMANDS_POST([
- _RTEMS_OUTPUT_SUBDIRS([build],[BUILD])
- _RTEMS_OUTPUT_SUBDIRS([host],[HOST])
- _RTEMS_OUTPUT_SUBDIRS([target],[TARGET])
- ])
-])
-
-dnl _RTEMS_SRCPATHS(BUILD-DIR-NAME)
-dnl ----------------------------
-dnl Inputs:
-dnl - BUILD-DIR-NAME is `top-build -> build' and `top-src -> src'
-dnl - `$srcdir' is `top-build -> top-src'
-dnl
-dnl Outputs:
-dnl - `ac_builddir' is `.', for symmetry only.
-dnl - `ac_top_builddir' is `build -> top_build'.
-dnl If not empty, has a trailing slash.
-dnl - `ac_srcdir' is `build -> src'.
-dnl - `ac_top_srcdir' is `build -> top-src'.
-dnl
-dnl and `ac_buildpath' etc., the absolute paths.
-m4_define([_RTEMS_SRCPATHS],
-[
-m4_if([$2],,
-[dstdir=$1],
-[case "$2" in
-"." | "" ) # No subdir was given
- dstdir=$1;;
-* ) # A subdir was given
- dstdir=$2/$1;;
-esac])
-ac_builddir=.
-
-AS_IF([test $dstdir != .],
-[ # Strip off leading ./
- ac_builddir_suffix=/`echo $dstdir | sed 's,^\.[[\\/]],,'`
- ac_srcdir_suffix=/`echo $1 | sed 's,^\.[[\\/]],,'`
- # A "../" for each directory in $ac_dir_suffix.
- ac_top_builddir=`echo "$ac_builddir_suffix" | sed 's,/[[^\\/]]*,../,g'`
-],[
- ac_dir_suffix= ac_top_builddir=
-])
-
-case $srcdir in
- .) # No --srcdir option. We are building in place.
- ac_srcdir=.
- if test -z "$ac_top_builddir"; then
- ac_top_srcdir=.
- else
- ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
- fi ;;
- [[\\/]]* | ?:[[\\/]]* ) # Absolute path.
- ac_srcdir=$srcdir$ac_srcdir_suffix;
- ac_top_srcdir=$srcdir;
- ;;
- *) # Relative path.
- ac_srcdir=$ac_top_builddir$srcdir$ac_srcdir_suffix;
- ac_top_srcdir=$ac_top_builddir$srcdir;
- ;;
-esac
-dnl Don't blindly perform a `cd $1/$ac_foo && pwd` since $ac_foo can be
-dnl absolute.
-
-ac_buildpath=`cd $dstdir && cd $ac_builddir && pwd`
-ac_top_buildpath=`cd $dstdir && cd $ac_top_builddir && pwd`
-ac_srcpath=`cd $dstdir && cd $ac_srcdir && pwd`
-ac_top_srcpath=`cd $dstdir && cd $ac_top_srcdir && pwd`
-])# _AC_SRCPATHS
-
-dnl _RTEMS_OUTPUT_SUBDIRS([host|target|build],[HOST|TARGET|BUILD])
-AC_DEFUN([_RTEMS_OUTPUT_SUBDIRS],[
-m4_ifdef([_RTEMS_$2_CONFIGDIRS_LIST],
-[
-if test "$no_recursion" != yes; then
-
- if test -n "${$1_SUBDIRS}"; then
- ac_sub_configure_args="[$]$1args"
-
- # Always prepend --prefix to ensure using the same prefix
- # in subdir configurations.
- ac_sub_configure_args="'--prefix=$prefix' $ac_sub_configure_args"
-
- # make sure that $1_subdir is not empty
- test -n "$$1_subdir" || $1_subdir="."
-
- case "$$1_subdir" in
- "." ) ;;
- * )
- ac_sub_configure_args="$ac_sub_configure_args '--with-target-subdir=$$1_subdir'"
- ac_sub_configure_args="$ac_sub_configure_args '--exec-prefix=${prefix}/$$1_subdir'"
- ac_sub_configure_args="$ac_sub_configure_args '--includedir=${prefix}/$$1_subdir/include'"
- ;;
- esac
-
- ac_popdir=`pwd`
- for ac_dir in : $$1_configdirs; do test "x$ac_dir" = x: && continue
-
- # Do not complain, so a configure script can configure whichever
- # parts of a large source tree are present.
- test -d $srcdir/$ac_dir || continue
-
- AC_MSG_NOTICE([configuring in $$1_subdir/$ac_dir])
- AS_MKDIR_P(["$$1_subdir/$ac_dir"])
- _RTEMS_SRCPATHS(["$ac_dir"],["$$1_subdir"])
-
- cd $$1_subdir/$ac_dir
-
- # Check for guested configure; otherwise get Cygnus style configure.
- if test -f $ac_srcdir/configure.gnu; then
- ac_sub_configure="$SHELL '$ac_srcdir/configure.gnu'"
- elif test -f $ac_srcdir/configure; then
- ac_sub_configure="$SHELL '$ac_srcdir/configure'"
- elif test -f $ac_srcdir/configure.in; then
- ac_sub_configure=$ac_configure
- else
- AC_MSG_WARN([no configuration information is in $ac_dir])
- ac_sub_configure=
- fi
-
- # The recursion is here.
- if test -n "$ac_sub_configure"; then
- # Make the cache file name correct relative to the subdirectory.
- case $cache_file in
- [[\\/]]* | ?:[[\\/]]* ) ac_sub_cache_file=$cache_file ;;
- *) # Relative path.
- ac_sub_cache_file=$ac_top_builddir$cache_file ;;
- esac
-
- ac_sub_configure_vars=
- ac_sub_configure_vars="$ac_sub_configure_vars '--cache-file=$ac_sub_cache_file'"
- ac_sub_configure_vars="$ac_sub_configure_vars '--srcdir=$ac_srcdir'"
-
- test -n "[$]CC_FOR_$2" && \
- ac_sub_configure_vars="$ac_sub_configure_vars 'CC=[$]CC_FOR_$2'"
- test -n "[$]CXX_FOR_$2" && \
- ac_sub_configure_vars="$ac_sub_configure_vars 'CXX=[$]CXX_FOR_$2'"
- test -n "[$]CFLAGS_FOR_$2" && \
- ac_sub_configure_vars="$ac_sub_configure_vars 'CFLAGS=[$]CFLAGS_FOR_$2'"
- test -n "[$]CXXFLAGS_FOR_$2" && \
- ac_sub_configure_vars="$ac_sub_configure_vars 'CXXFLAGS=[$]CXXFLAGS_FOR_$2'"
-
- # The eval makes quoting arguments work.
- AC_MSG_NOTICE([running $ac_sub_configure $ac_sub_configure_args $ac_sub_configure_vars])
- eval $ac_sub_configure $ac_sub_configure_args $ac_sub_configure_vars ||
- AC_MSG_ERROR([$ac_sub_configure failed for $ac_dir])
- fi
-
- cd "$ac_popdir"
- done
- fi
-fi
-])
-])
-
-AC_DEFUN([_RTEMS_CONFIGURE_ARGS_PRUNE],
-[
-$1_prune()
-{
- $1=
- for ac_arg
- do
- if test -n "$ac_prev"; then
- ac_prev=
- continue
- fi
- case $ac_arg in
- -cache-file | --cache-file | --cache-fil | --cache-fi \
- | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
- ac_prev=cache_file ;;
- -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
- | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
- | --c=*)
- ;;
- --config-cache | -C)
- ;;
-
- -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
- ac_prev=srcdir ;;
- -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
- ;;
-
- -host* | --host* );;
- -host | --host )
- ac_prev=host_alias;;
- -target* | --target* );;
- -target | --target )
- ac_prev=target_alias;;
- -build* | --build* );;
- -build | --build )
- ac_prev=build_alias;;
-
- -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
- ac_prev=prefix ;;
- -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
- ;;
-
- *_alias=* );;
-
- m4_if([$2],,,[$2])
- *) $1="$$1 '$ac_arg'" ;;
- esac
- done
- export $1
-}
-])
-
-## PUBLIC: RTEMS_BUILD_CONFIG_SUBDIRS(build_subdir)
-# subdirs to be built for the build environment
-AC_DEFUN([RTEMS_BUILD_CONFIG_SUBDIRS],[
-m4_append([_RTEMS_BUILD_CONFIGDIRS_LIST],[ $1])
-dnl Always append to build_configdirs
-AC_SUBST(build_configdirs,"$build_configdirs $1")
-
-m4_divert_text([DEFAULTS],
- [ac_subdirs_all="$ac_subdirs_all m4_normalize([$1])"])
-m4_expand_once([_RTEMS_COMMANDS_POST_CONFIG_SUBDIRS])
-])
-
-AC_DEFUN([_RTEMS_BUILD_CONFIG_PREPARE],[
-## # Record the configure arguments in Makefile.
-m4_ifdef([_RTEMS_BUILD_CONFIGDIRS_LIST],
-[
-m4_expand_once([_RTEMS_TOOLS([build],[BUILD])])
-m4_expand_once([_RTEMS_CONFIGURE_ARGS_PRUNE([buildargs])])
-eval buildargs_prune $ac_configure_args
-buildargs="'--host=${build_alias-$build}' '--build=${build_alias-$build}' ${buildargs}"
-buildargs="${buildargs} '--target=${target_alias-$target}'"
-],[])
-AC_SUBST(buildargs)
-AC_SUBST(build_subdir)
-])
-
-## PUBLIC: RTEMS_HOST_CONFIG_SUBDIRS(host_subdir)
-# subdirs to be build for the host environment
-AC_DEFUN([RTEMS_HOST_CONFIG_SUBDIRS],[
-m4_append([_RTEMS_HOST_CONFIGDIRS_LIST],[ $1])dnl
-
-_RTEMS_SUBST_IFNOT([host_configdirs],[$1])
-
-m4_divert_text([DEFAULTS],
- [ac_subdirs_all="$ac_subdirs_all m4_normalize([$1])"])
-m4_expand_once([_RTEMS_COMMANDS_POST_CONFIG_SUBDIRS])
-])
-
-AC_DEFUN([_RTEMS_HOST_CONFIG_PREPARE],[
-m4_ifdef([_RTEMS_HOST_CONFIGDIRS_LIST],
-[
-m4_expand_once([_RTEMS_TOOLS([host],[HOST])])
-m4_expand_once([_RTEMS_CONFIGURE_ARGS_PRUNE([hostargs])])
-eval hostargs_prune $ac_configure_args
-hostargs="'--host=${host_alias-$host}' '--build=${build_alias-$build}' '--target=${target_alias-$target}' ${hostargs}"
-],[])
-AC_SUBST(hostargs)
-AC_SUBST(host_subdir)
-])
-
-## PUBLIC: RTEMS_TARGET_CONFIG_SUBDIRS(target_subdir)
-# subdirs to be build for the target environment
-AC_DEFUN([RTEMS_TARGET_CONFIG_SUBDIRS],[
-AS_IF([test -d ${srcdir}/$1],[
-m4_append([_RTEMS_TARGET_CONFIGDIRS_LIST],[ $1])
-
-_RTEMS_SUBST_IFNOT([target_configdirs],[$1])
-
-m4_divert_text([DEFAULTS],
- [ac_subdirs_all="$ac_subdirs_all m4_normalize([$1])"])
-m4_expand_once([_RTEMS_COMMANDS_POST_CONFIG_SUBDIRS])
- ])
-])
-
-AC_DEFUN([_RTEMS_TARGET_CONFIG_PREPARE],[
-m4_ifdef([_RTEMS_TARGET_CONFIGDIRS_LIST],
-[
-m4_expand_once([_RTEMS_TOOLS([target],[TARGET])])
-m4_expand_once([_RTEMS_CONFIGURE_ARGS_PRUNE([targetargs])])
-eval targetargs_prune $ac_configure_args
-targetargs="'--host=${target_alias-$target}' '--build=${build_alias-$build}' '--target=${target_alias-$target}' ${targetargs}"
-],[])
-AC_SUBST(targetargs)
-AC_SUBST(target_subdir)
-])
diff --git a/aclocal/bsp-alias.m4 b/aclocal/bsp-alias.m4
deleted file mode 100644
index 77d8205aba..0000000000
--- a/aclocal/bsp-alias.m4
+++ /dev/null
@@ -1,20 +0,0 @@
-dnl _RTEMS_BSP_ALIAS(BSP_ALIAS,RTEMS_BSP_FAMILY)
-dnl Internal subroutine to RTEMS_BSP_ALIAS
-AC_DEFUN([_RTEMS_BSP_ALIAS],[
-AC_REQUIRE([RTEMS_CANONICAL_TARGET_CPU])
-AC_REQUIRE([RTEMS_SOURCE_TOP])
-# account for "aliased" bsps which share source code
- for bsp_cfgs in `ls "${RTEMS_SOURCE_ROOT}/bsps/${RTEMS_CPU}"/*/"config/$1.cfg" 2>/dev/null`; do
- $2=`echo "$bsp_cfgs" | sed \
- -e "s,^${RTEMS_SOURCE_ROOT}/bsps/$RTEMS_CPU/,," \
- -e "s,/config/.*\.cfg$,,"`
- break
- done
-])
-
-dnl RTEMS_BSP_ALIAS(BSP_ALIAS,RTEMS_BSP_FAMILY)
-dnl convert a bsp alias $1 into its bsp directory RTEMS_BSP_FAMILY
-AC_DEFUN([RTEMS_BSP_ALIAS],
-[_RTEMS_BSP_ALIAS(m4_if([$1],,[$RTEMS_BSP],[$1]),
- m4_if([$2],,[RTEMS_BSP_FAMILY],[$2]))]
-)
diff --git a/aclocal/canonical-target-name.m4 b/aclocal/canonical-target-name.m4
deleted file mode 100644
index bcebf3a192..0000000000
--- a/aclocal/canonical-target-name.m4
+++ /dev/null
@@ -1,24 +0,0 @@
-dnl canonicalize target cpu
-dnl NOTE: Most rtems targets do not fulfil autoconf's
-dnl target naming conventions "processor-vendor-os"
-dnl Therefore autoconf's AC_CANONICAL_TARGET will fail for them
-dnl and we have to fix it for rtems ourselves
-
-AC_DEFUN([RTEMS_CANONICAL_TARGET_CPU],
-[
-AC_CANONICAL_TARGET
-AC_MSG_CHECKING(rtems target cpu)
-case "${target}" in
- no_cpu-*rtems*)
- RTEMS_CPU=no_cpu
- ;;
- riscv*-*rtems*)
- RTEMS_CPU=riscv
- ;;
- *)
- RTEMS_CPU=`echo $target | sed 's%^\([[^-]]*\)-\(.*\)$%\1%'`
- ;;
-esac
-AC_SUBST(RTEMS_CPU)
-AC_MSG_RESULT($RTEMS_CPU)
-])
diff --git a/aclocal/check-bsps.m4 b/aclocal/check-bsps.m4
deleted file mode 100644
index 610ae40f16..0000000000
--- a/aclocal/check-bsps.m4
+++ /dev/null
@@ -1,25 +0,0 @@
-dnl Report all available bsps for a target within the source tree
-dnl
-dnl RTEMS_CHECK_BSPS(bsp_list)
-AC_DEFUN([RTEMS_CHECK_BSPS],
-[
-AC_REQUIRE([RTEMS_CANONICAL_TARGET_CPU])dnl sets RTEMS_CPU, target
-AC_REQUIRE([RTEMS_SOURCE_TOP])dnl sets RTEMS_SOURCE_ROOT
-
-AC_MSG_CHECKING([for available BSPs])
- $1=
- for bsp_make in `echo "${RTEMS_SOURCE_ROOT}/bsps/${RTEMS_CPU}"/*/config 2>/dev/null`; do
- bsp_family=`echo "$bsp_make" | sed \
- -e "s,^${RTEMS_SOURCE_ROOT}/bsps/${RTEMS_CPU}/,," \
- -e "s,/config$,,"`
- for bsp_cfgs in `ls "${RTEMS_SOURCE_ROOT}/bsps/${RTEMS_CPU}/$bsp_family/config/"*.cfg 2>/dev/null`; do
- bsp_cfg=`echo "$bsp_cfgs" | sed \
- -e "s,^${RTEMS_SOURCE_ROOT}/bsps/${RTEMS_CPU}/$bsp_family/config/,," \
- -e "s,\.cfg$,,"`
- $1="[$]$1 $bsp_cfg"
- done
- done
- AS_IF([test -z "[$]$1"],
- [AC_MSG_RESULT([none])],
- [AC_MSG_RESULT([$]$1)])
-])dnl
diff --git a/aclocal/check-custom-bsp.m4 b/aclocal/check-custom-bsp.m4
deleted file mode 100644
index 11c2f1f7d2..0000000000
--- a/aclocal/check-custom-bsp.m4
+++ /dev/null
@@ -1,20 +0,0 @@
-AC_DEFUN([_RTEMS_CHECK_CUSTOM_BSP],[
-AC_REQUIRE([RTEMS_CANONICAL_TARGET_CPU])dnl sets RTEMS_CPU, target
-AC_REQUIRE([RTEMS_SOURCE_TOP])dnl sets RTEMS_SOURCE_ROOT
- $2=
- for i in \
- `ls "${RTEMS_SOURCE_ROOT}/bsps/${RTEMS_CPU}"/*/config/$1 2>/dev/null`;
- do
- AS_IF([test -r $i],[
- $2="$i"
- break;
- ])
- done
-])
-
-AC_DEFUN([RTEMS_CHECK_CUSTOM_BSP],[
- _RTEMS_CHECK_CUSTOM_BSP([[$]$1.cfg],[BSP_FOUND])
- AS_IF([test -z "$BSP_FOUND"],[
- AC_MSG_ERROR([missing [$]$1.cfg])
- ])
-])
diff --git a/aclocal/check-tool.m4 b/aclocal/check-tool.m4
deleted file mode 100644
index 210b1c06d2..0000000000
--- a/aclocal/check-tool.m4
+++ /dev/null
@@ -1,9 +0,0 @@
-## Check for a cross tool, similar to AC_CHECK_TOOL, but do not fall back to
-## the un-prefixed version of PROG-TO-CHECK-FOR.
-dnl RTEMS_CHECK_TOOL(VARIABLE, PROG-TO-CHECK-FOR[, VALUE-IF-NOT-FOUND [, PATH]])
-AC_DEFUN([RTEMS_CHECK_TOOL],
-[
- AS_IF([test "x$target_alias" != "x$host_alias"],
- [rtems_tool_prefix=$target_alias-])
- AC_CHECK_PROG($1, ${rtems_tool_prefix}$2, ${rtems_tool_prefix}$2, $3, $4)
-])
diff --git a/aclocal/enable-cxx.m4 b/aclocal/enable-cxx.m4
deleted file mode 100644
index 952f0151a8..0000000000
--- a/aclocal/enable-cxx.m4
+++ /dev/null
@@ -1,11 +0,0 @@
-AC_DEFUN([RTEMS_ENABLE_CXX],
-[
-AC_ARG_ENABLE(cxx,
-[AS_HELP_STRING([--enable-cxx],
-[enable C++ support])],
-[case "${enable_cxx}" in
- yes) RTEMS_HAS_CPLUSPLUS=yes ;;
- no) RTEMS_HAS_CPLUSPLUS=no ;;
- *) AC_MSG_ERROR(bad value ${enableval} for enable-cxx option) ;;
-esac], [RTEMS_HAS_CPLUSPLUS=yes])
-])
diff --git a/aclocal/enable-drvmgr.m4 b/aclocal/enable-drvmgr.m4
deleted file mode 100644
index 489f60e75f..0000000000
--- a/aclocal/enable-drvmgr.m4
+++ /dev/null
@@ -1,12 +0,0 @@
-AC_DEFUN([RTEMS_ENABLE_DRVMGR],
-[
-## AC_BEFORE([$0], [RTEMS_CHECK_DRVMGR_STARTUP])dnl
-
-AC_ARG_ENABLE(drvmgr,
-[AS_HELP_STRING([--enable-drvmgr],[enable Driver Manager at Startup])],
-[case "${enableval}" in
- yes) RTEMS_DRVMGR_STARTUP=yes ;;
- no) RTEMS_DRVMGR_STARTUP=no ;;
- *) AC_MSG_ERROR(bad value ${enableval} for enable-drvmgr option) ;;
-esac],[RTEMS_DRVMGR_STARTUP=yes])
-])
diff --git a/aclocal/enable-multiprocessing.m4 b/aclocal/enable-multiprocessing.m4
deleted file mode 100644
index 6f8843d1f6..0000000000
--- a/aclocal/enable-multiprocessing.m4
+++ /dev/null
@@ -1,14 +0,0 @@
-AC_DEFUN([RTEMS_ENABLE_MULTIPROCESSING],
-[
-AC_ARG_ENABLE(multiprocessing,
-[AS_HELP_STRING([--enable-multiprocessing],
-[enable multiprocessing interface; the multiprocessing interface is a
-communication interface between different RTEMS instances and allows
-synchronization of objects via message passing])],
-[case "${enable_multiprocessing}" in
- yes) test -z $enable_rtemsbsp && AC_MSG_ERROR([Multiprocessing requires BSPs to be provided, none have, see --enable-rtemsbsp])
- ;;
- no) ;;
- *) AC_MSG_ERROR(bad value ${enableval} for enable-multiprocessing option) ;;
-esac],[enable_multiprocessing=no])
-])
diff --git a/aclocal/enable-networking.m4 b/aclocal/enable-networking.m4
deleted file mode 100644
index 7cede53fce..0000000000
--- a/aclocal/enable-networking.m4
+++ /dev/null
@@ -1,13 +0,0 @@
-AC_DEFUN([RTEMS_ENABLE_NETWORKING],
-[
-## AC_BEFORE([$0], [RTEMS_CHECK_NETWORKING])dnl
-
-AC_ARG_ENABLE(networking,
-[AS_HELP_STRING([--enable-networking],[enable TCP/IP stack])],
-[case "${enableval}" in
- yes) RTEMS_HAS_NETWORKING=yes ;;
- no) RTEMS_HAS_NETWORKING=no ;;
- *) AC_MSG_ERROR(bad value ${enableval} for enable-networking option) ;;
-esac],[RTEMS_HAS_NETWORKING=yes])
-AC_SUBST(RTEMS_HAS_NETWORKING)dnl
-])
diff --git a/aclocal/enable-paravirt.m4 b/aclocal/enable-paravirt.m4
deleted file mode 100644
index b3ef97edad..0000000000
--- a/aclocal/enable-paravirt.m4
+++ /dev/null
@@ -1,13 +0,0 @@
-AC_DEFUN([RTEMS_ENABLE_PARAVIRT],
-[
-
-AC_ARG_ENABLE(paravirt,
-[AS_HELP_STRING([--enable-paravirt],[enable support for paravirtualization
-(default=no)])],
-
-[case "${enableval}" in
- yes) RTEMS_HAS_PARAVIRT=yes ;;
- no) RTEMS_HAS_PARAVIRT=no ;;
- *) AC_MSG_ERROR(bad value ${enableval} for enable-paravirt option) ;;
-esac],[RTEMS_HAS_PARAVIRT=no])
-])
diff --git a/aclocal/enable-posix.m4 b/aclocal/enable-posix.m4
deleted file mode 100644
index 272704c43e..0000000000
--- a/aclocal/enable-posix.m4
+++ /dev/null
@@ -1,21 +0,0 @@
-AC_DEFUN([RTEMS_ENABLE_POSIX],
-[
-## AC_BEFORE([$0], [RTEMS_CHECK_POSIX_API])dnl
-
-AC_ARG_ENABLE(posix,
-[AS_HELP_STRING([--enable-posix],[enable posix interface])],
-[case "${enableval}" in
- yes) RTEMS_HAS_POSIX_API=yes ;;
- no) RTEMS_HAS_POSIX_API=no ;;
- *) AC_MSG_ERROR(bad value ${enableval} for enable-posix option) ;;
-esac],[RTEMS_HAS_POSIX_API=yes])
-
-case "${host}" in
- no_cpu-*rtems*)
- RTEMS_HAS_POSIX_API=no
- ;;
- *)
- ;;
-esac
-AC_SUBST(RTEMS_HAS_POSIX_API)
-])
diff --git a/aclocal/enable-rtems-debug.m4 b/aclocal/enable-rtems-debug.m4
deleted file mode 100644
index 18bb67f284..0000000000
--- a/aclocal/enable-rtems-debug.m4
+++ /dev/null
@@ -1,10 +0,0 @@
-AC_DEFUN([RTEMS_ENABLE_RTEMS_DEBUG],
-[
-AC_ARG_ENABLE(rtems-debug,
-AS_HELP_STRING([--enable-rtems-debug],[enable RTEMS_DEBUG]),
-[case "${enable_rtems_debug}" in
- yes) enable_rtems_debug=yes ;;
- no) enable_rtems_debug=no ;;
- *) AC_MSG_ERROR([bad value ${enable_rtems_debug} for RTEMS_DEBUG]) ;;
-esac],[enable_rtems_debug=no])
-])
diff --git a/aclocal/enable-rtemsbsp.m4 b/aclocal/enable-rtemsbsp.m4
deleted file mode 100644
index f0b391bbb8..0000000000
--- a/aclocal/enable-rtemsbsp.m4
+++ /dev/null
@@ -1,54 +0,0 @@
-dnl Override the set of BSPs to be built.
-dnl used by the toplevel configure script
-dnl RTEMS_ENABLE_RTEMSBSP(rtems_bsp_list)
-AC_DEFUN([RTEMS_ENABLE_RTEMSBSP],
-[
-AC_BEFORE([$0], [RTEMS_ENV_RTEMSBSP])
-AC_ARG_ENABLE(rtemsbsp,
-[AS_HELP_STRING([--enable-rtemsbsp="bsp1 bsp2 .."],
-[BSPs to include in build, required for SMP and MP builds])],
-[case "${enable_rtemsbsp}" in
- yes ) enable_rtemsbsp="" ;;
- no ) enable_rtemsbsp="no" ;;
- *) enable_rtemsbsp="$enable_rtemsbsp"
- srctop=${srcdir}
- while test x${srctop} != x/
- do
- if test -d ${srctop}/cpukit -a -d ${srctop}/c/src/lib/libbsp; then
- break
- fi
- srctop=$(dirname ${srctop})
- done
- if test x${srctop} = x/; then
- AC_MSG_ERROR([Cannot find the top of source tree, please report to devel@rtems.org])
- fi
- target_arch=$(echo ${target_alias} | sed -e "s/\-.*//g")
- libbsp=${srctop}/bsps
- libbsp_e=$(echo ${libbsp} | sed -e 's/\//\\\//g')
- cfg_list=$(LANG=C LC_COLLATE=C find ${libbsp} -mindepth 1 -name \*.cfg)
- for bsp in ${enable_rtemsbsp};
- do
- found=no
- for bsp_path in ${cfg_list};
- do
- cfg_bsp=$(echo ${bsp_path} | sed -e "s/.*\///" -e 's/\.cfg//')
- if test x$bsp = x$cfg_bsp; then
- cfg_arch=$(echo ${bsp_path} | sed -e "s/${libbsp_e}*\///" -e 's/\/.*//')
- case ${target_arch} in
- ${cfg_arch}* )
- ;;
- * )
- AC_MSG_ERROR([BSP '$bsp' architecture does not match the --target architecture, run 'rtems-bsps' (in the top of the source tree) for a valid BSP list])
- ;;
- esac
- found=yes
- break
- fi
- done
- if test $found = no; then
- AC_MSG_ERROR([BSP '$bsp' not found, run 'rtems-bsps' (in the top of the source tree) for a valid BSP list])
- fi
- done
- ;;
-esac],[enable_rtemsbsp=""])
-])
diff --git a/aclocal/enable-smp.m4 b/aclocal/enable-smp.m4
deleted file mode 100644
index b8767923c7..0000000000
--- a/aclocal/enable-smp.m4
+++ /dev/null
@@ -1,18 +0,0 @@
-AC_DEFUN([RTEMS_ENABLE_SMP],
-[
-## AC_BEFORE([$0], [RTEMS_CHECK_SMP])dnl
-
-AC_ARG_ENABLE(smp,
-[AS_HELP_STRING([--enable-smp],[enable support for symmetric multiprocessing
-(SMP)])],
-[case "${enableval}" in
- yes) test -z $enable_rtemsbsp && AC_MSG_ERROR([SMP requires BSPs to be provided, none have, see --enable-rtemsbsp])
- case "${RTEMS_CPU}" in
- arm|powerpc|riscv*|sparc|i386) RTEMS_HAS_SMP=yes ;;
- *) RTEMS_HAS_SMP=no ;;
- esac
- ;;
- no) RTEMS_HAS_SMP=no ;;
- *) AC_MSG_ERROR(bad value ${enableval} for enable-smp option) ;;
-esac],[RTEMS_HAS_SMP=no])
-])
diff --git a/aclocal/enable-tests.m4 b/aclocal/enable-tests.m4
deleted file mode 100644
index 9fb7fa02c9..0000000000
--- a/aclocal/enable-tests.m4
+++ /dev/null
@@ -1,11 +0,0 @@
-AC_DEFUN([RTEMS_ENABLE_TESTS],
-[
-AC_ARG_ENABLE(tests,
-[AS_HELP_STRING([--enable-tests],[enable tests (default:samples)])],
- [case "${enableval}" in
- samples) enable_tests=samples;;
- yes) enable_tests=yes ;;
- no) enable_tests=no ;;
- *) AC_MSG_ERROR([bad value ${enableval} for --enable-tests]) ;;
- esac], [enable_tests=samples])
-])
diff --git a/aclocal/multilib.m4 b/aclocal/multilib.m4
deleted file mode 100644
index 0bbef95f6f..0000000000
--- a/aclocal/multilib.m4
+++ /dev/null
@@ -1,17 +0,0 @@
-dnl This provides configure definitions used for multilib support
-
-dnl parts of these macros are derived from newlib-1.8.2's multilib support
-
-AC_DEFUN([RTEMS_ENABLE_MULTILIB],
-[
-AC_ARG_ENABLE(multilib,
-AS_HELP_STRING([--enable-multilib],
-[build many library versions (default=no)]),
-[case "${enableval}" in
- yes) multilib=yes ;;
- no) multilib=no ;;
- *) AC_MSG_ERROR(bad value ${enableval} for multilib option) ;;
- esac], [multilib=no])dnl
-
-AM_CONDITIONAL(MULTILIB,test x"${multilib}" = x"yes")
-])
diff --git a/aclocal/path-ksh.m4 b/aclocal/path-ksh.m4
deleted file mode 100644
index 2c79b31d1e..0000000000
--- a/aclocal/path-ksh.m4
+++ /dev/null
@@ -1,12 +0,0 @@
-AC_DEFUN([RTEMS_PATH_KSH],
-[
-dnl NOTE: prefer bash over ksh over sh
-AC_PATH_PROGS(KSH,bash ksh sh)
-if test -z "$KSH"; then
-dnl NOTE: This cannot happen -- /bin/sh must always exist
-AC_MSG_ERROR(
-[***]
-[ Cannot determine a usable shell bash/ksh/sh]
-[ Please contact your system administrator] );
-fi
-])
diff --git a/aclocal/project-root.m4 b/aclocal/project-root.m4
deleted file mode 100644
index ffe5c6f940..0000000000
--- a/aclocal/project-root.m4
+++ /dev/null
@@ -1,17 +0,0 @@
-dnl
-dnl PROJECT_TOPdir .. relative path to the top of the build-tree
-dnl PROJECT_ROOT .. relative path to the top of the temporary
-dnl installation directory inside the build-tree
-dnl RTEMS_TOPdir .. relative path of a subpackage's configure.ac to the
-dnl toplevel configure.ac of the source-tree
-dnl RTEMS_ROOT .. path to the top of a bsp's build directory
-dnl [Applied by custom/*.cfg, deprecated otherwise]
-dnl
-
-AC_DEFUN([RTEMS_PROJECT_ROOT],
-[dnl
-AC_REQUIRE([RTEMS_TOP])
-BIN2C=rtems-bin2c
-AC_SUBST(BIN2C)
-])
-
diff --git a/aclocal/quoting.m4 b/aclocal/quoting.m4
deleted file mode 100644
index 0a95ae3e9b..0000000000
--- a/aclocal/quoting.m4
+++ /dev/null
@@ -1,41 +0,0 @@
-dnl RTEMS_CONFIGURE_ARGS_QUOTE(dnl RETURN_VAR, [ADDITIONAL_CASES], [VAR_TO_PROCESS]])
-dnl
-AC_DEFUN([_RTEMS_CONFIGURE_ARGS_QUOTE],
-[
-$1_prune()
-{
- # Remove --cache-file and --srcdir arguments so they do not pile up.
- $1=
- ac_prev=
- for ac_arg
- do
- if test -n "$ac_prev"; then
- ac_prev=
- continue
- fi
- case $ac_arg in
- -cache-file | --cache-file | --cache-fil | --cache-fi \
- | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
- ac_prev=cache_file ;;
- -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
- | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
- | --c=*)
- ;;
- --config-cache | -C)
- ;;
- -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
- ac_prev=srcdir ;;
- -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
- ;;
- m4_if([$2],,,[$2])
- *) $1="$$1 '$ac_arg'" ;;
- esac
- done
- export $1
-}
-])
-
-AC_DEFUN([RTEMS_CONFIGURE_ARGS_QUOTE],[
-m4_expand_once([_RTEMS_CONFIGURE_ARGS_QUOTE([$1],[$2])])
-eval $1_prune m4_if([$3],,[$ac_configure_args],[[$]$3])
-])
diff --git a/aclocal/rpm.m4 b/aclocal/rpm.m4
deleted file mode 100644
index 1f2015b4a5..0000000000
--- a/aclocal/rpm.m4
+++ /dev/null
@@ -1,20 +0,0 @@
-AC_DEFUN([RTEMS_ENABLE_RPMPREFIX],[
-AC_ARG_ENABLE([rpmprefix],
-[ --enable-rpmprefix=<rpmprefix> prefix rpms],
-[case $enable_rpmprefix in
-yes ) rpmprefix="rtems-"]_RTEMS_API["-";;
-no ) rpmprefix="%{nil}";;
-* ) AS_IF([test -z "$enable_rpmprefix"],
- [rpmprefix="%{nil}"],
- [rpmprefix="$enable_rpmprefix"]);;
-esac],
-[rpmprefix="rtems-"]_RTEMS_API["-"])
-
-AC_ARG_ENABLE([osversions],
-[ --enable-osversions whether to use version numbers in os-tripples],
-[case $enable_osversions in
-yes ) osversion=_RTEMS_API;;
-* ) osversion=;;
-esac],
-[osversion=_RTEMS_API])
-])
diff --git a/aclocal/rtems-bsp-includes.m4 b/aclocal/rtems-bsp-includes.m4
deleted file mode 100644
index 2248211192..0000000000
--- a/aclocal/rtems-bsp-includes.m4
+++ /dev/null
@@ -1,13 +0,0 @@
-dnl
-dnl RTEMS Include paths.
-dnl
-AC_DEFUN([RTEMS_BSP_INCLUDES],
-[
-AC_REQUIRE([RTEMS_SOURCE_TOP])
-AC_REQUIRE([RTEMS_BUILD_TOP])
-RTEMS_BSP_CPPFLAGS="-I${RTEMS_BUILD_ROOT}/lib/libbsp/\$(RTEMS_CPU)/\$(RTEMS_BSP_FAMILY)/include \
--I${RTEMS_SOURCE_ROOT}/bsps/include \
--I${RTEMS_SOURCE_ROOT}/bsps/\$(RTEMS_CPU)/include \
--I${RTEMS_SOURCE_ROOT}/bsps/\$(RTEMS_CPU)/\$(RTEMS_BSP_FAMILY)/include"
-AC_SUBST([RTEMS_BSP_CPPFLAGS])
-])
diff --git a/aclocal/rtems-build-top.m4 b/aclocal/rtems-build-top.m4
deleted file mode 100644
index 77cff7f4d4..0000000000
--- a/aclocal/rtems-build-top.m4
+++ /dev/null
@@ -1,12 +0,0 @@
-dnl
-dnl RTEMS_BUILD_TOP($1)
-dnl
-AC_DEFUN([RTEMS_BUILD_TOP],
-[dnl
-#
-# This is a copy of the horrible hack in rtems-top.m4 and it is simpler to
-# copy it than attempt to clean this crap up.
-#
-RTEMS_BUILD_ROOT="${with_rtems_build_top}"
-AC_SUBST([RTEMS_BUILD_ROOT])
-])dnl
diff --git a/aclocal/rtems-includes.m4 b/aclocal/rtems-includes.m4
deleted file mode 100644
index ca4ebed581..0000000000
--- a/aclocal/rtems-includes.m4
+++ /dev/null
@@ -1,23 +0,0 @@
-dnl
-dnl RTEMS Include paths.
-dnl
-AC_DEFUN([RTEMS_INCLUDES],
-[
-AC_REQUIRE([RTEMS_SOURCE_TOP])
-AC_REQUIRE([RTEMS_BUILD_TOP])
-
-# Was CFLAGS set?
-rtems_cv_CFLAGS_set="${CFLAGS+set}"
-
-RTEMS_INCLUDE_CPUKIT="-I${RTEMS_SOURCE_ROOT}/cpukit/include"
-RTEMS_INCLUDE_CPUKIT_ARCH="-I${RTEMS_SOURCE_ROOT}/cpukit/score/cpu/\$(RTEMS_CPU)/include"
-
-RTEMS_CPUKIT_INCLUDE="${RTEMS_INCLUDE_CPUKIT} ${RTEMS_INCLUDE_CPUKIT_ARCH}"
-RTEMS_BUILD_INCLUDE="-I\$(top_builddir) -I${RTEMS_BUILD_ROOT}/include"
-
-RTEMS_INCLUDE="${RTEMS_BUILD_INCLUDE} ${RTEMS_CPUKIT_INCLUDE}"
-
-RTEMS_CPPFLAGS="${RTEMS_INCLUDE}"
-
-AC_SUBST([RTEMS_CPPFLAGS])
-])
diff --git a/aclocal/rtems-source-top.m4 b/aclocal/rtems-source-top.m4
deleted file mode 100644
index d1460ae82d..0000000000
--- a/aclocal/rtems-source-top.m4
+++ /dev/null
@@ -1,8 +0,0 @@
-dnl
-dnl RTEMS_SOURCE_TOP
-dnl
-AC_DEFUN([RTEMS_SOURCE_TOP],
-[dnl
-RTEMS_SOURCE_ROOT="${with_rtems_source_top}"
-AC_SUBST([RTEMS_SOURCE_ROOT])
-])dnl
diff --git a/aclocal/rtems-top.m4 b/aclocal/rtems-top.m4
deleted file mode 100644
index 3eb4827861..0000000000
--- a/aclocal/rtems-top.m4
+++ /dev/null
@@ -1,34 +0,0 @@
-# AC_DISABLE_OPTION_CHECKING is not available before 2.62
-AC_PREREQ(2.62)
-
-dnl
-dnl RTEMS_TOP($1)
-dnl
-dnl $1 .. relative path from this configure.ac to the toplevel configure.ac
-dnl
-AC_DEFUN([RTEMS_TOP],
-[dnl
-AC_REQUIRE([RTEMS_VERSIONING])
-AC_REQUIRE([AC_DISABLE_OPTION_CHECKING])
-AC_CONFIG_AUX_DIR([$1])
-AC_CHECK_PROGS(MAKE, gmake make)
-AC_BEFORE([$0], [AM_INIT_AUTOMAKE])dnl
-
-AC_PREFIX_DEFAULT([/opt/rtems-][_RTEMS_API])
-
-RTEMS_TOPdir="$1";
-AC_SUBST(RTEMS_TOPdir)
-
-dots=`echo $with_target_subdir|\
-sed -e 's,^\.$,,' -e 's%^\./%%' -e 's%[[^/]]$%&/%' -e 's%[[^/]]*/%../%g'`
-PROJECT_TOPdir=${dots}${RTEMS_TOPdir}/'$(top_builddir)'
-AC_SUBST(PROJECT_TOPdir)
-
-PROJECT_ROOT="${RTEMS_TOPdir}/\$(top_builddir)"
-AC_SUBST(PROJECT_ROOT)
-
-AC_MSG_CHECKING([for RTEMS Version])
-AC_MSG_RESULT([_RTEMS_VERSION])
-pkgdatadir="${datadir}"/rtems[]_RTEMS_API;
-AC_SUBST([pkgdatadir])
-])dnl
diff --git a/aclocal/tool-paths.m4 b/aclocal/tool-paths.m4
deleted file mode 100644
index ff6e5f830e..0000000000
--- a/aclocal/tool-paths.m4
+++ /dev/null
@@ -1,23 +0,0 @@
-AC_DEFUN([RTEMS_TOOLPATHS],
-[
-# tooldir='$(exec_prefix)/'$target_alias
-# Temporary work-around until building in source tree is supported
-AC_REQUIRE([RTEMS_PROJECT_ROOT])
-
-tooldir='$(PROJECT_ROOT)'
-AC_SUBST(tooldir)
-
-project_includedir='$(tooldir)'/include
-AC_SUBST(project_includedir)
-
-project_libdir='$(tooldir)/lib$(MULTISUBDIR)'
-AC_SUBST(project_libdir)
-
-project_bindir='$(tooldir)/bin'
-AC_SUBST(project_bindir)
-
-rtems_bspdir='$(prefix)/${RTEMS_BSP}'
-AC_SUBST(rtems_bspdir)
-rtems_makedir='$(prefix)/make'
-AC_SUBST(rtems_makedir)
-])
diff --git a/aclocal/version.m4 b/aclocal/version.m4
deleted file mode 100644
index 69e3eea10a..0000000000
--- a/aclocal/version.m4
+++ /dev/null
@@ -1,4 +0,0 @@
-AC_DEFUN([RTEMS_VERSIONING],
-m4_define([_RTEMS_VERSION],[6.0.0]))
-
-m4_define([_RTEMS_API],[6])
diff --git a/automake/host.am b/automake/host.am
deleted file mode 100644
index f999b83776..0000000000
--- a/automake/host.am
+++ /dev/null
@@ -1,5 +0,0 @@
-## NOTE: This is a temporary work-around to keep
-## RTEMS's non automake standard make targets working.
-## Once automake is fully integrated these make targets
-## and this file will probably be removed
-
diff --git a/automake/subdirs.am b/automake/subdirs.am
deleted file mode 100644
index 37617e0759..0000000000
--- a/automake/subdirs.am
+++ /dev/null
@@ -1,7 +0,0 @@
-## Borrowed from automake-1.4 and adapted to RTEMS
-
-## NOTE: This is a temporary work-around to keep
-## RTEMS's non automake standard make targets working.
-## Once automake is fully integrated these make targets
-## and this file will probably be removed
-
diff --git a/bootstrap b/bootstrap
deleted file mode 100755
index b3da39383b..0000000000
--- a/bootstrap
+++ /dev/null
@@ -1,326 +0,0 @@
-#!/bin/sh
-#
-# helps bootstrapping, when checked out from CVS
-# requires GNU autoconf and GNU automake
-#
-# this is not meant to be exported outside the source tree
-#
-# NOTE: Inspired by libtool's autogen script
-#
-# to be run from the toplevel directory of RTEMS'
-# source tree
-
-progname=`basename $0`
-top_srcdir=`dirname $0`
-
-LC_ALL=C
-export LC_ALL
-
-verbose=""
-quiet="false"
-mode="autoreconf"
-force=0
-
-usage()
-{
- echo
- echo "usage: ${progname} [-c|-h|-H] [-q][-v]"
- echo
- echo "options:"
- echo " -c .. clean, remove all aclocal/autoconf/automake generated files"
- echo " -h .. display this message and exit"
- echo " -H .. regenerate headers.am files"
- echo " -q .. quiet, don't display directories"
- echo " -v .. verbose, pass -v to autotools"
- echo
- exit 1
-}
-
-if test ! -f $top_srcdir/aclocal/version.m4; then
- echo "${progname}:"
- echo " Installation problem: Can't find file aclocal/version.m4"
- exit 1
-fi
-
-while test $# -gt 0; do
-case $1 in
--h|--he|--hel|--help)
- usage ;;
--q|--qu|--qui|--quie|--quiet)
- quiet="true"
- shift;;
--v|--ve|--ver|--verb|--verbo|--verbos|--verbose)
- verbose="-v"
- shift;;
--c|--cl|--cle|--clea|--clean)
- mode="clean"
- shift;;
--f|--fo|--for|--forc|--force)
- force=`expr $force + 1`
- shift;;
--H|--headers)
- mode="headers"
- shift;;
--r|--re|--rec|--reco|--recon|--reconf)
- mode="autoreconf"
- shift;;
--g|--ge|--gen|--gene|--gener|--genera|--generat|--generate)
- mode="generate"
- shift;;
--*) echo "unknown option $1"
- usage ;;
-*) echo "invalid parameter $1"
- usage ;;
-esac
-done
-
-case $mode in
-headers)
- if test "." != "$top_srcdir"; then
- echo "To generate the headers.am you must call the script via \"./$progname -H\""
- exit 1
- fi
- base="$PWD"
-
- # Generate cpukit/header-dirs.am
- tmp="$base/cpukit/header-dirs.am.new"
- hdr_dirs=`for i in cpukit/include cpukit/libnetworking cpukit/score/cpu/*/include ; do
- cd "$i"
- find -mindepth 1 -type d
- cd "$base"
- done | sort -u | sed 's%^\./%%'`
- echo '## This file was generated by "./boostrap -H".' > "$tmp"
- echo 'include_HEADERS =' >> "$tmp"
- for dir in $hdr_dirs ; do
- am_dir=`echo $dir | sed 's%[/-]%_%g'`
- echo "include_${am_dir}dir = \$(includedir)/$dir" >> "$tmp"
- echo "include_${am_dir}_HEADERS =" >> "$tmp"
- done
- diff -q "$tmp" "cpukit/header-dirs.am" || mv "$tmp" "cpukit/header-dirs.am"
- rm -f "$tmp"
-
- # Generate cpukit/*/headers.am
- tmp="$base/headers.am.new"
- cpukit="$base/cpukit"
- cd "$cpukit"
- for inc in include score/cpu/*/include ; do
- echo '## This file was generated by "./boostrap -H".' > "$tmp"
- hdr=`dirname $inc`
- am_dir=""
- cd $inc
- for b in `find -type d | sort` ; do
- for j in `find $b -mindepth 1 -maxdepth 1 -name '*.h' | sed 's%^\.%%' | sed 's%^/%%' | sort` ; do
- dir=`dirname $j`
- if test x$dir != x. ; then
- am_dir=`echo $dir | sed 's%[/-]%_%g'`
- am_dir="_$am_dir"
- else
- am_dir=""
- fi
- echo "include${am_dir}_HEADERS += $inc/$j" >> "$tmp"
- done
- done
- cd "$cpukit"
- diff -q "$tmp" "${hdr}/headers.am" || mv "$tmp" "${hdr}/headers.am"
- done
- rm -f "$tmp"
- cd "$base"
-
- # Generate bsps/*/headers.am
- tmp="$base/headers.am.new"
- for i in bsps/include bsps/*/include bsps/*/*/include ; do
- dir=""
- am_dir=""
- echo '## This file was generated by "./boostrap -H".' > "$tmp"
- case $i in
- bsps/*/*/include)
- hdr="../"
- inc="../../../../../../$i/"
- ;;
- bsps/*/include)
- hdr="../"
- inc="../../../../../$i/"
- ;;
- bsps/include)
- hdr="../"
- inc="../../$i/"
- ;;
- *)
- hdr=""
- inc=""
- ;;
- esac
- cd $i
- for b in `find -type d | sort` ; do
- for j in `find $b -mindepth 1 -maxdepth 1 -name '*.h' -or -name '*.inc' | sed 's%^\.%%' | sed 's%^/%%' | sort` ; do
- d=`dirname $j`
- if test x$d != x$dir ; then
- dir=$d
- if test x$d != x. ; then
- am_dir=`echo $dir | sed 's%[/-]%_%g'`
- am_dir="_$am_dir"
- printf "\ninclude%sdir = \$(includedir)/$dir\n" "$am_dir" >> "$tmp"
- else
- am_dir=""
- echo "" >> "$tmp"
- fi
- echo "include${am_dir}_HEADERS =" >> "$tmp"
- fi
- echo "include${am_dir}_HEADERS += $inc$j" >> "$tmp"
- if test $j = bsp.h ; then
- echo "include_HEADERS += include/bspopts.h" >> "$tmp"
- fi
- done
- done
- cd "$base"
- diff -q "$tmp" "$i/${hdr}headers.am" || mv "$tmp" "$i/${hdr}headers.am"
- done
- rm -f "$tmp"
- ;;
-
-generate)
- AUTOCONF=${AUTOCONF-autoconf}
- if test -z "$AUTOCONF"; then
- echo "You must have autoconf installed to run $program"
- exit 1
- fi
-
- AUTOHEADER=${AUTOHEADER-autoheader}
- if test -z "$AUTOHEADER"; then
- echo "You must have autoconf installed to run $program"
- exit 1
- fi
-
- AUTOMAKE=${AUTOMAKE-automake}
- if test -z "$AUTOMAKE"; then
- echo "You must have automake installed to run $program"
- exit 1
- fi
-
- ACLOCAL=${ACLOCAL-aclocal}
- if test -z "$ACLOCAL"; then
- echo "You must have automake installed to run $program"
- exit 1
- fi
-
- case $top_srcdir in
- /* ) aclocal_dir=$top_srcdir
- ;;
- *) aclocal_dir=`pwd`/$top_srcdir
- ;;
- esac
-
- confs=`find . \( -name 'configure.in' -o -name 'configure.ac' \) -print`
- for i in $confs; do
- dir=`dirname $i`
- configure=`basename $i`
- ( test "$quiet" = "true" || echo "$dir"
- cd $dir
- pat="s,\$(RTEMS_TOPdir),${aclocal_dir},g"
- aclocal_args=`grep '^[ ]*ACLOCAL_AMFLAGS' Makefile.am | \
- sed -e 's%.*ACLOCAL_AMFLAGS.*\=[ ]*%%g' -e $pat `
- test "$verbose" = "-v" && echo "${ACLOCAL} $aclocal_args"
- ${ACLOCAL} $aclocal_args
- test -n "`grep CONFIG_HEADER ${configure}`" && ${AUTOHEADER} \
- && test "$verbose" = "-v" && echo "${AUTOHEADER}"
- test -n "`grep RTEMS_BSP_CONFIGURE ${configure}`" && ${AUTOHEADER} \
- && test "$verbose" = "-v" && echo "${AUTOHEADER}"
- test -f Makefile.am && ${AUTOMAKE} -a -c $verbose
- ${AUTOCONF}
- test -f Makefile.am && test -n "`grep 'stamp-h\.in' Makefile.in`" \
- && echo timestamp > stamp-h.in
- )
- done
- ;;
-
-autoreconf)
- AUTORECONF=${AUTORECONF-autoreconf}
- if test -z "$AUTORECONF"; then
- echo "You must have autoreconf installed to run $program"
- exit 1
- fi
-
- confs=`find . -name 'configure.ac' -print`
- for i in $confs; do
- dir=`dirname $i`
- configure=`basename $i`
- ( test "$quiet" = "true" || echo "$dir"
- cd $dir
- ${AUTORECONF} -i --no-recursive $verbose
- test -f Makefile.am && test -n "`grep 'stamp-h\.in' Makefile.in`" \
- && echo timestamp > stamp-h.in
- )
- done
- ;;
-
-clean)
- test "$quiet" = "true" || echo "removing automake generated Makefile.in files"
- files=`find . -name 'Makefile.am' -print | sed -e 's%\.am%\.in%g'`
- for i in $files; do
- if test -f $i; then
- rm -f $i
- test "$verbose" = "-v" && echo "$i"
- fi
- done
-
- test "$quiet" = "true" || echo "removing configure files"
- files=`find . -name 'configure' -print`
- for i in $files; do
- if test -f $i; then
- rm -f $i
- test "$verbose" = "-v" && echo "$i"
- fi
- done
-
- if test $force -gt 0; then
- needles=""
- if test $force -gt 1; then
- # Manually maintained
- needles="$needles config.sub"
- needles="$needles config.guess"
- fi
- if test $force -gt 0; then
- # Inherited from automake
- needles="$needles compile"
- needles="$needles depcomp"
- needles="$needles install-sh"
- needles="$needles missing"
- needles="$needles mdate-sh"
- fi
- for j in $needles; do
- files=`find . -name "$j" -print`
- for i in $files; do
- if test -f $i; then
- rm -f $i
- test "$verbose" = "-v" && echo "$i"
- fi
- done
- done
- fi
-
- test "$quiet" = "true" || echo "removing aclocal.m4 files"
- files=`find . -name 'aclocal.m4' -print`
- test "$verbose" = "-v" && test -n "$files" && echo "$files"
- for i in $files; do
- if test -f $i; then
- rm -f $i
- test "$verbose" = "-v" && echo "$i"
- fi
- done
-
- find . -name '*~' -print | xargs rm -f
- find . -name 'bspopts.h.in' -print | xargs rm -f
- find . -name '*.orig' -print | xargs rm -f
- find . -name '*.rej' -print | xargs rm -f
- find . -name 'config.status' -print | xargs rm -f
- find . -name 'config.log' -print | xargs rm -f
- find . -name 'config.cache' -print | xargs rm -f
- find . -name 'Makefile' -and -not -path ./testsuites/ada/sptests/sp19/Makefile -print | xargs rm -f
- find . -name '.deps' -print | xargs rm -rf
- find . -name '.libs' -print | xargs rm -rf
- find . -name 'stamp-h.in' | xargs rm -rf
- find . -name 'autom4te*.cache' | xargs rm -rf
- ;;
-esac
-
-exit 0
diff --git a/bsps/aarch64/include/bsp/aarch64-mmu.h b/bsps/aarch64/include/bsp/aarch64-mmu.h
index e82012576f..b1a471d534 100644
--- a/bsps/aarch64/include/bsp/aarch64-mmu.h
+++ b/bsps/aarch64/include/bsp/aarch64-mmu.h
@@ -42,50 +42,12 @@
#include <rtems/score/aarch64-system-registers.h>
#include <bspopts.h>
#include <bsp/utility.h>
+#include <libcpu/mmu-vmsav8-64.h>
#ifdef __cplusplus
extern "C" {
#endif /* __cplusplus */
-/* VMSAv8 Long-descriptor fields */
-#define MMU_DESC_AF BSP_BIT64( 10 )
-#define MMU_DESC_SH_INNER ( BSP_BIT64( 9 ) | BSP_BIT64( 8 ) )
-#define MMU_DESC_WRITE_DISABLE BSP_BIT64( 7 )
-/* PAGE and TABLE flags are the same bit, but only apply on certain levels */
-#define MMU_DESC_TYPE_TABLE BSP_BIT64( 1 )
-#define MMU_DESC_TYPE_PAGE BSP_BIT64( 1 )
-#define MMU_DESC_VALID BSP_BIT64( 0 )
-#define MMU_DESC_MAIR_ATTR( val ) BSP_FLD64( val, 2, 3 )
-#define MMU_DESC_MAIR_ATTR_GET( reg ) BSP_FLD64GET( reg, 2, 3 )
-#define MMU_DESC_MAIR_ATTR_SET( reg, val ) BSP_FLD64SET( reg, val, 2, 3 )
-#define MMU_DESC_PAGE_TABLE_MASK 0xFFFFFFFFF000LL
-
-/* Page table configuration */
-#define MMU_PAGE_BITS 12
-#define MMU_PAGE_SIZE ( 1 << MMU_PAGE_BITS )
-#define MMU_BITS_PER_LEVEL 9
-#define MMU_TOP_LEVEL_PAGE_BITS ( 2 * MMU_BITS_PER_LEVEL + MMU_PAGE_BITS )
-
-#define AARCH64_MMU_FLAGS_BASE \
- ( MMU_DESC_VALID | MMU_DESC_SH_INNER | MMU_DESC_AF )
-
-#define AARCH64_MMU_DATA_RO_CACHED \
- ( AARCH64_MMU_FLAGS_BASE | MMU_DESC_MAIR_ATTR( 3 ) | MMU_DESC_WRITE_DISABLE )
-#define AARCH64_MMU_CODE_CACHED AARCH64_MMU_DATA_RO_CACHED
-#define AARCH64_MMU_CODE_RW_CACHED AARCH64_MMU_DATA_RW_CACHED
-
-#define AARCH64_MMU_DATA_RO \
- ( AARCH64_MMU_FLAGS_BASE | MMU_DESC_MAIR_ATTR( 1 ) | MMU_DESC_WRITE_DISABLE )
-#define AARCH64_MMU_CODE AARCH64_MMU_DATA_RO
-#define AARCH64_MMU_CODE_RW AARCH64_MMU_DATA_RW
-
-/* RW implied by not ORing in RO */
-#define AARCH64_MMU_DATA_RW_CACHED \
- ( AARCH64_MMU_FLAGS_BASE | MMU_DESC_MAIR_ATTR( 3 ) )
-#define AARCH64_MMU_DATA_RW \
- ( AARCH64_MMU_FLAGS_BASE | MMU_DESC_MAIR_ATTR( 1 ) )
-#define AARCH64_MMU_DEVICE ( AARCH64_MMU_FLAGS_BASE | MMU_DESC_MAIR_ATTR( 0 ) )
-
typedef struct {
uintptr_t begin;
uintptr_t end;
@@ -284,6 +246,15 @@ BSP_START_TEXT_SECTION static inline rtems_status_code aarch64_mmu_map_block(
} else {
/* block starts on a boundary, but is short */
chunk_size = size;
+
+ /* it isn't possible to go beyond page table level 2 */
+ if ( page_flag ) {
+ /* no sub-table, apply block properties */
+ page_table[index] = addr | flags | page_flag;
+ size -= chunk_size;
+ addr += chunk_size;
+ continue;
+ }
}
} else {
uintptr_t block_top = RTEMS_ALIGN_UP( addr, granularity );
@@ -385,17 +356,14 @@ BSP_START_TEXT_SECTION static inline void aarch64_mmu_setup_translation_table(
}
BSP_START_TEXT_SECTION static inline void
-aarch64_mmu_setup_translation_table_and_enable(
- const aarch64_mmu_config_entry *config_table,
- size_t config_count
-)
+aarch64_mmu_enable( void )
{
uint64_t sctlr;
- aarch64_mmu_setup_translation_table(
- config_table,
- config_count
- );
+ /* CPUECTLR_EL1.SMPEN is already set on ZynqMP and is not writable */
+
+ /* Invalidate cache */
+ rtems_cache_invalidate_entire_data();
/* Enable MMU and cache */
sctlr = _AArch64_Read_sctlr_el1();
@@ -403,6 +371,17 @@ aarch64_mmu_setup_translation_table_and_enable(
_AArch64_Write_sctlr_el1( sctlr );
}
+BSP_START_TEXT_SECTION static inline void
+aarch64_mmu_disable( void )
+{
+ uint64_t sctlr;
+
+ /* Enable MMU and cache */
+ sctlr = _AArch64_Read_sctlr_el1();
+ sctlr &= ~(AARCH64_SCTLR_EL1_M);
+ _AArch64_Write_sctlr_el1( sctlr );
+}
+
BSP_START_TEXT_SECTION static inline void aarch64_mmu_setup( void )
{
/* Set TCR */
diff --git a/bsps/aarch64/include/dev/irq/arm-gic-arch.h b/bsps/aarch64/include/dev/irq/arm-gic-arch.h
index 0911320851..f1b6fdc03d 100644
--- a/bsps/aarch64/include/dev/irq/arm-gic-arch.h
+++ b/bsps/aarch64/include/dev/irq/arm-gic-arch.h
@@ -49,8 +49,10 @@ extern "C" {
static inline void arm_interrupt_handler_dispatch(rtems_vector_number vector)
{
uint32_t interrupt_level = _CPU_ISR_Get_level();
- AArch64_interrupt_enable(1);
+ /* Enable interrupts for nesting */
+ _CPU_ISR_Set_level(0);
bsp_interrupt_handler_dispatch(vector);
+ /* Restore interrupts to previous level */
_CPU_ISR_Set_level(interrupt_level);
}
diff --git a/bsps/aarch64/shared/mmu/vmsav8-64-nommu.c b/bsps/aarch64/shared/mmu/vmsav8-64-nommu.c
new file mode 100644
index 0000000000..2c793fa239
--- /dev/null
+++ b/bsps/aarch64/shared/mmu/vmsav8-64-nommu.c
@@ -0,0 +1,49 @@
+/* SPDX-License-Identifier: BSD-2-Clause */
+
+/**
+ * @file
+ *
+ * @ingroup RTEMSBSPsAArch64Shared
+ *
+ * @brief AArch64 MMU dummy implementation.
+ */
+
+/*
+ * Copyright (C) 2021 On-Line Applications Research Corporation (OAR)
+ * Written by Kinsey Moore <kinsey.moore@oarcorp.com>
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ * 1. Redistributions of source code must retain the above copyright
+ * notice, this list of conditions and the following disclaimer.
+ * 2. Redistributions in binary form must reproduce the above copyright
+ * notice, this list of conditions and the following disclaimer in the
+ * documentation and/or other materials provided with the distribution.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
+ * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
+ * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+ * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
+ * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+ * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
+ * POSSIBILITY OF SUCH DAMAGE.
+ */
+
+#include <libcpu/mmu-vmsav8-64.h>
+
+/*
+ * This must have a non-header implementation because it is used by libdebugger.
+ */
+rtems_status_code aarch64_mmu_map(
+ uintptr_t addr,
+ uint64_t size,
+ uint64_t flags
+)
+{
+ return RTEMS_SUCCESSFUL;
+}
diff --git a/bsps/aarch64/shared/mmu/vmsav8-64.c b/bsps/aarch64/shared/mmu/vmsav8-64.c
new file mode 100644
index 0000000000..9caa91c414
--- /dev/null
+++ b/bsps/aarch64/shared/mmu/vmsav8-64.c
@@ -0,0 +1,69 @@
+/* SPDX-License-Identifier: BSD-2-Clause */
+
+/**
+ * @file
+ *
+ * @ingroup RTEMSBSPsAArch64Shared
+ *
+ * @brief AArch64 MMU implementation.
+ */
+
+/*
+ * Copyright (C) 2021 On-Line Applications Research Corporation (OAR)
+ * Written by Kinsey Moore <kinsey.moore@oarcorp.com>
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ * 1. Redistributions of source code must retain the above copyright
+ * notice, this list of conditions and the following disclaimer.
+ * 2. Redistributions in binary form must reproduce the above copyright
+ * notice, this list of conditions and the following disclaimer in the
+ * documentation and/or other materials provided with the distribution.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
+ * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
+ * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+ * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
+ * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+ * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
+ * POSSIBILITY OF SUCH DAMAGE.
+ */
+
+#include <bsp/aarch64-mmu.h>
+#include <rtems/score/cpu.h>
+
+/*
+ * This must have a non-header implementation because it is used by libdebugger.
+ */
+rtems_status_code aarch64_mmu_map(
+ uintptr_t addr,
+ uint64_t size,
+ uint64_t flags
+)
+{
+ rtems_status_code sc;
+
+ aarch64_mmu_disable();
+ sc = aarch64_mmu_map_block(
+ (uint64_t *) bsp_translation_table_base,
+ 0x0,
+ addr,
+ size,
+ 0,
+ flags
+ );
+ _AARCH64_Data_synchronization_barrier();
+ __asm__ volatile(
+ "tlbi vmalle1\n"
+ );
+ _AARCH64_Data_synchronization_barrier();
+ _AARCH64_Instruction_synchronization_barrier();
+ aarch64_mmu_enable();
+
+ return sc;
+}
diff --git a/bsps/aarch64/shared/start/aarch64-smp.c b/bsps/aarch64/shared/start/aarch64-smp.c
new file mode 100644
index 0000000000..5ec7babce7
--- /dev/null
+++ b/bsps/aarch64/shared/start/aarch64-smp.c
@@ -0,0 +1,85 @@
+/* SPDX-License-Identifier: BSD-2-Clause */
+
+/**
+ * @file
+ *
+ * @ingroup RTEMSBSPsAArch64Shared
+ *
+ * @brief SMP startup and interop code.
+ */
+
+/*
+ * Copyright (C) 2021 On-Line Applications Research Corporation (OAR)
+ * Written by Kinsey Moore <kinsey.moore@oarcorp.com>
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ * 1. Redistributions of source code must retain the above copyright
+ * notice, this list of conditions and the following disclaimer.
+ * 2. Redistributions in binary form must reproduce the above copyright
+ * notice, this list of conditions and the following disclaimer in the
+ * documentation and/or other materials provided with the distribution.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
+ * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
+ * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+ * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
+ * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+ * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
+ * POSSIBILITY OF SUCH DAMAGE.
+ */
+
+#include <rtems/score/smpimpl.h>
+
+#include <bsp/irq.h>
+
+static void bsp_inter_processor_interrupt( void *arg )
+{
+ _SMP_Inter_processor_interrupt_handler( _Per_CPU_Get() );
+}
+
+uint32_t _CPU_SMP_Initialize( void )
+{
+ return arm_gic_irq_processor_count();
+}
+
+void _CPU_SMP_Finalize_initialization( uint32_t cpu_count )
+{
+ if ( cpu_count > 0 ) {
+ rtems_status_code sc;
+
+ sc = rtems_interrupt_handler_install(
+ ARM_GIC_IRQ_SGI_0,
+ "IPI",
+ RTEMS_INTERRUPT_UNIQUE,
+ bsp_inter_processor_interrupt,
+ NULL
+ );
+ _Assert( sc == RTEMS_SUCCESSFUL );
+ (void) sc;
+
+#if defined( BSP_DATA_CACHE_ENABLED ) || \
+ defined( BSP_INSTRUCTION_CACHE_ENABLED )
+ /* Enable unified L2 cache */
+ rtems_cache_enable_data();
+#endif
+ }
+}
+
+void _CPU_SMP_Prepare_start_multitasking( void )
+{
+ /* Do nothing */
+}
+
+void _CPU_SMP_Send_interrupt( uint32_t target_processor_index )
+{
+ arm_gic_irq_generate_software_irq(
+ ARM_GIC_IRQ_SGI_0,
+ 1U << target_processor_index
+ );
+}
diff --git a/bsps/aarch64/shared/start/start.S b/bsps/aarch64/shared/start/start.S
index f4c39dacdf..f03c7921ca 100644
--- a/bsps/aarch64/shared/start/start.S
+++ b/bsps/aarch64/shared/start/start.S
@@ -166,21 +166,21 @@ _el1_start:
#ifdef RTEMS_SMP
/* Read MPIDR and get current processor index */
mrs x7, mpidr_el1
- and x7, #0xff
+ and x7, x7, #0xff
#endif
#ifdef RTEMS_SMP
/*
* Get current per-CPU control and store it in PL1 only Thread ID
- * Register (TPIDRPRW).
+ * Register (TPIDR_EL1).
*/
#ifdef AARCH64_MULTILIB_ARCH_V8_ILP32
ldr w1, =_Per_CPU_Information
#else
ldr x1, =_Per_CPU_Information
#endif
- add x1, x1, x7, asl #PER_CPU_CONTROL_SIZE_LOG2
- mcr p15, 0, x1, c13, c0, 4
+ add x1, x1, x7, lsl #PER_CPU_CONTROL_SIZE_LOG2
+ msr TPIDR_EL1, x1
#endif
@@ -201,8 +201,8 @@ _el1_start:
#endif
add x3, x1, x2
- /* Save original DAIF value */
- mrs x4, DAIF
+ /* Disable interrupts and debug */
+ msr DAIFSet, #0xa
#ifdef BSP_START_NEEDS_REGISTER_INITIALIZATION
mov x8, XZR
diff --git a/bsps/aarch64/xilinx-versal/start/bspstartmmu.c b/bsps/aarch64/xilinx-versal/start/bspstartmmu.c
index 6ab33cc4f1..5949111d0d 100644
--- a/bsps/aarch64/xilinx-versal/start/bspstartmmu.c
+++ b/bsps/aarch64/xilinx-versal/start/bspstartmmu.c
@@ -36,6 +36,7 @@
#include <bsp.h>
#include <bsp/start.h>
#include <bsp/aarch64-mmu.h>
+#include <libcpu/mmu-vmsav8-64.h>
BSP_START_DATA_SECTION static const aarch64_mmu_config_entry
versal_mmu_config_table[] = {
@@ -70,8 +71,10 @@ versal_setup_mmu_and_cache( void )
{
aarch64_mmu_setup();
- aarch64_mmu_setup_translation_table_and_enable(
+ aarch64_mmu_setup_translation_table(
&versal_mmu_config_table[ 0 ],
RTEMS_ARRAY_SIZE( versal_mmu_config_table )
);
+
+ aarch64_mmu_enable();
}
diff --git a/bsps/aarch64/xilinx-zynqmp/include/bsp.h b/bsps/aarch64/xilinx-zynqmp/include/bsp.h
index 6d49b9ad2a..d937a313f2 100644
--- a/bsps/aarch64/xilinx-zynqmp/include/bsp.h
+++ b/bsps/aarch64/xilinx-zynqmp/include/bsp.h
@@ -60,6 +60,7 @@ extern "C" {
#define BSP_ARM_GIC_DIST_BASE 0xf9010000
#define BSP_RESET_SMC
+#define BSP_CPU_ON_USES_SMC
/**
* @brief Zynq UltraScale+ MPSoC specific set up of the MMU.
@@ -68,6 +69,14 @@ extern "C" {
*/
BSP_START_TEXT_SECTION void zynqmp_setup_mmu_and_cache(void);
+/**
+ * @brief Zynq UltraScale+ MPSoC specific set up of the MMU for non-primary
+ * cores.
+ *
+ * Provide in the application to override the defaults in the BSP.
+ */
+BSP_START_TEXT_SECTION void zynqmp_setup_secondary_cpu_mmu_and_cache( void );
+
void zynqmp_debug_console_flush(void);
uint32_t zynqmp_clock_i2c0(void);
diff --git a/bsps/aarch64/xilinx-zynqmp/include/bsp/irq.h b/bsps/aarch64/xilinx-zynqmp/include/bsp/irq.h
index 9af41643bd..3ffb01d1df 100644
--- a/bsps/aarch64/xilinx-zynqmp/include/bsp/irq.h
+++ b/bsps/aarch64/xilinx-zynqmp/include/bsp/irq.h
@@ -48,7 +48,7 @@
extern "C" {
#endif /* __cplusplus */
-#define BSP_INTERRUPT_VECTOR_COUNT 1024
+#define BSP_INTERRUPT_VECTOR_COUNT 192
/* Interrupts vectors */
#define BSP_TIMER_VIRT_PPI 27
diff --git a/bsps/aarch64/xilinx-zynqmp/start/bspstarthooks.c b/bsps/aarch64/xilinx-zynqmp/start/bspstarthooks.c
index 7bd787592c..ad688088e5 100644
--- a/bsps/aarch64/xilinx-zynqmp/start/bspstarthooks.c
+++ b/bsps/aarch64/xilinx-zynqmp/start/bspstarthooks.c
@@ -38,12 +38,46 @@
#include <bsp.h>
#include <bsp/start.h>
-BSP_START_TEXT_SECTION void bsp_start_hook_0(void)
+#ifdef RTEMS_SMP
+#include <rtems/score/aarch64-system-registers.h>
+#include <rtems/score/smpimpl.h>
+
+#include <bsp/irq-generic.h>
+#endif
+
+BSP_START_TEXT_SECTION void bsp_start_hook_0( void )
{
- /* Do nothing */
+#ifdef RTEMS_SMP
+ uint32_t cpu_index_self;
+
+ cpu_index_self = _SMP_Get_current_processor();
+
+ if ( cpu_index_self != 0 ) {
+ if (
+ cpu_index_self >= rtems_configuration_get_maximum_processors()
+ || !_SMP_Should_start_processor( cpu_index_self )
+ ) {
+ while ( true ) {
+ _AARCH64_Wait_for_event();
+ }
+ }
+
+ /* Change the VBAR from the start to the normal vector table */
+ AArch64_start_set_vector_base();
+
+ zynqmp_setup_secondary_cpu_mmu_and_cache();
+ arm_gic_irq_initialize_secondary_cpu();
+
+ bsp_interrupt_vector_enable( ARM_GIC_IRQ_SGI_0 );
+ _SMP_Start_multitasking_on_secondary_processor(
+ _Per_CPU_Get_by_index( cpu_index_self )
+ );
+ }
+
+#endif
}
-BSP_START_TEXT_SECTION void bsp_start_hook_1(void)
+BSP_START_TEXT_SECTION void bsp_start_hook_1( void )
{
AArch64_start_set_vector_base();
bsp_start_copy_sections();
diff --git a/bsps/aarch64/xilinx-zynqmp/start/bspstartmmu.c b/bsps/aarch64/xilinx-zynqmp/start/bspstartmmu.c
index 8d302e97b5..33ca1eafab 100644
--- a/bsps/aarch64/xilinx-zynqmp/start/bspstartmmu.c
+++ b/bsps/aarch64/xilinx-zynqmp/start/bspstartmmu.c
@@ -37,17 +37,11 @@
#include <bsp.h>
#include <bsp/start.h>
#include <bsp/aarch64-mmu.h>
+#include <libcpu/mmu-vmsav8-64.h>
BSP_START_DATA_SECTION static const aarch64_mmu_config_entry
zynqmp_mmu_config_table[] = {
AARCH64_MMU_DEFAULT_SECTIONS,
-#if defined( RTEMS_SMP )
- {
- .begin = 0xffff0000U,
- .end = 0xffffffffU,
- .flags = AARCH64_MMU_DEVICE
- },
-#endif
{
.begin = 0xf9000000U,
.end = 0xf9100000U,
@@ -70,8 +64,27 @@ zynqmp_setup_mmu_and_cache( void )
{
aarch64_mmu_setup();
- aarch64_mmu_setup_translation_table_and_enable(
+ aarch64_mmu_setup_translation_table(
&zynqmp_mmu_config_table[ 0 ],
RTEMS_ARRAY_SIZE( zynqmp_mmu_config_table )
);
+
+ aarch64_mmu_enable();
+}
+
+/*
+ * Make weak and let the user override.
+ */
+BSP_START_TEXT_SECTION void zynqmp_setup_secondary_cpu_mmu_and_cache( void )
+__attribute__ ( ( weak ) );
+
+BSP_START_TEXT_SECTION void zynqmp_setup_secondary_cpu_mmu_and_cache( void )
+{
+ /* Perform basic MMU setup */
+ aarch64_mmu_setup();
+
+ /* Use the existing root page table already configured by CPU0 */
+ _AArch64_Write_ttbr0_el1( (uintptr_t) bsp_translation_table_base );
+
+ aarch64_mmu_enable();
}
diff --git a/bsps/arm/altera-cyclone-v/headers.am b/bsps/arm/altera-cyclone-v/headers.am
deleted file mode 100644
index f63ee38854..0000000000
--- a/bsps/arm/altera-cyclone-v/headers.am
+++ /dev/null
@@ -1,45 +0,0 @@
-## This file was generated by "./boostrap -H".
-
-include_HEADERS =
-include_HEADERS += ../../../../../../bsps/arm/altera-cyclone-v/include/bsp.h
-include_HEADERS += include/bspopts.h
-include_HEADERS += ../../../../../../bsps/arm/altera-cyclone-v/include/tm27.h
-
-include_bspdir = $(includedir)/bsp
-include_bsp_HEADERS =
-include_bsp_HEADERS += ../../../../../../bsps/arm/altera-cyclone-v/include/bsp/alt_16550_uart.h
-include_bsp_HEADERS += ../../../../../../bsps/arm/altera-cyclone-v/include/bsp/alt_address_space.h
-include_bsp_HEADERS += ../../../../../../bsps/arm/altera-cyclone-v/include/bsp/alt_cache.h
-include_bsp_HEADERS += ../../../../../../bsps/arm/altera-cyclone-v/include/bsp/alt_clock_group.h
-include_bsp_HEADERS += ../../../../../../bsps/arm/altera-cyclone-v/include/bsp/alt_clock_manager.h
-include_bsp_HEADERS += ../../../../../../bsps/arm/altera-cyclone-v/include/bsp/alt_dma.h
-include_bsp_HEADERS += ../../../../../../bsps/arm/altera-cyclone-v/include/bsp/alt_dma_common.h
-include_bsp_HEADERS += ../../../../../../bsps/arm/altera-cyclone-v/include/bsp/alt_dma_program.h
-include_bsp_HEADERS += ../../../../../../bsps/arm/altera-cyclone-v/include/bsp/alt_generalpurpose_io.h
-include_bsp_HEADERS += ../../../../../../bsps/arm/altera-cyclone-v/include/bsp/alt_hwlibs_ver.h
-include_bsp_HEADERS += ../../../../../../bsps/arm/altera-cyclone-v/include/bsp/alt_i2c.h
-include_bsp_HEADERS += ../../../../../../bsps/arm/altera-cyclone-v/include/bsp/alt_interrupt_common.h
-include_bsp_HEADERS += ../../../../../../bsps/arm/altera-cyclone-v/include/bsp/alt_mpu_registers.h
-include_bsp_HEADERS += ../../../../../../bsps/arm/altera-cyclone-v/include/bsp/alt_qspi_private.h
-include_bsp_HEADERS += ../../../../../../bsps/arm/altera-cyclone-v/include/bsp/alt_reset_manager.h
-include_bsp_HEADERS += ../../../../../../bsps/arm/altera-cyclone-v/include/bsp/hwlib.h
-include_bsp_HEADERS += ../../../../../../bsps/arm/altera-cyclone-v/include/bsp/i2cdrv.h
-include_bsp_HEADERS += ../../../../../../bsps/arm/altera-cyclone-v/include/bsp/irq.h
-
-include_bsp_socaldir = $(includedir)/bsp/socal
-include_bsp_socal_HEADERS =
-include_bsp_socal_HEADERS += ../../../../../../bsps/arm/altera-cyclone-v/include/bsp/socal/alt_acpidmap.h
-include_bsp_socal_HEADERS += ../../../../../../bsps/arm/altera-cyclone-v/include/bsp/socal/alt_clkmgr.h
-include_bsp_socal_HEADERS += ../../../../../../bsps/arm/altera-cyclone-v/include/bsp/socal/alt_dmanonsecure.h
-include_bsp_socal_HEADERS += ../../../../../../bsps/arm/altera-cyclone-v/include/bsp/socal/alt_dmasecure.h
-include_bsp_socal_HEADERS += ../../../../../../bsps/arm/altera-cyclone-v/include/bsp/socal/alt_gpio.h
-include_bsp_socal_HEADERS += ../../../../../../bsps/arm/altera-cyclone-v/include/bsp/socal/alt_i2c.h
-include_bsp_socal_HEADERS += ../../../../../../bsps/arm/altera-cyclone-v/include/bsp/socal/alt_l3.h
-include_bsp_socal_HEADERS += ../../../../../../bsps/arm/altera-cyclone-v/include/bsp/socal/alt_qspi.h
-include_bsp_socal_HEADERS += ../../../../../../bsps/arm/altera-cyclone-v/include/bsp/socal/alt_qspidata.h
-include_bsp_socal_HEADERS += ../../../../../../bsps/arm/altera-cyclone-v/include/bsp/socal/alt_rstmgr.h
-include_bsp_socal_HEADERS += ../../../../../../bsps/arm/altera-cyclone-v/include/bsp/socal/alt_sdr.h
-include_bsp_socal_HEADERS += ../../../../../../bsps/arm/altera-cyclone-v/include/bsp/socal/alt_sysmgr.h
-include_bsp_socal_HEADERS += ../../../../../../bsps/arm/altera-cyclone-v/include/bsp/socal/alt_uart.h
-include_bsp_socal_HEADERS += ../../../../../../bsps/arm/altera-cyclone-v/include/bsp/socal/hps.h
-include_bsp_socal_HEADERS += ../../../../../../bsps/arm/altera-cyclone-v/include/bsp/socal/socal.h
diff --git a/bsps/arm/altera-cyclone-v/start/bsp_specs b/bsps/arm/altera-cyclone-v/start/bsp_specs
deleted file mode 100644
index e69de29bb2..0000000000
--- a/bsps/arm/altera-cyclone-v/start/bsp_specs
+++ /dev/null
diff --git a/bsps/arm/atsam/headers.am b/bsps/arm/atsam/headers.am
deleted file mode 100644
index 70473c7ea1..0000000000
--- a/bsps/arm/atsam/headers.am
+++ /dev/null
@@ -1,270 +0,0 @@
-## This file was generated by "./boostrap -H".
-
-include_HEADERS =
-include_HEADERS += ../../../../../../bsps/arm/atsam/include/bsp.h
-include_HEADERS += include/bspopts.h
-include_HEADERS += ../../../../../../bsps/arm/atsam/include/tm27.h
-
-include_bspdir = $(includedir)/bsp
-include_bsp_HEADERS =
-include_bsp_HEADERS += ../../../../../../bsps/arm/atsam/include/bsp/atsam-clock-config.h
-include_bsp_HEADERS += ../../../../../../bsps/arm/atsam/include/bsp/atsam-i2c.h
-include_bsp_HEADERS += ../../../../../../bsps/arm/atsam/include/bsp/atsam-spi.h
-include_bsp_HEADERS += ../../../../../../bsps/arm/atsam/include/bsp/i2c.h
-include_bsp_HEADERS += ../../../../../../bsps/arm/atsam/include/bsp/iocopy.h
-include_bsp_HEADERS += ../../../../../../bsps/arm/atsam/include/bsp/irq.h
-include_bsp_HEADERS += ../../../../../../bsps/arm/atsam/include/bsp/pin-config.h
-include_bsp_HEADERS += ../../../../../../bsps/arm/atsam/include/bsp/power.h
-include_bsp_HEADERS += ../../../../../../bsps/arm/atsam/include/bsp/sc16is752.h
-include_bsp_HEADERS += ../../../../../../bsps/arm/atsam/include/bsp/spi.h
-
-include_libchipdir = $(includedir)/libchip
-include_libchip_HEADERS =
-include_libchip_HEADERS += ../../../../../../bsps/arm/atsam/include/libchip/chip.h
-include_libchip_HEADERS += ../../../../../../bsps/arm/atsam/include/libchip/compiler.h
-
-include_libchip_includedir = $(includedir)/libchip/include
-include_libchip_include_HEADERS =
-include_libchip_include_HEADERS += ../../../../../../bsps/arm/atsam/include/libchip/include/acc.h
-include_libchip_include_HEADERS += ../../../../../../bsps/arm/atsam/include/libchip/include/adc.h
-include_libchip_include_HEADERS += ../../../../../../bsps/arm/atsam/include/libchip/include/aes.h
-include_libchip_include_HEADERS += ../../../../../../bsps/arm/atsam/include/libchip/include/afe_dma.h
-include_libchip_include_HEADERS += ../../../../../../bsps/arm/atsam/include/libchip/include/afec.h
-include_libchip_include_HEADERS += ../../../../../../bsps/arm/atsam/include/libchip/include/chip.h
-include_libchip_include_HEADERS += ../../../../../../bsps/arm/atsam/include/libchip/include/dac_dma.h
-include_libchip_include_HEADERS += ../../../../../../bsps/arm/atsam/include/libchip/include/efc.h
-include_libchip_include_HEADERS += ../../../../../../bsps/arm/atsam/include/libchip/include/exceptions.h
-include_libchip_include_HEADERS += ../../../../../../bsps/arm/atsam/include/libchip/include/flashd.h
-include_libchip_include_HEADERS += ../../../../../../bsps/arm/atsam/include/libchip/include/gmac.h
-include_libchip_include_HEADERS += ../../../../../../bsps/arm/atsam/include/libchip/include/gmacd.h
-include_libchip_include_HEADERS += ../../../../../../bsps/arm/atsam/include/libchip/include/hsmci.h
-include_libchip_include_HEADERS += ../../../../../../bsps/arm/atsam/include/libchip/include/icm.h
-include_libchip_include_HEADERS += ../../../../../../bsps/arm/atsam/include/libchip/include/isi.h
-include_libchip_include_HEADERS += ../../../../../../bsps/arm/atsam/include/libchip/include/iso7816_4.h
-include_libchip_include_HEADERS += ../../../../../../bsps/arm/atsam/include/libchip/include/mcan.h
-include_libchip_include_HEADERS += ../../../../../../bsps/arm/atsam/include/libchip/include/mcid.h
-include_libchip_include_HEADERS += ../../../../../../bsps/arm/atsam/include/libchip/include/mediaLB.h
-include_libchip_include_HEADERS += ../../../../../../bsps/arm/atsam/include/libchip/include/mpu.h
-include_libchip_include_HEADERS += ../../../../../../bsps/arm/atsam/include/libchip/include/pio.h
-include_libchip_include_HEADERS += ../../../../../../bsps/arm/atsam/include/libchip/include/pio_capture.h
-include_libchip_include_HEADERS += ../../../../../../bsps/arm/atsam/include/libchip/include/pio_it.h
-include_libchip_include_HEADERS += ../../../../../../bsps/arm/atsam/include/libchip/include/pmc.h
-include_libchip_include_HEADERS += ../../../../../../bsps/arm/atsam/include/libchip/include/pwmc.h
-include_libchip_include_HEADERS += ../../../../../../bsps/arm/atsam/include/libchip/include/qspi.h
-include_libchip_include_HEADERS += ../../../../../../bsps/arm/atsam/include/libchip/include/qspi_dma.h
-include_libchip_include_HEADERS += ../../../../../../bsps/arm/atsam/include/libchip/include/rstc.h
-include_libchip_include_HEADERS += ../../../../../../bsps/arm/atsam/include/libchip/include/rtc.h
-include_libchip_include_HEADERS += ../../../../../../bsps/arm/atsam/include/libchip/include/rtt.h
-include_libchip_include_HEADERS += ../../../../../../bsps/arm/atsam/include/libchip/include/sdramc.h
-include_libchip_include_HEADERS += ../../../../../../bsps/arm/atsam/include/libchip/include/smc.h
-include_libchip_include_HEADERS += ../../../../../../bsps/arm/atsam/include/libchip/include/spi.h
-include_libchip_include_HEADERS += ../../../../../../bsps/arm/atsam/include/libchip/include/spi_dma.h
-include_libchip_include_HEADERS += ../../../../../../bsps/arm/atsam/include/libchip/include/ssc.h
-include_libchip_include_HEADERS += ../../../../../../bsps/arm/atsam/include/libchip/include/supc.h
-include_libchip_include_HEADERS += ../../../../../../bsps/arm/atsam/include/libchip/include/tc.h
-include_libchip_include_HEADERS += ../../../../../../bsps/arm/atsam/include/libchip/include/timetick.h
-include_libchip_include_HEADERS += ../../../../../../bsps/arm/atsam/include/libchip/include/trace.h
-include_libchip_include_HEADERS += ../../../../../../bsps/arm/atsam/include/libchip/include/trng.h
-include_libchip_include_HEADERS += ../../../../../../bsps/arm/atsam/include/libchip/include/twi.h
-include_libchip_include_HEADERS += ../../../../../../bsps/arm/atsam/include/libchip/include/twid.h
-include_libchip_include_HEADERS += ../../../../../../bsps/arm/atsam/include/libchip/include/uart.h
-include_libchip_include_HEADERS += ../../../../../../bsps/arm/atsam/include/libchip/include/uart_dma.h
-include_libchip_include_HEADERS += ../../../../../../bsps/arm/atsam/include/libchip/include/usart.h
-include_libchip_include_HEADERS += ../../../../../../bsps/arm/atsam/include/libchip/include/usart_dma.h
-include_libchip_include_HEADERS += ../../../../../../bsps/arm/atsam/include/libchip/include/usbhs.h
-include_libchip_include_HEADERS += ../../../../../../bsps/arm/atsam/include/libchip/include/video.h
-include_libchip_include_HEADERS += ../../../../../../bsps/arm/atsam/include/libchip/include/wdt.h
-include_libchip_include_HEADERS += ../../../../../../bsps/arm/atsam/include/libchip/include/xdma_hardware_interface.h
-include_libchip_include_HEADERS += ../../../../../../bsps/arm/atsam/include/libchip/include/xdmac.h
-include_libchip_include_HEADERS += ../../../../../../bsps/arm/atsam/include/libchip/include/xdmad.h
-
-include_libchip_include_same70dir = $(includedir)/libchip/include/same70
-include_libchip_include_same70_HEADERS =
-include_libchip_include_same70_HEADERS += ../../../../../../bsps/arm/atsam/include/libchip/include/same70/same70.h
-include_libchip_include_same70_HEADERS += ../../../../../../bsps/arm/atsam/include/libchip/include/same70/same70j19.h
-include_libchip_include_same70_HEADERS += ../../../../../../bsps/arm/atsam/include/libchip/include/same70/same70j20.h
-include_libchip_include_same70_HEADERS += ../../../../../../bsps/arm/atsam/include/libchip/include/same70/same70j21.h
-include_libchip_include_same70_HEADERS += ../../../../../../bsps/arm/atsam/include/libchip/include/same70/same70n19.h
-include_libchip_include_same70_HEADERS += ../../../../../../bsps/arm/atsam/include/libchip/include/same70/same70n20.h
-include_libchip_include_same70_HEADERS += ../../../../../../bsps/arm/atsam/include/libchip/include/same70/same70n21.h
-include_libchip_include_same70_HEADERS += ../../../../../../bsps/arm/atsam/include/libchip/include/same70/same70q19.h
-include_libchip_include_same70_HEADERS += ../../../../../../bsps/arm/atsam/include/libchip/include/same70/same70q20.h
-include_libchip_include_same70_HEADERS += ../../../../../../bsps/arm/atsam/include/libchip/include/same70/same70q21.h
-include_libchip_include_same70_HEADERS += ../../../../../../bsps/arm/atsam/include/libchip/include/same70/system_same70.h
-
-include_libchip_include_same70_componentdir = $(includedir)/libchip/include/same70/component
-include_libchip_include_same70_component_HEADERS =
-include_libchip_include_same70_component_HEADERS += ../../../../../../bsps/arm/atsam/include/libchip/include/same70/component/component_acc.h
-include_libchip_include_same70_component_HEADERS += ../../../../../../bsps/arm/atsam/include/libchip/include/same70/component/component_aes.h
-include_libchip_include_same70_component_HEADERS += ../../../../../../bsps/arm/atsam/include/libchip/include/same70/component/component_afec.h
-include_libchip_include_same70_component_HEADERS += ../../../../../../bsps/arm/atsam/include/libchip/include/same70/component/component_chipid.h
-include_libchip_include_same70_component_HEADERS += ../../../../../../bsps/arm/atsam/include/libchip/include/same70/component/component_dacc.h
-include_libchip_include_same70_component_HEADERS += ../../../../../../bsps/arm/atsam/include/libchip/include/same70/component/component_efc.h
-include_libchip_include_same70_component_HEADERS += ../../../../../../bsps/arm/atsam/include/libchip/include/same70/component/component_gmac.h
-include_libchip_include_same70_component_HEADERS += ../../../../../../bsps/arm/atsam/include/libchip/include/same70/component/component_gpbr.h
-include_libchip_include_same70_component_HEADERS += ../../../../../../bsps/arm/atsam/include/libchip/include/same70/component/component_hsmci.h
-include_libchip_include_same70_component_HEADERS += ../../../../../../bsps/arm/atsam/include/libchip/include/same70/component/component_icm.h
-include_libchip_include_same70_component_HEADERS += ../../../../../../bsps/arm/atsam/include/libchip/include/same70/component/component_isi.h
-include_libchip_include_same70_component_HEADERS += ../../../../../../bsps/arm/atsam/include/libchip/include/same70/component/component_matrix.h
-include_libchip_include_same70_component_HEADERS += ../../../../../../bsps/arm/atsam/include/libchip/include/same70/component/component_mcan.h
-include_libchip_include_same70_component_HEADERS += ../../../../../../bsps/arm/atsam/include/libchip/include/same70/component/component_pio.h
-include_libchip_include_same70_component_HEADERS += ../../../../../../bsps/arm/atsam/include/libchip/include/same70/component/component_pmc.h
-include_libchip_include_same70_component_HEADERS += ../../../../../../bsps/arm/atsam/include/libchip/include/same70/component/component_pwm.h
-include_libchip_include_same70_component_HEADERS += ../../../../../../bsps/arm/atsam/include/libchip/include/same70/component/component_qspi.h
-include_libchip_include_same70_component_HEADERS += ../../../../../../bsps/arm/atsam/include/libchip/include/same70/component/component_rstc.h
-include_libchip_include_same70_component_HEADERS += ../../../../../../bsps/arm/atsam/include/libchip/include/same70/component/component_rswdt.h
-include_libchip_include_same70_component_HEADERS += ../../../../../../bsps/arm/atsam/include/libchip/include/same70/component/component_rtc.h
-include_libchip_include_same70_component_HEADERS += ../../../../../../bsps/arm/atsam/include/libchip/include/same70/component/component_rtt.h
-include_libchip_include_same70_component_HEADERS += ../../../../../../bsps/arm/atsam/include/libchip/include/same70/component/component_sdramc.h
-include_libchip_include_same70_component_HEADERS += ../../../../../../bsps/arm/atsam/include/libchip/include/same70/component/component_smc.h
-include_libchip_include_same70_component_HEADERS += ../../../../../../bsps/arm/atsam/include/libchip/include/same70/component/component_spi.h
-include_libchip_include_same70_component_HEADERS += ../../../../../../bsps/arm/atsam/include/libchip/include/same70/component/component_ssc.h
-include_libchip_include_same70_component_HEADERS += ../../../../../../bsps/arm/atsam/include/libchip/include/same70/component/component_supc.h
-include_libchip_include_same70_component_HEADERS += ../../../../../../bsps/arm/atsam/include/libchip/include/same70/component/component_tc.h
-include_libchip_include_same70_component_HEADERS += ../../../../../../bsps/arm/atsam/include/libchip/include/same70/component/component_trng.h
-include_libchip_include_same70_component_HEADERS += ../../../../../../bsps/arm/atsam/include/libchip/include/same70/component/component_twihs.h
-include_libchip_include_same70_component_HEADERS += ../../../../../../bsps/arm/atsam/include/libchip/include/same70/component/component_uart.h
-include_libchip_include_same70_component_HEADERS += ../../../../../../bsps/arm/atsam/include/libchip/include/same70/component/component_usart.h
-include_libchip_include_same70_component_HEADERS += ../../../../../../bsps/arm/atsam/include/libchip/include/same70/component/component_usbhs.h
-include_libchip_include_same70_component_HEADERS += ../../../../../../bsps/arm/atsam/include/libchip/include/same70/component/component_utmi.h
-include_libchip_include_same70_component_HEADERS += ../../../../../../bsps/arm/atsam/include/libchip/include/same70/component/component_wdt.h
-include_libchip_include_same70_component_HEADERS += ../../../../../../bsps/arm/atsam/include/libchip/include/same70/component/component_xdmac.h
-
-include_libchip_include_same70_piodir = $(includedir)/libchip/include/same70/pio
-include_libchip_include_same70_pio_HEADERS =
-include_libchip_include_same70_pio_HEADERS += ../../../../../../bsps/arm/atsam/include/libchip/include/same70/pio/pio_same70j19.h
-include_libchip_include_same70_pio_HEADERS += ../../../../../../bsps/arm/atsam/include/libchip/include/same70/pio/pio_same70j20.h
-include_libchip_include_same70_pio_HEADERS += ../../../../../../bsps/arm/atsam/include/libchip/include/same70/pio/pio_same70j21.h
-include_libchip_include_same70_pio_HEADERS += ../../../../../../bsps/arm/atsam/include/libchip/include/same70/pio/pio_same70n19.h
-include_libchip_include_same70_pio_HEADERS += ../../../../../../bsps/arm/atsam/include/libchip/include/same70/pio/pio_same70n20.h
-include_libchip_include_same70_pio_HEADERS += ../../../../../../bsps/arm/atsam/include/libchip/include/same70/pio/pio_same70n21.h
-include_libchip_include_same70_pio_HEADERS += ../../../../../../bsps/arm/atsam/include/libchip/include/same70/pio/pio_same70q19.h
-include_libchip_include_same70_pio_HEADERS += ../../../../../../bsps/arm/atsam/include/libchip/include/same70/pio/pio_same70q20.h
-include_libchip_include_same70_pio_HEADERS += ../../../../../../bsps/arm/atsam/include/libchip/include/same70/pio/pio_same70q21.h
-
-include_libchip_include_sams70dir = $(includedir)/libchip/include/sams70
-include_libchip_include_sams70_HEADERS =
-include_libchip_include_sams70_HEADERS += ../../../../../../bsps/arm/atsam/include/libchip/include/sams70/sams70.h
-include_libchip_include_sams70_HEADERS += ../../../../../../bsps/arm/atsam/include/libchip/include/sams70/sams70j19.h
-include_libchip_include_sams70_HEADERS += ../../../../../../bsps/arm/atsam/include/libchip/include/sams70/sams70j20.h
-include_libchip_include_sams70_HEADERS += ../../../../../../bsps/arm/atsam/include/libchip/include/sams70/sams70j21.h
-include_libchip_include_sams70_HEADERS += ../../../../../../bsps/arm/atsam/include/libchip/include/sams70/sams70n19.h
-include_libchip_include_sams70_HEADERS += ../../../../../../bsps/arm/atsam/include/libchip/include/sams70/sams70n20.h
-include_libchip_include_sams70_HEADERS += ../../../../../../bsps/arm/atsam/include/libchip/include/sams70/sams70n21.h
-include_libchip_include_sams70_HEADERS += ../../../../../../bsps/arm/atsam/include/libchip/include/sams70/sams70q19.h
-include_libchip_include_sams70_HEADERS += ../../../../../../bsps/arm/atsam/include/libchip/include/sams70/sams70q20.h
-include_libchip_include_sams70_HEADERS += ../../../../../../bsps/arm/atsam/include/libchip/include/sams70/sams70q21.h
-include_libchip_include_sams70_HEADERS += ../../../../../../bsps/arm/atsam/include/libchip/include/sams70/system_sams70.h
-
-include_libchip_include_sams70_componentdir = $(includedir)/libchip/include/sams70/component
-include_libchip_include_sams70_component_HEADERS =
-include_libchip_include_sams70_component_HEADERS += ../../../../../../bsps/arm/atsam/include/libchip/include/sams70/component/component_acc.h
-include_libchip_include_sams70_component_HEADERS += ../../../../../../bsps/arm/atsam/include/libchip/include/sams70/component/component_aes.h
-include_libchip_include_sams70_component_HEADERS += ../../../../../../bsps/arm/atsam/include/libchip/include/sams70/component/component_afec.h
-include_libchip_include_sams70_component_HEADERS += ../../../../../../bsps/arm/atsam/include/libchip/include/sams70/component/component_chipid.h
-include_libchip_include_sams70_component_HEADERS += ../../../../../../bsps/arm/atsam/include/libchip/include/sams70/component/component_dacc.h
-include_libchip_include_sams70_component_HEADERS += ../../../../../../bsps/arm/atsam/include/libchip/include/sams70/component/component_efc.h
-include_libchip_include_sams70_component_HEADERS += ../../../../../../bsps/arm/atsam/include/libchip/include/sams70/component/component_gpbr.h
-include_libchip_include_sams70_component_HEADERS += ../../../../../../bsps/arm/atsam/include/libchip/include/sams70/component/component_hsmci.h
-include_libchip_include_sams70_component_HEADERS += ../../../../../../bsps/arm/atsam/include/libchip/include/sams70/component/component_icm.h
-include_libchip_include_sams70_component_HEADERS += ../../../../../../bsps/arm/atsam/include/libchip/include/sams70/component/component_isi.h
-include_libchip_include_sams70_component_HEADERS += ../../../../../../bsps/arm/atsam/include/libchip/include/sams70/component/component_matrix.h
-include_libchip_include_sams70_component_HEADERS += ../../../../../../bsps/arm/atsam/include/libchip/include/sams70/component/component_pio.h
-include_libchip_include_sams70_component_HEADERS += ../../../../../../bsps/arm/atsam/include/libchip/include/sams70/component/component_pmc.h
-include_libchip_include_sams70_component_HEADERS += ../../../../../../bsps/arm/atsam/include/libchip/include/sams70/component/component_pwm.h
-include_libchip_include_sams70_component_HEADERS += ../../../../../../bsps/arm/atsam/include/libchip/include/sams70/component/component_qspi.h
-include_libchip_include_sams70_component_HEADERS += ../../../../../../bsps/arm/atsam/include/libchip/include/sams70/component/component_rstc.h
-include_libchip_include_sams70_component_HEADERS += ../../../../../../bsps/arm/atsam/include/libchip/include/sams70/component/component_rswdt.h
-include_libchip_include_sams70_component_HEADERS += ../../../../../../bsps/arm/atsam/include/libchip/include/sams70/component/component_rtc.h
-include_libchip_include_sams70_component_HEADERS += ../../../../../../bsps/arm/atsam/include/libchip/include/sams70/component/component_rtt.h
-include_libchip_include_sams70_component_HEADERS += ../../../../../../bsps/arm/atsam/include/libchip/include/sams70/component/component_sdramc.h
-include_libchip_include_sams70_component_HEADERS += ../../../../../../bsps/arm/atsam/include/libchip/include/sams70/component/component_smc.h
-include_libchip_include_sams70_component_HEADERS += ../../../../../../bsps/arm/atsam/include/libchip/include/sams70/component/component_spi.h
-include_libchip_include_sams70_component_HEADERS += ../../../../../../bsps/arm/atsam/include/libchip/include/sams70/component/component_ssc.h
-include_libchip_include_sams70_component_HEADERS += ../../../../../../bsps/arm/atsam/include/libchip/include/sams70/component/component_supc.h
-include_libchip_include_sams70_component_HEADERS += ../../../../../../bsps/arm/atsam/include/libchip/include/sams70/component/component_tc.h
-include_libchip_include_sams70_component_HEADERS += ../../../../../../bsps/arm/atsam/include/libchip/include/sams70/component/component_trng.h
-include_libchip_include_sams70_component_HEADERS += ../../../../../../bsps/arm/atsam/include/libchip/include/sams70/component/component_twihs.h
-include_libchip_include_sams70_component_HEADERS += ../../../../../../bsps/arm/atsam/include/libchip/include/sams70/component/component_uart.h
-include_libchip_include_sams70_component_HEADERS += ../../../../../../bsps/arm/atsam/include/libchip/include/sams70/component/component_usart.h
-include_libchip_include_sams70_component_HEADERS += ../../../../../../bsps/arm/atsam/include/libchip/include/sams70/component/component_usbhs.h
-include_libchip_include_sams70_component_HEADERS += ../../../../../../bsps/arm/atsam/include/libchip/include/sams70/component/component_utmi.h
-include_libchip_include_sams70_component_HEADERS += ../../../../../../bsps/arm/atsam/include/libchip/include/sams70/component/component_wdt.h
-include_libchip_include_sams70_component_HEADERS += ../../../../../../bsps/arm/atsam/include/libchip/include/sams70/component/component_xdmac.h
-
-include_libchip_include_sams70_piodir = $(includedir)/libchip/include/sams70/pio
-include_libchip_include_sams70_pio_HEADERS =
-include_libchip_include_sams70_pio_HEADERS += ../../../../../../bsps/arm/atsam/include/libchip/include/sams70/pio/pio_sams70j19.h
-include_libchip_include_sams70_pio_HEADERS += ../../../../../../bsps/arm/atsam/include/libchip/include/sams70/pio/pio_sams70j20.h
-include_libchip_include_sams70_pio_HEADERS += ../../../../../../bsps/arm/atsam/include/libchip/include/sams70/pio/pio_sams70j21.h
-include_libchip_include_sams70_pio_HEADERS += ../../../../../../bsps/arm/atsam/include/libchip/include/sams70/pio/pio_sams70n19.h
-include_libchip_include_sams70_pio_HEADERS += ../../../../../../bsps/arm/atsam/include/libchip/include/sams70/pio/pio_sams70n20.h
-include_libchip_include_sams70_pio_HEADERS += ../../../../../../bsps/arm/atsam/include/libchip/include/sams70/pio/pio_sams70n21.h
-include_libchip_include_sams70_pio_HEADERS += ../../../../../../bsps/arm/atsam/include/libchip/include/sams70/pio/pio_sams70q19.h
-include_libchip_include_sams70_pio_HEADERS += ../../../../../../bsps/arm/atsam/include/libchip/include/sams70/pio/pio_sams70q20.h
-include_libchip_include_sams70_pio_HEADERS += ../../../../../../bsps/arm/atsam/include/libchip/include/sams70/pio/pio_sams70q21.h
-
-include_libchip_include_samv71dir = $(includedir)/libchip/include/samv71
-include_libchip_include_samv71_HEADERS =
-include_libchip_include_samv71_HEADERS += ../../../../../../bsps/arm/atsam/include/libchip/include/samv71/samv71.h
-include_libchip_include_samv71_HEADERS += ../../../../../../bsps/arm/atsam/include/libchip/include/samv71/samv71j19.h
-include_libchip_include_samv71_HEADERS += ../../../../../../bsps/arm/atsam/include/libchip/include/samv71/samv71j20.h
-include_libchip_include_samv71_HEADERS += ../../../../../../bsps/arm/atsam/include/libchip/include/samv71/samv71j21.h
-include_libchip_include_samv71_HEADERS += ../../../../../../bsps/arm/atsam/include/libchip/include/samv71/samv71n19.h
-include_libchip_include_samv71_HEADERS += ../../../../../../bsps/arm/atsam/include/libchip/include/samv71/samv71n20.h
-include_libchip_include_samv71_HEADERS += ../../../../../../bsps/arm/atsam/include/libchip/include/samv71/samv71n21.h
-include_libchip_include_samv71_HEADERS += ../../../../../../bsps/arm/atsam/include/libchip/include/samv71/samv71q19.h
-include_libchip_include_samv71_HEADERS += ../../../../../../bsps/arm/atsam/include/libchip/include/samv71/samv71q20.h
-include_libchip_include_samv71_HEADERS += ../../../../../../bsps/arm/atsam/include/libchip/include/samv71/samv71q21.h
-include_libchip_include_samv71_HEADERS += ../../../../../../bsps/arm/atsam/include/libchip/include/samv71/system_samv71.h
-
-include_libchip_include_samv71_componentdir = $(includedir)/libchip/include/samv71/component
-include_libchip_include_samv71_component_HEADERS =
-include_libchip_include_samv71_component_HEADERS += ../../../../../../bsps/arm/atsam/include/libchip/include/samv71/component/component_acc.h
-include_libchip_include_samv71_component_HEADERS += ../../../../../../bsps/arm/atsam/include/libchip/include/samv71/component/component_aes.h
-include_libchip_include_samv71_component_HEADERS += ../../../../../../bsps/arm/atsam/include/libchip/include/samv71/component/component_afec.h
-include_libchip_include_samv71_component_HEADERS += ../../../../../../bsps/arm/atsam/include/libchip/include/samv71/component/component_chipid.h
-include_libchip_include_samv71_component_HEADERS += ../../../../../../bsps/arm/atsam/include/libchip/include/samv71/component/component_dacc.h
-include_libchip_include_samv71_component_HEADERS += ../../../../../../bsps/arm/atsam/include/libchip/include/samv71/component/component_efc.h
-include_libchip_include_samv71_component_HEADERS += ../../../../../../bsps/arm/atsam/include/libchip/include/samv71/component/component_gmac.h
-include_libchip_include_samv71_component_HEADERS += ../../../../../../bsps/arm/atsam/include/libchip/include/samv71/component/component_gpbr.h
-include_libchip_include_samv71_component_HEADERS += ../../../../../../bsps/arm/atsam/include/libchip/include/samv71/component/component_hsmci.h
-include_libchip_include_samv71_component_HEADERS += ../../../../../../bsps/arm/atsam/include/libchip/include/samv71/component/component_icm.h
-include_libchip_include_samv71_component_HEADERS += ../../../../../../bsps/arm/atsam/include/libchip/include/samv71/component/component_isi.h
-include_libchip_include_samv71_component_HEADERS += ../../../../../../bsps/arm/atsam/include/libchip/include/samv71/component/component_matrix.h
-include_libchip_include_samv71_component_HEADERS += ../../../../../../bsps/arm/atsam/include/libchip/include/samv71/component/component_mcan.h
-include_libchip_include_samv71_component_HEADERS += ../../../../../../bsps/arm/atsam/include/libchip/include/samv71/component/component_mlb.h
-include_libchip_include_samv71_component_HEADERS += ../../../../../../bsps/arm/atsam/include/libchip/include/samv71/component/component_pio.h
-include_libchip_include_samv71_component_HEADERS += ../../../../../../bsps/arm/atsam/include/libchip/include/samv71/component/component_pmc.h
-include_libchip_include_samv71_component_HEADERS += ../../../../../../bsps/arm/atsam/include/libchip/include/samv71/component/component_pwm.h
-include_libchip_include_samv71_component_HEADERS += ../../../../../../bsps/arm/atsam/include/libchip/include/samv71/component/component_qspi.h
-include_libchip_include_samv71_component_HEADERS += ../../../../../../bsps/arm/atsam/include/libchip/include/samv71/component/component_rstc.h
-include_libchip_include_samv71_component_HEADERS += ../../../../../../bsps/arm/atsam/include/libchip/include/samv71/component/component_rswdt.h
-include_libchip_include_samv71_component_HEADERS += ../../../../../../bsps/arm/atsam/include/libchip/include/samv71/component/component_rtc.h
-include_libchip_include_samv71_component_HEADERS += ../../../../../../bsps/arm/atsam/include/libchip/include/samv71/component/component_rtt.h
-include_libchip_include_samv71_component_HEADERS += ../../../../../../bsps/arm/atsam/include/libchip/include/samv71/component/component_sdramc.h
-include_libchip_include_samv71_component_HEADERS += ../../../../../../bsps/arm/atsam/include/libchip/include/samv71/component/component_smc.h
-include_libchip_include_samv71_component_HEADERS += ../../../../../../bsps/arm/atsam/include/libchip/include/samv71/component/component_spi.h
-include_libchip_include_samv71_component_HEADERS += ../../../../../../bsps/arm/atsam/include/libchip/include/samv71/component/component_ssc.h
-include_libchip_include_samv71_component_HEADERS += ../../../../../../bsps/arm/atsam/include/libchip/include/samv71/component/component_supc.h
-include_libchip_include_samv71_component_HEADERS += ../../../../../../bsps/arm/atsam/include/libchip/include/samv71/component/component_tc.h
-include_libchip_include_samv71_component_HEADERS += ../../../../../../bsps/arm/atsam/include/libchip/include/samv71/component/component_trng.h
-include_libchip_include_samv71_component_HEADERS += ../../../../../../bsps/arm/atsam/include/libchip/include/samv71/component/component_twihs.h
-include_libchip_include_samv71_component_HEADERS += ../../../../../../bsps/arm/atsam/include/libchip/include/samv71/component/component_uart.h
-include_libchip_include_samv71_component_HEADERS += ../../../../../../bsps/arm/atsam/include/libchip/include/samv71/component/component_usart.h
-include_libchip_include_samv71_component_HEADERS += ../../../../../../bsps/arm/atsam/include/libchip/include/samv71/component/component_usbhs.h
-include_libchip_include_samv71_component_HEADERS += ../../../../../../bsps/arm/atsam/include/libchip/include/samv71/component/component_utmi.h
-include_libchip_include_samv71_component_HEADERS += ../../../../../../bsps/arm/atsam/include/libchip/include/samv71/component/component_wdt.h
-include_libchip_include_samv71_component_HEADERS += ../../../../../../bsps/arm/atsam/include/libchip/include/samv71/component/component_xdmac.h
-
-include_libchip_include_samv71_piodir = $(includedir)/libchip/include/samv71/pio
-include_libchip_include_samv71_pio_HEADERS =
-include_libchip_include_samv71_pio_HEADERS += ../../../../../../bsps/arm/atsam/include/libchip/include/samv71/pio/pio_samv71j19.h
-include_libchip_include_samv71_pio_HEADERS += ../../../../../../bsps/arm/atsam/include/libchip/include/samv71/pio/pio_samv71j20.h
-include_libchip_include_samv71_pio_HEADERS += ../../../../../../bsps/arm/atsam/include/libchip/include/samv71/pio/pio_samv71j21.h
-include_libchip_include_samv71_pio_HEADERS += ../../../../../../bsps/arm/atsam/include/libchip/include/samv71/pio/pio_samv71n19.h
-include_libchip_include_samv71_pio_HEADERS += ../../../../../../bsps/arm/atsam/include/libchip/include/samv71/pio/pio_samv71n20.h
-include_libchip_include_samv71_pio_HEADERS += ../../../../../../bsps/arm/atsam/include/libchip/include/samv71/pio/pio_samv71n21.h
-include_libchip_include_samv71_pio_HEADERS += ../../../../../../bsps/arm/atsam/include/libchip/include/samv71/pio/pio_samv71q19.h
-include_libchip_include_samv71_pio_HEADERS += ../../../../../../bsps/arm/atsam/include/libchip/include/samv71/pio/pio_samv71q20.h
-include_libchip_include_samv71_pio_HEADERS += ../../../../../../bsps/arm/atsam/include/libchip/include/samv71/pio/pio_samv71q21.h
diff --git a/bsps/arm/atsam/start/bsp_specs b/bsps/arm/atsam/start/bsp_specs
deleted file mode 100644
index e69de29bb2..0000000000
--- a/bsps/arm/atsam/start/bsp_specs
+++ /dev/null
diff --git a/bsps/arm/atsam/start/linkcmds.memory.in b/bsps/arm/atsam/start/linkcmds.memory.in
deleted file mode 100644
index de4d818283..0000000000
--- a/bsps/arm/atsam/start/linkcmds.memory.in
+++ /dev/null
@@ -1,39 +0,0 @@
-MEMORY {
- ITCM : ORIGIN = 0x00000000, LENGTH = @ATSAM_MEMORY_TCM_SIZE@
- INTFLASH : ORIGIN = 0x00400000, LENGTH = @ATSAM_MEMORY_INTFLASH_SIZE@
- DTCM : ORIGIN = 0x20000000, LENGTH = @ATSAM_MEMORY_TCM_SIZE@
- INTSRAM : ORIGIN = 0x20400000, LENGTH = @ATSAM_MEMORY_INTSRAM_SIZE@ - 2 * @ATSAM_MEMORY_TCM_SIZE@ - @ATSAM_MEMORY_NOCACHE_SIZE@
- NOCACHE : ORIGIN = 0x20400000 + @ATSAM_MEMORY_INTSRAM_SIZE@ - 2 * @ATSAM_MEMORY_TCM_SIZE@ - @ATSAM_MEMORY_NOCACHE_SIZE@, LENGTH = @ATSAM_MEMORY_NOCACHE_SIZE@
- SDRAM : ORIGIN = 0x70000000, LENGTH = @ATSAM_MEMORY_SDRAM_SIZE@
- QSPIFLASH : ORIGIN = 0x80000000, LENGTH = @ATSAM_MEMORY_QSPIFLASH_SIZE@
-}
-
-/* Must be used only for MPU definitions */
-
-atsam_memory_itcm_begin = ORIGIN (ITCM);
-atsam_memory_itcm_end = ORIGIN (ITCM) + LENGTH (ITCM);
-atsam_memory_itcm_size = LENGTH (ITCM);
-
-atsam_memory_intflash_begin = ORIGIN (INTFLASH);
-atsam_memory_intflash_end = ORIGIN (INTFLASH) + LENGTH (INTFLASH);
-atsam_memory_intflash_size = LENGTH (INTFLASH);
-
-atsam_memory_dtcm_begin = ORIGIN (DTCM);
-atsam_memory_dtcm_end = ORIGIN (DTCM) + LENGTH (DTCM);
-atsam_memory_dtcm_size = LENGTH (DTCM);
-
-atsam_memory_intsram_begin = ORIGIN (INTSRAM);
-atsam_memory_intsram_end = ORIGIN (INTSRAM) + LENGTH (INTSRAM);
-atsam_memory_intsram_size = LENGTH (INTSRAM);
-
-atsam_memory_nocache_begin = ORIGIN (NOCACHE);
-atsam_memory_nocache_end = ORIGIN (NOCACHE) + LENGTH (NOCACHE);
-atsam_memory_nocache_size = LENGTH (NOCACHE);
-
-atsam_memory_sdram_begin = ORIGIN (SDRAM);
-atsam_memory_sdram_end = ORIGIN (SDRAM) + LENGTH (SDRAM);
-atsam_memory_sdram_size = LENGTH (SDRAM);
-
-atsam_memory_qspiflash_begin = ORIGIN (QSPIFLASH);
-atsam_memory_qspiflash_end = ORIGIN (QSPIFLASH) + LENGTH (QSPIFLASH);
-atsam_memory_qspiflash_size = LENGTH (QSPIFLASH);
diff --git a/bsps/arm/beagle/headers.am b/bsps/arm/beagle/headers.am
deleted file mode 100644
index e4a746b2e1..0000000000
--- a/bsps/arm/beagle/headers.am
+++ /dev/null
@@ -1,17 +0,0 @@
-## This file was generated by "./boostrap -H".
-
-include_HEADERS =
-include_HEADERS += ../../../../../../bsps/arm/beagle/include/bsp.h
-include_HEADERS += include/bspopts.h
-include_HEADERS += ../../../../../../bsps/arm/beagle/include/tm27.h
-
-include_bspdir = $(includedir)/bsp
-include_bsp_HEADERS =
-include_bsp_HEADERS += ../../../../../../bsps/arm/beagle/include/bsp/bbb-gpio.h
-include_bsp_HEADERS += ../../../../../../bsps/arm/beagle/include/bsp/bbb-pwm.h
-include_bsp_HEADERS += ../../../../../../bsps/arm/beagle/include/bsp/beagleboneblack.h
-include_bsp_HEADERS += ../../../../../../bsps/arm/beagle/include/bsp/i2c.h
-include_bsp_HEADERS += ../../../../../../bsps/arm/beagle/include/bsp/irq.h
-include_bsp_HEADERS += ../../../../../../bsps/arm/beagle/include/bsp/spi.h
-include_bsp_HEADERS += ../../../../../../bsps/arm/beagle/include/bsp/qep.h
-include_bsp_HEADERS += ../../../../../../bsps/arm/beagle/include/bsp/pwmss.h
diff --git a/bsps/arm/beagle/simscripts/qemu-beagleboard.in b/bsps/arm/beagle/simscripts/qemu-beagleboard.in
deleted file mode 100644
index 47c3bf489d..0000000000
--- a/bsps/arm/beagle/simscripts/qemu-beagleboard.in
+++ /dev/null
@@ -1,63 +0,0 @@
-#
-# ARM/BeagleBoard Qemu Support
-#
-
-bspUsesGDBSimulator="no"
-# bspGeneratesGDBCommands="yes"
-# bspSupportsGDBServerMode="yes"
-runBSP=NOT_OVERRIDDEN
-if [ ! -r ${runBSP} ] ; then
- runBSP=qemu-system-arm
-fi
-bspNeedsDos2Unix="yes"
-bspGeneratesDeviceTree="yes"
-bspInputDevice=qemu-gumstix.cmds
-bspTreeFile=qemu-gumstix.cmds
-bspRedirectInput=yes
-
-runARGS()
-{
-# qemu-system-arm -M connex -m 289 -nographic -monitor null -pflash connex-flash.img <cmds >log
-
- UBOOT=${HOME}/qemu/u-boot-connex-400-r1604.bin
- FLASH=connex-flash.img
- ( dd of=${FLASH} bs=128k count=128 if=/dev/zero ;
- dd of=${FLASH} bs=128k conv=notrunc if=${UBOOT} ;
- dd of=${FLASH} bs=1k conv=notrunc seek=4096 if=${1} ) >/dev/null 2>&1
-
- if [ ${coverage} = yes ] ; then
- rm -f trace ${1}.tra
- COVERAGE_ARG="-trace ${1}.tra"
- fi
-
- echo "-M connex -m 289 -nographic -monitor null \
- -pflash ${FLASH} ${COVERAGE_ARG}"
-}
-
-checkBSPFaults()
-{
- return 0
-}
-
-bspLimit()
-{
- testname=$1
- case ${testname} in
- *stackchk*)limit=5 ;;
- *fatal*) limit=1 ;;
- *minimum*) limit=1 ;;
- *psxtime*) limit=180 ;;
- *) limit=60 ;;
- esac
- echo ${limit}
-}
-
-### Generate the commands we boot with
-bspGenerateDeviceTree()
-{
-cat >qemu-gumstix.cmds <<EOF
-
-bootelf 0x400000
-
-EOF
-}
diff --git a/bsps/arm/beagle/start/bsp_specs b/bsps/arm/beagle/start/bsp_specs
deleted file mode 100644
index e69de29bb2..0000000000
--- a/bsps/arm/beagle/start/bsp_specs
+++ /dev/null
diff --git a/bsps/arm/csb336/headers.am b/bsps/arm/csb336/headers.am
deleted file mode 100644
index 911de17b50..0000000000
--- a/bsps/arm/csb336/headers.am
+++ /dev/null
@@ -1,11 +0,0 @@
-## This file was generated by "./boostrap -H".
-
-include_HEADERS =
-include_HEADERS += ../../../../../../bsps/arm/csb336/include/bsp.h
-include_HEADERS += include/bspopts.h
-include_HEADERS += ../../../../../../bsps/arm/csb336/include/mc9328mxl.h
-include_HEADERS += ../../../../../../bsps/arm/csb336/include/tm27.h
-
-include_bspdir = $(includedir)/bsp
-include_bsp_HEADERS =
-include_bsp_HEADERS += ../../../../../../bsps/arm/csb336/include/bsp/irq.h
diff --git a/bsps/arm/csb336/start/bsp_specs b/bsps/arm/csb336/start/bsp_specs
deleted file mode 100644
index e69de29bb2..0000000000
--- a/bsps/arm/csb336/start/bsp_specs
+++ /dev/null
diff --git a/bsps/arm/csb337/headers.am b/bsps/arm/csb337/headers.am
deleted file mode 100644
index 4fff8adeac..0000000000
--- a/bsps/arm/csb337/headers.am
+++ /dev/null
@@ -1,21 +0,0 @@
-## This file was generated by "./boostrap -H".
-
-include_HEADERS =
-include_HEADERS += ../../../../../../bsps/arm/csb337/include/at91rm9200.h
-include_HEADERS += ../../../../../../bsps/arm/csb337/include/at91rm9200_dbgu.h
-include_HEADERS += ../../../../../../bsps/arm/csb337/include/at91rm9200_emac.h
-include_HEADERS += ../../../../../../bsps/arm/csb337/include/at91rm9200_gpio.h
-include_HEADERS += ../../../../../../bsps/arm/csb337/include/at91rm9200_mem.h
-include_HEADERS += ../../../../../../bsps/arm/csb337/include/at91rm9200_pmc.h
-include_HEADERS += ../../../../../../bsps/arm/csb337/include/at91rm9200_usart.h
-include_HEADERS += ../../../../../../bsps/arm/csb337/include/bits.h
-include_HEADERS += ../../../../../../bsps/arm/csb337/include/bsp.h
-include_HEADERS += include/bspopts.h
-include_HEADERS += ../../../../../../bsps/arm/csb337/include/font8x16.h
-include_HEADERS += ../../../../../../bsps/arm/csb337/include/sed1356.h
-include_HEADERS += ../../../../../../bsps/arm/csb337/include/sed1356_16bit.h
-include_HEADERS += ../../../../../../bsps/arm/csb337/include/tm27.h
-
-include_bspdir = $(includedir)/bsp
-include_bsp_HEADERS =
-include_bsp_HEADERS += ../../../../../../bsps/arm/csb337/include/bsp/irq.h
diff --git a/bsps/arm/csb337/start/bsp_specs b/bsps/arm/csb337/start/bsp_specs
deleted file mode 100644
index e69de29bb2..0000000000
--- a/bsps/arm/csb337/start/bsp_specs
+++ /dev/null
diff --git a/bsps/arm/edb7312/headers.am b/bsps/arm/edb7312/headers.am
deleted file mode 100644
index 706c1e138e..0000000000
--- a/bsps/arm/edb7312/headers.am
+++ /dev/null
@@ -1,11 +0,0 @@
-## This file was generated by "./boostrap -H".
-
-include_HEADERS =
-include_HEADERS += ../../../../../../bsps/arm/edb7312/include/bsp.h
-include_HEADERS += include/bspopts.h
-include_HEADERS += ../../../../../../bsps/arm/edb7312/include/ep7312.h
-include_HEADERS += ../../../../../../bsps/arm/edb7312/include/tm27.h
-
-include_bspdir = $(includedir)/bsp
-include_bsp_HEADERS =
-include_bsp_HEADERS += ../../../../../../bsps/arm/edb7312/include/bsp/irq.h
diff --git a/bsps/arm/edb7312/start/bsp_specs b/bsps/arm/edb7312/start/bsp_specs
deleted file mode 100644
index e69de29bb2..0000000000
--- a/bsps/arm/edb7312/start/bsp_specs
+++ /dev/null
diff --git a/bsps/arm/gumstix/headers.am b/bsps/arm/gumstix/headers.am
deleted file mode 100644
index 410ad6cf75..0000000000
--- a/bsps/arm/gumstix/headers.am
+++ /dev/null
@@ -1,12 +0,0 @@
-## This file was generated by "./boostrap -H".
-
-include_HEADERS =
-include_HEADERS += ../../../../../../bsps/arm/gumstix/include/bsp.h
-include_HEADERS += include/bspopts.h
-include_HEADERS += ../../../../../../bsps/arm/gumstix/include/ffuart.h
-include_HEADERS += ../../../../../../bsps/arm/gumstix/include/pxa255.h
-include_HEADERS += ../../../../../../bsps/arm/gumstix/include/tm27.h
-
-include_bspdir = $(includedir)/bsp
-include_bsp_HEADERS =
-include_bsp_HEADERS += ../../../../../../bsps/arm/gumstix/include/bsp/irq.h
diff --git a/bsps/arm/gumstix/start/bsp_specs b/bsps/arm/gumstix/start/bsp_specs
deleted file mode 100644
index e69de29bb2..0000000000
--- a/bsps/arm/gumstix/start/bsp_specs
+++ /dev/null
diff --git a/bsps/arm/headers.am b/bsps/arm/headers.am
deleted file mode 100644
index f618589561..0000000000
--- a/bsps/arm/headers.am
+++ /dev/null
@@ -1,54 +0,0 @@
-## This file was generated by "./boostrap -H".
-
-include_HEADERS =
-include_HEADERS += ../../../../../bsps/arm/include/cmsis_gcc.h
-include_HEADERS += ../../../../../bsps/arm/include/core_cm7.h
-include_HEADERS += ../../../../../bsps/arm/include/core_cmFunc.h
-include_HEADERS += ../../../../../bsps/arm/include/core_cmInstr.h
-include_HEADERS += ../../../../../bsps/arm/include/core_cmSimd.h
-include_HEADERS += ../../../../../bsps/arm/include/uart.h
-
-include_arm_freescale_imxdir = $(includedir)/arm/freescale/imx
-include_arm_freescale_imx_HEADERS =
-include_arm_freescale_imx_HEADERS += ../../../../../bsps/arm/include/arm/freescale/imx/imx_iomuxreg.h
-include_arm_freescale_imx_HEADERS += ../../../../../bsps/arm/include/arm/freescale/imx/imx_iomuxvar.h
-
-include_bspdir = $(includedir)/bsp
-include_bsp_HEADERS =
-include_bsp_HEADERS += ../../../../../bsps/arm/include/bsp/arm-a9mpcore-clock.h
-include_bsp_HEADERS += ../../../../../bsps/arm/include/bsp/arm-a9mpcore-irq.h
-include_bsp_HEADERS += ../../../../../bsps/arm/include/bsp/arm-a9mpcore-regs.h
-include_bsp_HEADERS += ../../../../../bsps/arm/include/bsp/arm-a9mpcore-start.h
-include_bsp_HEADERS += ../../../../../bsps/arm/include/bsp/arm-cp15-start.h
-include_bsp_HEADERS += ../../../../../bsps/arm/include/bsp/arm-errata.h
-include_bsp_HEADERS += ../../../../../bsps/arm/include/bsp/arm-pl050-regs.h
-include_bsp_HEADERS += ../../../../../bsps/arm/include/bsp/arm-pl050.h
-include_bsp_HEADERS += ../../../../../bsps/arm/include/bsp/arm-pl111-fb.h
-include_bsp_HEADERS += ../../../../../bsps/arm/include/bsp/arm-pl111-regs.h
-include_bsp_HEADERS += ../../../../../bsps/arm/include/bsp/arm-release-id.h
-include_bsp_HEADERS += ../../../../../bsps/arm/include/bsp/armv7m-irq.h
-include_bsp_HEADERS += ../../../../../bsps/arm/include/bsp/clock-armv7m.h
-include_bsp_HEADERS += ../../../../../bsps/arm/include/bsp/imx-gpio.h
-include_bsp_HEADERS += ../../../../../bsps/arm/include/bsp/imx-iomux.h
-include_bsp_HEADERS += ../../../../../bsps/arm/include/bsp/linker-symbols.h
-include_bsp_HEADERS += ../../../../../bsps/arm/include/bsp/lpc-dma.h
-include_bsp_HEADERS += ../../../../../bsps/arm/include/bsp/lpc-emc.h
-include_bsp_HEADERS += ../../../../../bsps/arm/include/bsp/lpc-i2s.h
-include_bsp_HEADERS += ../../../../../bsps/arm/include/bsp/lpc-lcd.h
-include_bsp_HEADERS += ../../../../../bsps/arm/include/bsp/lpc-timer.h
-include_bsp_HEADERS += ../../../../../bsps/arm/include/bsp/start.h
-
-include_dev_cachedir = $(includedir)/dev/cache
-include_dev_cache_HEADERS =
-include_dev_cache_HEADERS += ../../../../../bsps/arm/include/dev/cache/arm-data-cache-loop-set-way.h
-
-include_dev_irqdir = $(includedir)/dev/irq
-include_dev_irq_HEADERS =
-include_dev_irq_HEADERS += ../../../../../bsps/arm/include/dev/irq/arm-gic-arch.h
-
-include_libcpudir = $(includedir)/libcpu
-include_libcpu_HEADERS =
-include_libcpu_HEADERS += ../../../../../bsps/arm/include/libcpu/am335x.h
-include_libcpu_HEADERS += ../../../../../bsps/arm/include/libcpu/mmu.h
-include_libcpu_HEADERS += ../../../../../bsps/arm/include/libcpu/omap3.h
-include_libcpu_HEADERS += ../../../../../bsps/arm/include/libcpu/omap_timer.h
diff --git a/bsps/arm/imx/headers.am b/bsps/arm/imx/headers.am
deleted file mode 100644
index 4db8035c38..0000000000
--- a/bsps/arm/imx/headers.am
+++ /dev/null
@@ -1,20 +0,0 @@
-## This file was generated by "./boostrap -H".
-
-include_HEADERS =
-include_HEADERS += ../../../../../../bsps/arm/imx/include/bsp.h
-include_HEADERS += include/bspopts.h
-include_HEADERS += ../../../../../../bsps/arm/imx/include/tm27.h
-
-include_arm_freescale_imxdir = $(includedir)/arm/freescale/imx
-include_arm_freescale_imx_HEADERS =
-include_arm_freescale_imx_HEADERS += ../../../../../../bsps/arm/imx/include/arm/freescale/imx/imx_ccmvar.h
-include_arm_freescale_imx_HEADERS += ../../../../../../bsps/arm/imx/include/arm/freescale/imx/imx_ecspireg.h
-include_arm_freescale_imx_HEADERS += ../../../../../../bsps/arm/imx/include/arm/freescale/imx/imx_gpcreg.h
-include_arm_freescale_imx_HEADERS += ../../../../../../bsps/arm/imx/include/arm/freescale/imx/imx_i2creg.h
-include_arm_freescale_imx_HEADERS += ../../../../../../bsps/arm/imx/include/arm/freescale/imx/imx_srcreg.h
-include_arm_freescale_imx_HEADERS += ../../../../../../bsps/arm/imx/include/arm/freescale/imx/imx_uartreg.h
-include_arm_freescale_imx_HEADERS += ../../../../../../bsps/arm/imx/include/arm/freescale/imx/imx_wdogreg.h
-
-include_bspdir = $(includedir)/bsp
-include_bsp_HEADERS =
-include_bsp_HEADERS += ../../../../../../bsps/arm/imx/include/bsp/irq.h
diff --git a/bsps/arm/imx/spi/imx-ecspi.c b/bsps/arm/imx/spi/imx-ecspi.c
index 1ffc4d9798..243f508d51 100644
--- a/bsps/arm/imx/spi/imx-ecspi.c
+++ b/bsps/arm/imx/spi/imx-ecspi.c
@@ -351,6 +351,9 @@ static void imx_ecspi_interrupt(void *arg)
} else if (bus->in_transfer > 0) {
regs->intreg = IMX_ECSPI_RR;
} else {
+ if (bus->msg->cs_change) {
+ imx_ecspi_set_chipsel(bus, IMX_ECSPI_CS_NONE);
+ }
--bus->msg_todo;
++bus->msg;
imx_ecspi_next_msg(bus, regs);
@@ -377,9 +380,6 @@ static int imx_ecspi_check_messages(
(msg->cs > IMX_ECSPI_MAX_CHIPSELECTS || !bus->cspins[msg->cs].valid)) {
return -EINVAL;
}
- if (msg->cs_change != 0) {
- return -EINVAL;
- }
++msg;
--size;
@@ -408,7 +408,9 @@ static int imx_ecspi_transfer(
imx_ecspi_next_msg(bus, bus->regs);
rtems_event_transient_receive(RTEMS_WAIT, RTEMS_NO_TIMEOUT);
- imx_ecspi_set_chipsel(bus, IMX_ECSPI_CS_NONE);
+ if (msgs[n-1].cs_change) {
+ imx_ecspi_set_chipsel(bus, IMX_ECSPI_CS_NONE);
+ }
}
return rv;
}
diff --git a/bsps/arm/imx/start/bsp_specs b/bsps/arm/imx/start/bsp_specs
deleted file mode 100644
index e69de29bb2..0000000000
--- a/bsps/arm/imx/start/bsp_specs
+++ /dev/null
diff --git a/bsps/arm/lm3s69xx/headers.am b/bsps/arm/lm3s69xx/headers.am
deleted file mode 100644
index 2572e1ab9c..0000000000
--- a/bsps/arm/lm3s69xx/headers.am
+++ /dev/null
@@ -1,15 +0,0 @@
-## This file was generated by "./boostrap -H".
-
-include_HEADERS =
-include_HEADERS += ../../../../../../bsps/arm/lm3s69xx/include/bsp.h
-include_HEADERS += include/bspopts.h
-include_HEADERS += ../../../../../../bsps/arm/lm3s69xx/include/tm27.h
-
-include_bspdir = $(includedir)/bsp
-include_bsp_HEADERS =
-include_bsp_HEADERS += ../../../../../../bsps/arm/lm3s69xx/include/bsp/io.h
-include_bsp_HEADERS += ../../../../../../bsps/arm/lm3s69xx/include/bsp/irq.h
-include_bsp_HEADERS += ../../../../../../bsps/arm/lm3s69xx/include/bsp/lm3s69xx.h
-include_bsp_HEADERS += ../../../../../../bsps/arm/lm3s69xx/include/bsp/ssi.h
-include_bsp_HEADERS += ../../../../../../bsps/arm/lm3s69xx/include/bsp/syscon.h
-include_bsp_HEADERS += ../../../../../../bsps/arm/lm3s69xx/include/bsp/uart.h
diff --git a/bsps/arm/lm3s69xx/start/bsp_specs b/bsps/arm/lm3s69xx/start/bsp_specs
deleted file mode 100644
index e69de29bb2..0000000000
--- a/bsps/arm/lm3s69xx/start/bsp_specs
+++ /dev/null
diff --git a/bsps/arm/lpc176x/headers.am b/bsps/arm/lpc176x/headers.am
deleted file mode 100644
index aceb1c4fa5..0000000000
--- a/bsps/arm/lpc176x/headers.am
+++ /dev/null
@@ -1,30 +0,0 @@
-## This file was generated by "./boostrap -H".
-
-include_HEADERS =
-include_HEADERS += ../../../../../../bsps/arm/lpc176x/include/bsp.h
-include_HEADERS += include/bspopts.h
-include_HEADERS += ../../../../../../bsps/arm/lpc176x/include/tm27.h
-
-include_bspdir = $(includedir)/bsp
-include_bsp_HEADERS =
-include_bsp_HEADERS += ../../../../../../bsps/arm/lpc176x/include/bsp/adc-defs.h
-include_bsp_HEADERS += ../../../../../../bsps/arm/lpc176x/include/bsp/adc.h
-include_bsp_HEADERS += ../../../../../../bsps/arm/lpc176x/include/bsp/can-defs.h
-include_bsp_HEADERS += ../../../../../../bsps/arm/lpc176x/include/bsp/can.h
-include_bsp_HEADERS += ../../../../../../bsps/arm/lpc176x/include/bsp/common-types.h
-include_bsp_HEADERS += ../../../../../../bsps/arm/lpc176x/include/bsp/dma.h
-include_bsp_HEADERS += ../../../../../../bsps/arm/lpc176x/include/bsp/gpio-defs.h
-include_bsp_HEADERS += ../../../../../../bsps/arm/lpc176x/include/bsp/io-defs.h
-include_bsp_HEADERS += ../../../../../../bsps/arm/lpc176x/include/bsp/io.h
-include_bsp_HEADERS += ../../../../../../bsps/arm/lpc176x/include/bsp/irq.h
-include_bsp_HEADERS += ../../../../../../bsps/arm/lpc176x/include/bsp/lpc-clock-config.h
-include_bsp_HEADERS += ../../../../../../bsps/arm/lpc176x/include/bsp/lpc-gpio.h
-include_bsp_HEADERS += ../../../../../../bsps/arm/lpc176x/include/bsp/lpc176x.h
-include_bsp_HEADERS += ../../../../../../bsps/arm/lpc176x/include/bsp/mbed-pinmap.h
-include_bsp_HEADERS += ../../../../../../bsps/arm/lpc176x/include/bsp/pwmout-defs.h
-include_bsp_HEADERS += ../../../../../../bsps/arm/lpc176x/include/bsp/pwmout.h
-include_bsp_HEADERS += ../../../../../../bsps/arm/lpc176x/include/bsp/system-clocks.h
-include_bsp_HEADERS += ../../../../../../bsps/arm/lpc176x/include/bsp/timer-defs.h
-include_bsp_HEADERS += ../../../../../../bsps/arm/lpc176x/include/bsp/timer.h
-include_bsp_HEADERS += ../../../../../../bsps/arm/lpc176x/include/bsp/watchdog-defs.h
-include_bsp_HEADERS += ../../../../../../bsps/arm/lpc176x/include/bsp/watchdog.h
diff --git a/bsps/arm/lpc176x/start/bsp_specs b/bsps/arm/lpc176x/start/bsp_specs
deleted file mode 100644
index e69de29bb2..0000000000
--- a/bsps/arm/lpc176x/start/bsp_specs
+++ /dev/null
diff --git a/bsps/arm/lpc24xx/headers.am b/bsps/arm/lpc24xx/headers.am
deleted file mode 100644
index e2f4d26042..0000000000
--- a/bsps/arm/lpc24xx/headers.am
+++ /dev/null
@@ -1,21 +0,0 @@
-## This file was generated by "./boostrap -H".
-
-include_HEADERS =
-include_HEADERS += ../../../../../../bsps/arm/lpc24xx/include/bsp.h
-include_HEADERS += include/bspopts.h
-include_HEADERS += ../../../../../../bsps/arm/lpc24xx/include/tm27.h
-
-include_bspdir = $(includedir)/bsp
-include_bsp_HEADERS =
-include_bsp_HEADERS += ../../../../../../bsps/arm/lpc24xx/include/bsp/dma.h
-include_bsp_HEADERS += ../../../../../../bsps/arm/lpc24xx/include/bsp/i2c.h
-include_bsp_HEADERS += ../../../../../../bsps/arm/lpc24xx/include/bsp/io.h
-include_bsp_HEADERS += ../../../../../../bsps/arm/lpc24xx/include/bsp/irq.h
-include_bsp_HEADERS += ../../../../../../bsps/arm/lpc24xx/include/bsp/lcd.h
-include_bsp_HEADERS += ../../../../../../bsps/arm/lpc24xx/include/bsp/lpc-clock-config.h
-include_bsp_HEADERS += ../../../../../../bsps/arm/lpc24xx/include/bsp/lpc-ethernet-config.h
-include_bsp_HEADERS += ../../../../../../bsps/arm/lpc24xx/include/bsp/lpc17xx.h
-include_bsp_HEADERS += ../../../../../../bsps/arm/lpc24xx/include/bsp/lpc24xx.h
-include_bsp_HEADERS += ../../../../../../bsps/arm/lpc24xx/include/bsp/ssp.h
-include_bsp_HEADERS += ../../../../../../bsps/arm/lpc24xx/include/bsp/start-config.h
-include_bsp_HEADERS += ../../../../../../bsps/arm/lpc24xx/include/bsp/system-clocks.h
diff --git a/bsps/arm/lpc24xx/start/bsp_specs b/bsps/arm/lpc24xx/start/bsp_specs
deleted file mode 100644
index e69de29bb2..0000000000
--- a/bsps/arm/lpc24xx/start/bsp_specs
+++ /dev/null
diff --git a/bsps/arm/lpc32xx/headers.am b/bsps/arm/lpc32xx/headers.am
deleted file mode 100644
index 40c0cfdb3d..0000000000
--- a/bsps/arm/lpc32xx/headers.am
+++ /dev/null
@@ -1,19 +0,0 @@
-## This file was generated by "./boostrap -H".
-
-include_HEADERS =
-include_HEADERS += ../../../../../../bsps/arm/lpc32xx/include/bsp.h
-include_HEADERS += include/bspopts.h
-include_HEADERS += ../../../../../../bsps/arm/lpc32xx/include/tm27.h
-
-include_bspdir = $(includedir)/bsp
-include_bsp_HEADERS =
-include_bsp_HEADERS += ../../../../../../bsps/arm/lpc32xx/include/bsp/boot.h
-include_bsp_HEADERS += ../../../../../../bsps/arm/lpc32xx/include/bsp/emc.h
-include_bsp_HEADERS += ../../../../../../bsps/arm/lpc32xx/include/bsp/hsu.h
-include_bsp_HEADERS += ../../../../../../bsps/arm/lpc32xx/include/bsp/i2c.h
-include_bsp_HEADERS += ../../../../../../bsps/arm/lpc32xx/include/bsp/irq.h
-include_bsp_HEADERS += ../../../../../../bsps/arm/lpc32xx/include/bsp/lpc-clock-config.h
-include_bsp_HEADERS += ../../../../../../bsps/arm/lpc32xx/include/bsp/lpc-ethernet-config.h
-include_bsp_HEADERS += ../../../../../../bsps/arm/lpc32xx/include/bsp/lpc32xx.h
-include_bsp_HEADERS += ../../../../../../bsps/arm/lpc32xx/include/bsp/mmu.h
-include_bsp_HEADERS += ../../../../../../bsps/arm/lpc32xx/include/bsp/nand-mlc.h
diff --git a/bsps/arm/lpc32xx/start/bsp_specs b/bsps/arm/lpc32xx/start/bsp_specs
deleted file mode 100644
index e69de29bb2..0000000000
--- a/bsps/arm/lpc32xx/start/bsp_specs
+++ /dev/null
diff --git a/bsps/arm/raspberrypi/headers.am b/bsps/arm/raspberrypi/headers.am
deleted file mode 100644
index 91cd18c86f..0000000000
--- a/bsps/arm/raspberrypi/headers.am
+++ /dev/null
@@ -1,20 +0,0 @@
-## This file was generated by "./boostrap -H".
-
-include_HEADERS =
-include_HEADERS += ../../../../../../bsps/arm/raspberrypi/include/bsp.h
-include_HEADERS += include/bspopts.h
-include_HEADERS += ../../../../../../bsps/arm/raspberrypi/include/tm27.h
-
-include_bspdir = $(includedir)/bsp
-include_bsp_HEADERS =
-include_bsp_HEADERS += ../../../../../../bsps/arm/raspberrypi/include/bsp/fbcons.h
-include_bsp_HEADERS += ../../../../../../bsps/arm/raspberrypi/include/bsp/i2c.h
-include_bsp_HEADERS += ../../../../../../bsps/arm/raspberrypi/include/bsp/irq.h
-include_bsp_HEADERS += ../../../../../../bsps/arm/raspberrypi/include/bsp/mailbox.h
-include_bsp_HEADERS += ../../../../../../bsps/arm/raspberrypi/include/bsp/mmu.h
-include_bsp_HEADERS += ../../../../../../bsps/arm/raspberrypi/include/bsp/raspberrypi.h
-include_bsp_HEADERS += ../../../../../../bsps/arm/raspberrypi/include/bsp/rpi-fb.h
-include_bsp_HEADERS += ../../../../../../bsps/arm/raspberrypi/include/bsp/rpi-gpio.h
-include_bsp_HEADERS += ../../../../../../bsps/arm/raspberrypi/include/bsp/spi.h
-include_bsp_HEADERS += ../../../../../../bsps/arm/raspberrypi/include/bsp/usart.h
-include_bsp_HEADERS += ../../../../../../bsps/arm/raspberrypi/include/bsp/vc.h
diff --git a/bsps/arm/raspberrypi/start/bsp_specs b/bsps/arm/raspberrypi/start/bsp_specs
deleted file mode 100644
index e69de29bb2..0000000000
--- a/bsps/arm/raspberrypi/start/bsp_specs
+++ /dev/null
diff --git a/bsps/arm/raspberrypi/start/linkcmds.in b/bsps/arm/raspberrypi/start/linkcmds.in
deleted file mode 100644
index d99b4fe23e..0000000000
--- a/bsps/arm/raspberrypi/start/linkcmds.in
+++ /dev/null
@@ -1,49 +0,0 @@
-/**
- * @file
- *
- * @ingroup raspberrypi_linker
- *
- * @brief Memory map
- */
-
-/**
- * @defgroup raspberrypi_linker Raspberry Pi Memory Map
- *
- * @ingroup bsp_linker
- *
- * @brief Raspberry Pi memory map.
- */
-
-MEMORY {
- RAM_MMU (AIW) : ORIGIN = 0x00100000, LENGTH = @RPI_RAM_MMU_LENGTH@
- RAM (AIW) : ORIGIN = 0x00200000, LENGTH = @RPI_RAM_LENGTH_AVAILABLE@ - @RPI_RAM_NOCACHE_LENGTH@
-}
-
-REGION_ALIAS ("REGION_START", RAM);
-REGION_ALIAS ("REGION_VECTOR", RAM);
-REGION_ALIAS ("REGION_TEXT", RAM);
-REGION_ALIAS ("REGION_TEXT_LOAD", RAM);
-REGION_ALIAS ("REGION_RODATA", RAM);
-REGION_ALIAS ("REGION_RODATA_LOAD", RAM);
-REGION_ALIAS ("REGION_DATA", RAM);
-REGION_ALIAS ("REGION_DATA_LOAD", RAM);
-REGION_ALIAS ("REGION_FAST_TEXT", RAM);
-REGION_ALIAS ("REGION_FAST_TEXT_LOAD", RAM);
-REGION_ALIAS ("REGION_FAST_DATA", RAM);
-REGION_ALIAS ("REGION_FAST_DATA_LOAD", RAM);
-REGION_ALIAS ("REGION_BSS", RAM);
-REGION_ALIAS ("REGION_WORK", RAM);
-REGION_ALIAS ("REGION_STACK", RAM);
-REGION_ALIAS ("REGION_NOCACHE", RAM);
-REGION_ALIAS ("REGION_NOCACHE_LOAD", RAM);
-
-bsp_stack_abt_size = DEFINED (bsp_stack_abt_size) ? bsp_stack_abt_size : 1024;
-
-bsp_section_rwbarrier_align = DEFINED (bsp_section_rwbarrier_align) ? bsp_section_rwbarrier_align : 1M;
-
-bsp_vector_table_in_start_section = 1;
-
-bsp_translation_table_base = ORIGIN (RAM_MMU);
-bsp_translation_table_end = ORIGIN (RAM_MMU) + LENGTH (RAM_MMU);
-
-INCLUDE linkcmds.armv4
diff --git a/bsps/arm/realview-pbx-a9/headers.am b/bsps/arm/realview-pbx-a9/headers.am
deleted file mode 100644
index d8707e38ce..0000000000
--- a/bsps/arm/realview-pbx-a9/headers.am
+++ /dev/null
@@ -1,11 +0,0 @@
-## This file was generated by "./boostrap -H".
-
-include_HEADERS =
-include_HEADERS += ../../../../../../bsps/arm/realview-pbx-a9/include/bsp.h
-include_HEADERS += include/bspopts.h
-include_HEADERS += ../../../../../../bsps/arm/realview-pbx-a9/include/tm27.h
-
-include_bspdir = $(includedir)/bsp
-include_bsp_HEADERS =
-include_bsp_HEADERS += ../../../../../../bsps/arm/realview-pbx-a9/include/bsp/console.h
-include_bsp_HEADERS += ../../../../../../bsps/arm/realview-pbx-a9/include/bsp/irq.h
diff --git a/bsps/arm/realview-pbx-a9/start/bsp_specs b/bsps/arm/realview-pbx-a9/start/bsp_specs
deleted file mode 100644
index e69de29bb2..0000000000
--- a/bsps/arm/realview-pbx-a9/start/bsp_specs
+++ /dev/null
diff --git a/bsps/arm/rtl22xx/headers.am b/bsps/arm/rtl22xx/headers.am
deleted file mode 100644
index 70f14bf3ed..0000000000
--- a/bsps/arm/rtl22xx/headers.am
+++ /dev/null
@@ -1,11 +0,0 @@
-## This file was generated by "./boostrap -H".
-
-include_HEADERS =
-include_HEADERS += ../../../../../../bsps/arm/rtl22xx/include/bsp.h
-include_HEADERS += include/bspopts.h
-include_HEADERS += ../../../../../../bsps/arm/rtl22xx/include/lpc22xx.h
-include_HEADERS += ../../../../../../bsps/arm/rtl22xx/include/tm27.h
-
-include_bspdir = $(includedir)/bsp
-include_bsp_HEADERS =
-include_bsp_HEADERS += ../../../../../../bsps/arm/rtl22xx/include/bsp/irq.h
diff --git a/bsps/arm/rtl22xx/start/bsp_specs b/bsps/arm/rtl22xx/start/bsp_specs
deleted file mode 100644
index e69de29bb2..0000000000
--- a/bsps/arm/rtl22xx/start/bsp_specs
+++ /dev/null
diff --git a/bsps/arm/shared/headers.am b/bsps/arm/shared/headers.am
deleted file mode 100644
index 34474400ec..0000000000
--- a/bsps/arm/shared/headers.am
+++ /dev/null
@@ -1,11 +0,0 @@
-## This file was generated by "./boostrap -H".
-
-include_arm_freescale_imxdir = $(includedir)/arm/freescale/imx
-include_arm_freescale_imx_HEADERS =
-include_arm_freescale_imx_HEADERS += ../../../../../../bsps/arm/shared/include/arm/freescale/imx/imx_iomuxreg.h
-include_arm_freescale_imx_HEADERS += ../../../../../../bsps/arm/shared/include/arm/freescale/imx/imx_iomuxvar.h
-
-include_bspdir = $(includedir)/bsp
-include_bsp_HEADERS =
-include_bsp_HEADERS += ../../../../../../bsps/arm/shared/include/bsp/imx-gpio.h
-include_bsp_HEADERS += ../../../../../../bsps/arm/shared/include/bsp/imx-iomux.h
diff --git a/bsps/arm/smdk2410/headers.am b/bsps/arm/smdk2410/headers.am
deleted file mode 100644
index 25d2eb723e..0000000000
--- a/bsps/arm/smdk2410/headers.am
+++ /dev/null
@@ -1,14 +0,0 @@
-## This file was generated by "./boostrap -H".
-
-include_HEADERS =
-include_HEADERS += ../../../../../../bsps/arm/smdk2410/include/bsp.h
-include_HEADERS += include/bspopts.h
-include_HEADERS += ../../../../../../bsps/arm/smdk2410/include/s3c2400.h
-include_HEADERS += ../../../../../../bsps/arm/smdk2410/include/s3c2410.h
-include_HEADERS += ../../../../../../bsps/arm/smdk2410/include/s3c24xx.h
-include_HEADERS += ../../../../../../bsps/arm/smdk2410/include/smc.h
-include_HEADERS += ../../../../../../bsps/arm/smdk2410/include/tm27.h
-
-include_bspdir = $(includedir)/bsp
-include_bsp_HEADERS =
-include_bsp_HEADERS += ../../../../../../bsps/arm/smdk2410/include/bsp/irq.h
diff --git a/bsps/arm/smdk2410/start/bsp_specs b/bsps/arm/smdk2410/start/bsp_specs
deleted file mode 100644
index e69de29bb2..0000000000
--- a/bsps/arm/smdk2410/start/bsp_specs
+++ /dev/null
diff --git a/bsps/arm/stm32f4/headers.am b/bsps/arm/stm32f4/headers.am
deleted file mode 100644
index f1270b546e..0000000000
--- a/bsps/arm/stm32f4/headers.am
+++ /dev/null
@@ -1,29 +0,0 @@
-## This file was generated by "./boostrap -H".
-
-include_HEADERS =
-include_HEADERS += ../../../../../../bsps/arm/stm32f4/include/bsp.h
-include_HEADERS += include/bspopts.h
-include_HEADERS += ../../../../../../bsps/arm/stm32f4/include/tm27.h
-
-include_bspdir = $(includedir)/bsp
-include_bsp_HEADERS =
-include_bsp_HEADERS += ../../../../../../bsps/arm/stm32f4/include/bsp/i2c.h
-include_bsp_HEADERS += ../../../../../../bsps/arm/stm32f4/include/bsp/io.h
-include_bsp_HEADERS += ../../../../../../bsps/arm/stm32f4/include/bsp/irq.h
-include_bsp_HEADERS += ../../../../../../bsps/arm/stm32f4/include/bsp/rcc.h
-include_bsp_HEADERS += ../../../../../../bsps/arm/stm32f4/include/bsp/stm32_i2c.h
-include_bsp_HEADERS += ../../../../../../bsps/arm/stm32f4/include/bsp/stm32_usart.h
-include_bsp_HEADERS += ../../../../../../bsps/arm/stm32f4/include/bsp/stm32f10xxx_exti.h
-include_bsp_HEADERS += ../../../../../../bsps/arm/stm32f4/include/bsp/stm32f10xxx_gpio.h
-include_bsp_HEADERS += ../../../../../../bsps/arm/stm32f4/include/bsp/stm32f10xxx_rcc.h
-include_bsp_HEADERS += ../../../../../../bsps/arm/stm32f4/include/bsp/stm32f4.h
-include_bsp_HEADERS += ../../../../../../bsps/arm/stm32f4/include/bsp/stm32f4xxxx_adc.h
-include_bsp_HEADERS += ../../../../../../bsps/arm/stm32f4/include/bsp/stm32f4xxxx_exti.h
-include_bsp_HEADERS += ../../../../../../bsps/arm/stm32f4/include/bsp/stm32f4xxxx_flash.h
-include_bsp_HEADERS += ../../../../../../bsps/arm/stm32f4/include/bsp/stm32f4xxxx_gpio.h
-include_bsp_HEADERS += ../../../../../../bsps/arm/stm32f4/include/bsp/stm32f4xxxx_otgfs.h
-include_bsp_HEADERS += ../../../../../../bsps/arm/stm32f4/include/bsp/stm32f4xxxx_pwr.h
-include_bsp_HEADERS += ../../../../../../bsps/arm/stm32f4/include/bsp/stm32f4xxxx_rcc.h
-include_bsp_HEADERS += ../../../../../../bsps/arm/stm32f4/include/bsp/stm32f4xxxx_syscfg.h
-include_bsp_HEADERS += ../../../../../../bsps/arm/stm32f4/include/bsp/stm32f4xxxx_tim.h
-include_bsp_HEADERS += ../../../../../../bsps/arm/stm32f4/include/bsp/usart.h
diff --git a/bsps/arm/stm32f4/start/bsp_specs b/bsps/arm/stm32f4/start/bsp_specs
deleted file mode 100644
index e69de29bb2..0000000000
--- a/bsps/arm/stm32f4/start/bsp_specs
+++ /dev/null
diff --git a/bsps/arm/stm32h7/start/bsp_specs b/bsps/arm/stm32h7/start/bsp_specs
deleted file mode 100644
index e69de29bb2..0000000000
--- a/bsps/arm/stm32h7/start/bsp_specs
+++ /dev/null
diff --git a/bsps/arm/tms570/headers.am b/bsps/arm/tms570/headers.am
deleted file mode 100644
index 4dd455e338..0000000000
--- a/bsps/arm/tms570/headers.am
+++ /dev/null
@@ -1,63 +0,0 @@
-## This file was generated by "./boostrap -H".
-
-include_HEADERS =
-include_HEADERS += ../../../../../../bsps/arm/tms570/include/bsp.h
-include_HEADERS += include/bspopts.h
-include_HEADERS += ../../../../../../bsps/arm/tms570/include/tm27.h
-
-include_bspdir = $(includedir)/bsp
-include_bsp_HEADERS =
-include_bsp_HEADERS += ../../../../../../bsps/arm/tms570/include/bsp/irq.h
-include_bsp_HEADERS += ../../../../../../bsps/arm/tms570/include/bsp/system-clocks.h
-include_bsp_HEADERS += ../../../../../../bsps/arm/tms570/include/bsp/tms570-pinmux.h
-include_bsp_HEADERS += ../../../../../../bsps/arm/tms570/include/bsp/tms570-pins.h
-include_bsp_HEADERS += ../../../../../../bsps/arm/tms570/include/bsp/tms570-pom.h
-include_bsp_HEADERS += ../../../../../../bsps/arm/tms570/include/bsp/tms570-rti.h
-include_bsp_HEADERS += ../../../../../../bsps/arm/tms570/include/bsp/tms570-sci-driver.h
-include_bsp_HEADERS += ../../../../../../bsps/arm/tms570/include/bsp/tms570-sci.h
-include_bsp_HEADERS += ../../../../../../bsps/arm/tms570/include/bsp/tms570-vim.h
-include_bsp_HEADERS += ../../../../../../bsps/arm/tms570/include/bsp/tms570.h
-include_bsp_HEADERS += ../../../../../../bsps/arm/tms570/include/bsp/tms570_hwinit.h
-include_bsp_HEADERS += ../../../../../../bsps/arm/tms570/include/bsp/tms570_selftest.h
-include_bsp_HEADERS += ../../../../../../bsps/arm/tms570/include/bsp/tms570_selftest_parity.h
-include_bsp_HEADERS += ../../../../../../bsps/arm/tms570/include/bsp/tms570lc4357-pins.h
-include_bsp_HEADERS += ../../../../../../bsps/arm/tms570/include/bsp/tms570ls3137zwt-pins.h
-
-include_bsp_ti_hercdir = $(includedir)/bsp/ti_herc
-include_bsp_ti_herc_HEADERS =
-include_bsp_ti_herc_HEADERS += ../../../../../../bsps/arm/tms570/include/bsp/ti_herc/reg_adc.h
-include_bsp_ti_herc_HEADERS += ../../../../../../bsps/arm/tms570/include/bsp/ti_herc/reg_ccmsr.h
-include_bsp_ti_herc_HEADERS += ../../../../../../bsps/arm/tms570/include/bsp/ti_herc/reg_crc.h
-include_bsp_ti_herc_HEADERS += ../../../../../../bsps/arm/tms570/include/bsp/ti_herc/reg_dcan.h
-include_bsp_ti_herc_HEADERS += ../../../../../../bsps/arm/tms570/include/bsp/ti_herc/reg_dcc.h
-include_bsp_ti_herc_HEADERS += ../../../../../../bsps/arm/tms570/include/bsp/ti_herc/reg_dma.h
-include_bsp_ti_herc_HEADERS += ../../../../../../bsps/arm/tms570/include/bsp/ti_herc/reg_dmm.h
-include_bsp_ti_herc_HEADERS += ../../../../../../bsps/arm/tms570/include/bsp/ti_herc/reg_efuse.h
-include_bsp_ti_herc_HEADERS += ../../../../../../bsps/arm/tms570/include/bsp/ti_herc/reg_emacc.h
-include_bsp_ti_herc_HEADERS += ../../../../../../bsps/arm/tms570/include/bsp/ti_herc/reg_emacm.h
-include_bsp_ti_herc_HEADERS += ../../../../../../bsps/arm/tms570/include/bsp/ti_herc/reg_emif.h
-include_bsp_ti_herc_HEADERS += ../../../../../../bsps/arm/tms570/include/bsp/ti_herc/reg_esm.h
-include_bsp_ti_herc_HEADERS += ../../../../../../bsps/arm/tms570/include/bsp/ti_herc/reg_flash.h
-include_bsp_ti_herc_HEADERS += ../../../../../../bsps/arm/tms570/include/bsp/ti_herc/reg_flex_ray.h
-include_bsp_ti_herc_HEADERS += ../../../../../../bsps/arm/tms570/include/bsp/ti_herc/reg_gio.h
-include_bsp_ti_herc_HEADERS += ../../../../../../bsps/arm/tms570/include/bsp/ti_herc/reg_htu.h
-include_bsp_ti_herc_HEADERS += ../../../../../../bsps/arm/tms570/include/bsp/ti_herc/reg_i2c.h
-include_bsp_ti_herc_HEADERS += ../../../../../../bsps/arm/tms570/include/bsp/ti_herc/reg_iomm.h
-include_bsp_ti_herc_HEADERS += ../../../../../../bsps/arm/tms570/include/bsp/ti_herc/reg_lin.h
-include_bsp_ti_herc_HEADERS += ../../../../../../bsps/arm/tms570/include/bsp/ti_herc/reg_mdio.h
-include_bsp_ti_herc_HEADERS += ../../../../../../bsps/arm/tms570/include/bsp/ti_herc/reg_n2het.h
-include_bsp_ti_herc_HEADERS += ../../../../../../bsps/arm/tms570/include/bsp/ti_herc/reg_pbist.h
-include_bsp_ti_herc_HEADERS += ../../../../../../bsps/arm/tms570/include/bsp/ti_herc/reg_pcr.h
-include_bsp_ti_herc_HEADERS += ../../../../../../bsps/arm/tms570/include/bsp/ti_herc/reg_pll.h
-include_bsp_ti_herc_HEADERS += ../../../../../../bsps/arm/tms570/include/bsp/ti_herc/reg_pmm.h
-include_bsp_ti_herc_HEADERS += ../../../../../../bsps/arm/tms570/include/bsp/ti_herc/reg_pom.h
-include_bsp_ti_herc_HEADERS += ../../../../../../bsps/arm/tms570/include/bsp/ti_herc/reg_rti.h
-include_bsp_ti_herc_HEADERS += ../../../../../../bsps/arm/tms570/include/bsp/ti_herc/reg_rtp.h
-include_bsp_ti_herc_HEADERS += ../../../../../../bsps/arm/tms570/include/bsp/ti_herc/reg_sci.h
-include_bsp_ti_herc_HEADERS += ../../../../../../bsps/arm/tms570/include/bsp/ti_herc/reg_spi.h
-include_bsp_ti_herc_HEADERS += ../../../../../../bsps/arm/tms570/include/bsp/ti_herc/reg_stc.h
-include_bsp_ti_herc_HEADERS += ../../../../../../bsps/arm/tms570/include/bsp/ti_herc/reg_sys.h
-include_bsp_ti_herc_HEADERS += ../../../../../../bsps/arm/tms570/include/bsp/ti_herc/reg_sys2.h
-include_bsp_ti_herc_HEADERS += ../../../../../../bsps/arm/tms570/include/bsp/ti_herc/reg_tcr.h
-include_bsp_ti_herc_HEADERS += ../../../../../../bsps/arm/tms570/include/bsp/ti_herc/reg_tcram.h
-include_bsp_ti_herc_HEADERS += ../../../../../../bsps/arm/tms570/include/bsp/ti_herc/reg_vim.h
diff --git a/bsps/arm/tms570/start/bsp_specs b/bsps/arm/tms570/start/bsp_specs
deleted file mode 100644
index e69de29bb2..0000000000
--- a/bsps/arm/tms570/start/bsp_specs
+++ /dev/null
diff --git a/bsps/arm/xen/headers.am b/bsps/arm/xen/headers.am
deleted file mode 100644
index 952fa37670..0000000000
--- a/bsps/arm/xen/headers.am
+++ /dev/null
@@ -1,10 +0,0 @@
-## This file was generated by "./boostrap -H".
-
-include_HEADERS =
-include_HEADERS += ../../../../../../bsps/arm/xen/include/bsp.h
-include_HEADERS += include/bspopts.h
-include_HEADERS += ../../../../../../bsps/arm/xen/include/tm27.h
-
-include_bspdir = $(includedir)/bsp
-include_bsp_HEADERS =
-include_bsp_HEADERS += ../../../../../../bsps/arm/xen/include/bsp/irq.h
diff --git a/bsps/arm/xen/start/bsp_specs b/bsps/arm/xen/start/bsp_specs
deleted file mode 100644
index e69de29bb2..0000000000
--- a/bsps/arm/xen/start/bsp_specs
+++ /dev/null
diff --git a/bsps/arm/xen/start/linkcmds.in b/bsps/arm/xen/start/linkcmds.in
deleted file mode 100644
index e2d42b0e8e..0000000000
--- a/bsps/arm/xen/start/linkcmds.in
+++ /dev/null
@@ -1,62 +0,0 @@
-/*
- * SPDX-License-Identifier: BSD-2-Clause
- *
- * Copyright (C) 2019 DornerWorks
- * Written by Jeff Kubascik <jeff.kubascik@dornerworks.com>
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- * 1. Redistributions of source code must retain the above copyright
- * notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- * notice, this list of conditions and the following disclaimer in the
- * documentation and/or other materials provided with the distribution.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
- * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
- * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
- * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
- * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
- * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
- * POSSIBILITY OF SUCH DAMAGE.
- */
-
-MEMORY {
- RAM_MMU : ORIGIN = @BSP_XEN_RAM_BASE@, LENGTH = @BSP_XEN_MMU_LENGTH@
- RAM : ORIGIN = @BSP_XEN_RAM_BASE@ + @BSP_XEN_LOAD_OFFSET@, LENGTH = @BSP_XEN_RAM_LENGTH@ - @BSP_XEN_LOAD_OFFSET@ - @BSP_XEN_NOCACHE_LENGTH@
- NOCACHE : ORIGIN = @BSP_XEN_RAM_BASE@ + @BSP_XEN_RAM_LENGTH@ - @BSP_XEN_NOCACHE_LENGTH@, LENGTH = @BSP_XEN_NOCACHE_LENGTH@
-}
-
-REGION_ALIAS ("REGION_START", RAM);
-REGION_ALIAS ("REGION_VECTOR", RAM);
-REGION_ALIAS ("REGION_TEXT", RAM);
-REGION_ALIAS ("REGION_TEXT_LOAD", RAM);
-REGION_ALIAS ("REGION_RODATA", RAM);
-REGION_ALIAS ("REGION_RODATA_LOAD", RAM);
-REGION_ALIAS ("REGION_DATA", RAM);
-REGION_ALIAS ("REGION_DATA_LOAD", RAM);
-REGION_ALIAS ("REGION_FAST_TEXT", RAM);
-REGION_ALIAS ("REGION_FAST_TEXT_LOAD", RAM);
-REGION_ALIAS ("REGION_FAST_DATA", RAM);
-REGION_ALIAS ("REGION_FAST_DATA_LOAD", RAM);
-REGION_ALIAS ("REGION_BSS", RAM);
-REGION_ALIAS ("REGION_WORK", RAM);
-REGION_ALIAS ("REGION_STACK", RAM);
-REGION_ALIAS ("REGION_NOCACHE", NOCACHE);
-REGION_ALIAS ("REGION_NOCACHE_LOAD", NOCACHE);
-
-bsp_stack_abt_size = DEFINED (bsp_stack_abt_size) ? bsp_stack_abt_size : 1024;
-
-bsp_section_rwbarrier_align = DEFINED (bsp_section_rwbarrier_align) ? bsp_section_rwbarrier_align : 1M;
-
-bsp_vector_table_in_start_section = 1;
-
-bsp_translation_table_base = ORIGIN (RAM_MMU);
-bsp_translation_table_end = ORIGIN (RAM_MMU) + LENGTH (RAM_MMU);
-
-INCLUDE linkcmds.armv4
diff --git a/bsps/arm/xilinx-zynq/headers.am b/bsps/arm/xilinx-zynq/headers.am
deleted file mode 100644
index 47738c62be..0000000000
--- a/bsps/arm/xilinx-zynq/headers.am
+++ /dev/null
@@ -1,13 +0,0 @@
-## This file was generated by "./boostrap -H".
-
-include_HEADERS =
-include_HEADERS += ../../../../../../bsps/arm/xilinx-zynq/include/bsp.h
-include_HEADERS += include/bspopts.h
-include_HEADERS += ../../../../../../bsps/arm/xilinx-zynq/include/tm27.h
-
-include_bspdir = $(includedir)/bsp
-include_bsp_HEADERS =
-include_bsp_HEADERS += ../../../../../../bsps/arm/xilinx-zynq/include/bsp/cadence-i2c-regs.h
-include_bsp_HEADERS += ../../../../../../bsps/arm/xilinx-zynq/include/bsp/cadence-i2c.h
-include_bsp_HEADERS += ../../../../../../bsps/arm/xilinx-zynq/include/bsp/i2c.h
-include_bsp_HEADERS += ../../../../../../bsps/arm/xilinx-zynq/include/bsp/irq.h
diff --git a/bsps/arm/xilinx-zynq/start/bsp_specs b/bsps/arm/xilinx-zynq/start/bsp_specs
deleted file mode 100644
index e69de29bb2..0000000000
--- a/bsps/arm/xilinx-zynq/start/bsp_specs
+++ /dev/null
diff --git a/bsps/arm/xilinx-zynq/start/linkcmds.in b/bsps/arm/xilinx-zynq/start/linkcmds.in
deleted file mode 100644
index fb841b93aa..0000000000
--- a/bsps/arm/xilinx-zynq/start/linkcmds.in
+++ /dev/null
@@ -1,36 +0,0 @@
-MEMORY {
- RAM_INT_0 : ORIGIN = @ZYNQ_RAM_INT_0_ORIGIN@, LENGTH = @ZYNQ_RAM_INT_0_LENGTH@
- RAM_INT_1 : ORIGIN = @ZYNQ_RAM_INT_1_ORIGIN@, LENGTH = @ZYNQ_RAM_INT_1_LENGTH@
- RAM_MMU : ORIGIN = @ZYNQ_RAM_ORIGIN@, LENGTH = @ZYNQ_RAM_MMU_LENGTH@
- RAM : ORIGIN = @ZYNQ_RAM_ORIGIN@ + @ZYNQ_RAM_MMU_LENGTH@, LENGTH = @BSP_ZYNQ_RAM_LENGTH@ - @ZYNQ_RAM_ORIGIN@ - @ZYNQ_RAM_MMU_LENGTH@ - @ZYNQ_RAM_NOCACHE_LENGTH@
- NOCACHE : ORIGIN = @BSP_ZYNQ_RAM_LENGTH@ - @ZYNQ_RAM_NOCACHE_LENGTH@, LENGTH = @ZYNQ_RAM_NOCACHE_LENGTH@
-}
-
-REGION_ALIAS ("REGION_START", RAM);
-REGION_ALIAS ("REGION_VECTOR", RAM);
-REGION_ALIAS ("REGION_TEXT", RAM);
-REGION_ALIAS ("REGION_TEXT_LOAD", RAM);
-REGION_ALIAS ("REGION_RODATA", RAM);
-REGION_ALIAS ("REGION_RODATA_LOAD", RAM);
-REGION_ALIAS ("REGION_DATA", RAM);
-REGION_ALIAS ("REGION_DATA_LOAD", RAM);
-REGION_ALIAS ("REGION_FAST_TEXT", RAM);
-REGION_ALIAS ("REGION_FAST_TEXT_LOAD", RAM);
-REGION_ALIAS ("REGION_FAST_DATA", RAM);
-REGION_ALIAS ("REGION_FAST_DATA_LOAD", RAM);
-REGION_ALIAS ("REGION_BSS", RAM);
-REGION_ALIAS ("REGION_WORK", RAM);
-REGION_ALIAS ("REGION_STACK", RAM);
-REGION_ALIAS ("REGION_NOCACHE", NOCACHE);
-REGION_ALIAS ("REGION_NOCACHE_LOAD", NOCACHE);
-
-bsp_stack_abt_size = DEFINED (bsp_stack_abt_size) ? bsp_stack_abt_size : 1024;
-
-bsp_section_rwbarrier_align = DEFINED (bsp_section_rwbarrier_align) ? bsp_section_rwbarrier_align : 1M;
-
-bsp_vector_table_in_start_section = 1;
-
-bsp_translation_table_base = ORIGIN (RAM_MMU);
-bsp_translation_table_end = ORIGIN (RAM_MMU) + LENGTH (RAM_MMU);
-
-INCLUDE linkcmds.armv4
diff --git a/bsps/arm/xilinx-zynqmp/headers.am b/bsps/arm/xilinx-zynqmp/headers.am
deleted file mode 100644
index 6cb3a00a52..0000000000
--- a/bsps/arm/xilinx-zynqmp/headers.am
+++ /dev/null
@@ -1,10 +0,0 @@
-## This file was generated by "./boostrap -H".
-
-include_HEADERS =
-include_HEADERS += ../../../../../../bsps/arm/xilinx-zynqmp/include/bsp.h
-include_HEADERS += include/bspopts.h
-include_HEADERS += ../../../../../../bsps/arm/xilinx-zynqmp/include/tm27.h
-
-include_bspdir = $(includedir)/bsp
-include_bsp_HEADERS =
-include_bsp_HEADERS += ../../../../../../bsps/arm/xilinx-zynqmp/include/bsp/irq.h
diff --git a/bsps/arm/xilinx-zynqmp/start/bsp_specs b/bsps/arm/xilinx-zynqmp/start/bsp_specs
deleted file mode 100644
index e69de29bb2..0000000000
--- a/bsps/arm/xilinx-zynqmp/start/bsp_specs
+++ /dev/null
diff --git a/bsps/arm/xilinx-zynqmp/start/linkcmds.in b/bsps/arm/xilinx-zynqmp/start/linkcmds.in
deleted file mode 100644
index 435af0e7e9..0000000000
--- a/bsps/arm/xilinx-zynqmp/start/linkcmds.in
+++ /dev/null
@@ -1,36 +0,0 @@
-MEMORY {
- RAM_INT_0 : ORIGIN = @ZYNQMP_RAM_INT_0_ORIGIN@, LENGTH = @ZYNQMP_RAM_INT_0_LENGTH@
- RAM_INT_1 : ORIGIN = @ZYNQMP_RAM_INT_1_ORIGIN@, LENGTH = @ZYNQMP_RAM_INT_1_LENGTH@
- RAM_MMU : ORIGIN = @ZYNQMP_RAM_ORIGIN@, LENGTH = @ZYNQMP_RAM_MMU_LENGTH@
- RAM : ORIGIN = @ZYNQMP_RAM_ORIGIN@ + @ZYNQMP_RAM_MMU_LENGTH@, LENGTH = @BSP_ZYNQMP_RAM_LENGTH@ - @ZYNQMP_RAM_ORIGIN@ - @ZYNQMP_RAM_MMU_LENGTH@ - @ZYNQMP_RAM_NOCACHE_LENGTH@
- NOCACHE : ORIGIN = @BSP_ZYNQMP_RAM_LENGTH@ - @ZYNQMP_RAM_NOCACHE_LENGTH@, LENGTH = @ZYNQMP_RAM_NOCACHE_LENGTH@
-}
-
-REGION_ALIAS ("REGION_START", RAM);
-REGION_ALIAS ("REGION_VECTOR", RAM);
-REGION_ALIAS ("REGION_TEXT", RAM);
-REGION_ALIAS ("REGION_TEXT_LOAD", RAM);
-REGION_ALIAS ("REGION_RODATA", RAM);
-REGION_ALIAS ("REGION_RODATA_LOAD", RAM);
-REGION_ALIAS ("REGION_DATA", RAM);
-REGION_ALIAS ("REGION_DATA_LOAD", RAM);
-REGION_ALIAS ("REGION_FAST_TEXT", RAM);
-REGION_ALIAS ("REGION_FAST_TEXT_LOAD", RAM);
-REGION_ALIAS ("REGION_FAST_DATA", RAM);
-REGION_ALIAS ("REGION_FAST_DATA_LOAD", RAM);
-REGION_ALIAS ("REGION_BSS", RAM);
-REGION_ALIAS ("REGION_WORK", RAM);
-REGION_ALIAS ("REGION_STACK", RAM);
-REGION_ALIAS ("REGION_NOCACHE", NOCACHE);
-REGION_ALIAS ("REGION_NOCACHE_LOAD", NOCACHE);
-
-bsp_stack_abt_size = DEFINED (bsp_stack_abt_size) ? bsp_stack_abt_size : 1024;
-
-bsp_section_rwbarrier_align = DEFINED (bsp_section_rwbarrier_align) ? bsp_section_rwbarrier_align : 1M;
-
-bsp_vector_table_in_start_section = 1;
-
-bsp_translation_table_base = ORIGIN (RAM_MMU);
-bsp_translation_table_end = ORIGIN (RAM_MMU) + LENGTH (RAM_MMU);
-
-INCLUDE linkcmds.armv4
diff --git a/bsps/bfin/TLL6527M/headers.am b/bsps/bfin/TLL6527M/headers.am
deleted file mode 100644
index 07a03e0119..0000000000
--- a/bsps/bfin/TLL6527M/headers.am
+++ /dev/null
@@ -1,11 +0,0 @@
-## This file was generated by "./boostrap -H".
-
-include_HEADERS =
-include_HEADERS += ../../../../../../bsps/bfin/TLL6527M/include/bsp.h
-include_HEADERS += include/bspopts.h
-include_HEADERS += ../../../../../../bsps/bfin/TLL6527M/include/cplb.h
-include_HEADERS += ../../../../../../bsps/bfin/TLL6527M/include/tm27.h
-
-include_bspdir = $(includedir)/bsp
-include_bsp_HEADERS =
-include_bsp_HEADERS += ../../../../../../bsps/bfin/TLL6527M/include/bsp/irq.h
diff --git a/bsps/bfin/TLL6527M/start/bsp_specs b/bsps/bfin/TLL6527M/start/bsp_specs
deleted file mode 100644
index e69de29bb2..0000000000
--- a/bsps/bfin/TLL6527M/start/bsp_specs
+++ /dev/null
diff --git a/bsps/bfin/bf537Stamp/headers.am b/bsps/bfin/bf537Stamp/headers.am
deleted file mode 100644
index aa3e259638..0000000000
--- a/bsps/bfin/bf537Stamp/headers.am
+++ /dev/null
@@ -1,10 +0,0 @@
-## This file was generated by "./boostrap -H".
-
-include_HEADERS =
-include_HEADERS += ../../../../../../bsps/bfin/bf537Stamp/include/bsp.h
-include_HEADERS += include/bspopts.h
-include_HEADERS += ../../../../../../bsps/bfin/bf537Stamp/include/tm27.h
-
-include_bspdir = $(includedir)/bsp
-include_bsp_HEADERS =
-include_bsp_HEADERS += ../../../../../../bsps/bfin/bf537Stamp/include/bsp/irq.h
diff --git a/bsps/bfin/bf537Stamp/start/bsp_specs b/bsps/bfin/bf537Stamp/start/bsp_specs
deleted file mode 100644
index e69de29bb2..0000000000
--- a/bsps/bfin/bf537Stamp/start/bsp_specs
+++ /dev/null
diff --git a/bsps/bfin/eZKit533/headers.am b/bsps/bfin/eZKit533/headers.am
deleted file mode 100644
index d588226478..0000000000
--- a/bsps/bfin/eZKit533/headers.am
+++ /dev/null
@@ -1,11 +0,0 @@
-## This file was generated by "./boostrap -H".
-
-include_HEADERS =
-include_HEADERS += ../../../../../../bsps/bfin/eZKit533/include/bsp.h
-include_HEADERS += include/bspopts.h
-include_HEADERS += ../../../../../../bsps/bfin/eZKit533/include/cplb.h
-include_HEADERS += ../../../../../../bsps/bfin/eZKit533/include/tm27.h
-
-include_bspdir = $(includedir)/bsp
-include_bsp_HEADERS =
-include_bsp_HEADERS += ../../../../../../bsps/bfin/eZKit533/include/bsp/irq.h
diff --git a/bsps/bfin/eZKit533/start/bsp_specs b/bsps/bfin/eZKit533/start/bsp_specs
deleted file mode 100644
index e69de29bb2..0000000000
--- a/bsps/bfin/eZKit533/start/bsp_specs
+++ /dev/null
diff --git a/bsps/bfin/headers.am b/bsps/bfin/headers.am
deleted file mode 100644
index 67f3f02572..0000000000
--- a/bsps/bfin/headers.am
+++ /dev/null
@@ -1,37 +0,0 @@
-## This file was generated by "./boostrap -H".
-
-include_HEADERS =
-include_HEADERS += ../../../../../bsps/bfin/include/bf52x.h
-
-include_bspdir = $(includedir)/bsp
-include_bsp_HEADERS =
-include_bsp_HEADERS += ../../../../../bsps/bfin/include/bsp/interrupt.h
-
-include_libcpudir = $(includedir)/libcpu
-include_libcpu_HEADERS =
-include_libcpu_HEADERS += ../../../../../bsps/bfin/include/libcpu/bf533.h
-include_libcpu_HEADERS += ../../../../../bsps/bfin/include/libcpu/bf537.h
-include_libcpu_HEADERS += ../../../../../bsps/bfin/include/libcpu/cecRegs.h
-include_libcpu_HEADERS += ../../../../../bsps/bfin/include/libcpu/coreTimerRegs.h
-include_libcpu_HEADERS += ../../../../../bsps/bfin/include/libcpu/dmaRegs.h
-include_libcpu_HEADERS += ../../../../../bsps/bfin/include/libcpu/ebiuRegs.h
-include_libcpu_HEADERS += ../../../../../bsps/bfin/include/libcpu/ethernet.h
-include_libcpu_HEADERS += ../../../../../bsps/bfin/include/libcpu/ethernetRegs.h
-include_libcpu_HEADERS += ../../../../../bsps/bfin/include/libcpu/gpioRegs.h
-include_libcpu_HEADERS += ../../../../../bsps/bfin/include/libcpu/interrupt.h
-include_libcpu_HEADERS += ../../../../../bsps/bfin/include/libcpu/memoryRegs.h
-include_libcpu_HEADERS += ../../../../../bsps/bfin/include/libcpu/mmu.h
-include_libcpu_HEADERS += ../../../../../bsps/bfin/include/libcpu/mmuRegs.h
-include_libcpu_HEADERS += ../../../../../bsps/bfin/include/libcpu/ppiRegs.h
-include_libcpu_HEADERS += ../../../../../bsps/bfin/include/libcpu/rtcRegs.h
-include_libcpu_HEADERS += ../../../../../bsps/bfin/include/libcpu/sicRegs.h
-include_libcpu_HEADERS += ../../../../../bsps/bfin/include/libcpu/spi.h
-include_libcpu_HEADERS += ../../../../../bsps/bfin/include/libcpu/spiRegs.h
-include_libcpu_HEADERS += ../../../../../bsps/bfin/include/libcpu/sport.h
-include_libcpu_HEADERS += ../../../../../bsps/bfin/include/libcpu/sportRegs.h
-include_libcpu_HEADERS += ../../../../../bsps/bfin/include/libcpu/timerRegs.h
-include_libcpu_HEADERS += ../../../../../bsps/bfin/include/libcpu/twi.h
-include_libcpu_HEADERS += ../../../../../bsps/bfin/include/libcpu/twiRegs.h
-include_libcpu_HEADERS += ../../../../../bsps/bfin/include/libcpu/uart.h
-include_libcpu_HEADERS += ../../../../../bsps/bfin/include/libcpu/uartRegs.h
-include_libcpu_HEADERS += ../../../../../bsps/bfin/include/libcpu/wdogRegs.h
diff --git a/bsps/bfin/shared/shared-sources.am b/bsps/bfin/shared/shared-sources.am
deleted file mode 100644
index 42e03d987a..0000000000
--- a/bsps/bfin/shared/shared-sources.am
+++ /dev/null
@@ -1,8 +0,0 @@
-librtemsbsp_a_SOURCES += ../../../../../../bsps/bfin/shared/mmu.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/bfin/shared/dev/clock.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/bfin/shared/dev/rtc.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/bfin/shared/dev/spi.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/bfin/shared/dev/sport.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/bfin/shared/dev/timer.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/bfin/shared/dev/twi.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/bfin/shared/dev/uart.c
diff --git a/bsps/headers.am b/bsps/headers.am
deleted file mode 100644
index b5821564b1..0000000000
--- a/bsps/headers.am
+++ /dev/null
@@ -1,154 +0,0 @@
-## This file was generated by "./boostrap -H".
-
-include_HEADERS =
-include_HEADERS += ../../bsps/include/mpci.h
-include_HEADERS += ../../bsps/include/shm_driver.h
-
-include_bspdir = $(includedir)/bsp
-include_bsp_HEADERS =
-include_bsp_HEADERS += ../../bsps/include/bsp/bootcard.h
-include_bsp_HEADERS += ../../bsps/include/bsp/console-polled.h
-include_bsp_HEADERS += ../../bsps/include/bsp/console-termios.h
-include_bsp_HEADERS += ../../bsps/include/bsp/default-initial-extension.h
-include_bsp_HEADERS += ../../bsps/include/bsp/fatal.h
-include_bsp_HEADERS += ../../bsps/include/bsp/fdt.h
-include_bsp_HEADERS += ../../bsps/include/bsp/gpio.h
-include_bsp_HEADERS += ../../bsps/include/bsp/irq-default.h
-include_bsp_HEADERS += ../../bsps/include/bsp/irq-generic.h
-include_bsp_HEADERS += ../../bsps/include/bsp/irq-info.h
-include_bsp_HEADERS += ../../bsps/include/bsp/stackalloc.h
-include_bsp_HEADERS += ../../bsps/include/bsp/u-boot.h
-include_bsp_HEADERS += ../../bsps/include/bsp/uart-output-char.h
-include_bsp_HEADERS += ../../bsps/include/bsp/utility.h
-
-include_dev_clockdir = $(includedir)/dev/clock
-include_dev_clock_HEADERS =
-include_dev_clock_HEADERS += ../../bsps/include/dev/clock/arm-generic-timer.h
-
-include_dev_irqdir = $(includedir)/dev/irq
-include_dev_irq_HEADERS =
-include_dev_irq_HEADERS += ../../bsps/include/dev/irq/arm-gic-irq.h
-include_dev_irq_HEADERS += ../../bsps/include/dev/irq/arm-gic-regs.h
-include_dev_irq_HEADERS += ../../bsps/include/dev/irq/arm-gic-tm27.h
-include_dev_irq_HEADERS += ../../bsps/include/dev/irq/arm-gic.h
-
-include_dev_serialdir = $(includedir)/dev/serial
-include_dev_serial_HEADERS =
-include_dev_serial_HEADERS += ../../bsps/include/dev/serial/arm-pl011-regs.h
-include_dev_serial_HEADERS += ../../bsps/include/dev/serial/arm-pl011.h
-include_dev_serial_HEADERS += ../../bsps/include/dev/serial/zynq-uart-regs.h
-include_dev_serial_HEADERS += ../../bsps/include/dev/serial/zynq-uart.h
-
-include_dev_spidir = $(includedir)/dev/spi
-include_dev_spi_HEADERS =
-include_dev_spi_HEADERS += ../../bsps/include/dev/spi/cadence-spi-regs.h
-include_dev_spi_HEADERS += ../../bsps/include/dev/spi/cadence-spi.h
-include_dev_spi_HEADERS += ../../bsps/include/dev/spi/xilinx-axi-spi-regs.h
-include_dev_spi_HEADERS += ../../bsps/include/dev/spi/xilinx-axi-spi.h
-
-include_grlibdir = $(includedir)/grlib
-include_grlib_HEADERS =
-include_grlib_HEADERS += ../../bsps/include/grlib/ahbstat.h
-include_grlib_HEADERS += ../../bsps/include/grlib/ambapp.h
-include_grlib_HEADERS += ../../bsps/include/grlib/ambapp_bus.h
-include_grlib_HEADERS += ../../bsps/include/grlib/ambapp_bus_grlib.h
-include_grlib_HEADERS += ../../bsps/include/grlib/ambapp_ids.h
-include_grlib_HEADERS += ../../bsps/include/grlib/apbuart.h
-include_grlib_HEADERS += ../../bsps/include/grlib/apbuart_cons.h
-include_grlib_HEADERS += ../../bsps/include/grlib/apbuart_termios.h
-include_grlib_HEADERS += ../../bsps/include/grlib/b1553brm.h
-include_grlib_HEADERS += ../../bsps/include/grlib/b1553rt.h
-include_grlib_HEADERS += ../../bsps/include/grlib/bspcommon.h
-include_grlib_HEADERS += ../../bsps/include/grlib/canbtrs.h
-include_grlib_HEADERS += ../../bsps/include/grlib/canmux.h
-include_grlib_HEADERS += ../../bsps/include/grlib/cons.h
-include_grlib_HEADERS += ../../bsps/include/grlib/debug_defs.h
-include_grlib_HEADERS += ../../bsps/include/grlib/genirq.h
-include_grlib_HEADERS += ../../bsps/include/grlib/gpiolib.h
-include_grlib_HEADERS += ../../bsps/include/grlib/gptimer.h
-include_grlib_HEADERS += ../../bsps/include/grlib/gr1553b.h
-include_grlib_HEADERS += ../../bsps/include/grlib/gr1553bc.h
-include_grlib_HEADERS += ../../bsps/include/grlib/gr1553bc_list.h
-include_grlib_HEADERS += ../../bsps/include/grlib/gr1553bm.h
-include_grlib_HEADERS += ../../bsps/include/grlib/gr1553rt.h
-include_grlib_HEADERS += ../../bsps/include/grlib/gr_701.h
-include_grlib_HEADERS += ../../bsps/include/grlib/gr_cpci_gr740.h
-include_grlib_HEADERS += ../../bsps/include/grlib/gr_rasta_adcdac.h
-include_grlib_HEADERS += ../../bsps/include/grlib/gr_rasta_io.h
-include_grlib_HEADERS += ../../bsps/include/grlib/gr_rasta_spw_router.h
-include_grlib_HEADERS += ../../bsps/include/grlib/gr_rasta_tmtc.h
-include_grlib_HEADERS += ../../bsps/include/grlib/gr_tmtc_1553.h
-include_grlib_HEADERS += ../../bsps/include/grlib/gradcdac.h
-include_grlib_HEADERS += ../../bsps/include/grlib/grascs.h
-include_grlib_HEADERS += ../../bsps/include/grlib/grcan.h
-include_grlib_HEADERS += ../../bsps/include/grlib/grctm.h
-include_grlib_HEADERS += ../../bsps/include/grlib/grgpio.h
-include_grlib_HEADERS += ../../bsps/include/grlib/griommu.h
-include_grlib_HEADERS += ../../bsps/include/grlib/grlib.h
-include_grlib_HEADERS += ../../bsps/include/grlib/grlib_impl.h
-include_grlib_HEADERS += ../../bsps/include/grlib/grpci.h
-include_grlib_HEADERS += ../../bsps/include/grlib/grpci2.h
-include_grlib_HEADERS += ../../bsps/include/grlib/grpci2dma.h
-include_grlib_HEADERS += ../../bsps/include/grlib/grpwm.h
-include_grlib_HEADERS += ../../bsps/include/grlib/grslink.h
-include_grlib_HEADERS += ../../bsps/include/grlib/grspw.h
-include_grlib_HEADERS += ../../bsps/include/grlib/grspw_pkt.h
-include_grlib_HEADERS += ../../bsps/include/grlib/grspw_router.h
-include_grlib_HEADERS += ../../bsps/include/grlib/grtc.h
-include_grlib_HEADERS += ../../bsps/include/grlib/grtm.h
-include_grlib_HEADERS += ../../bsps/include/grlib/i2cmst.h
-include_grlib_HEADERS += ../../bsps/include/grlib/l2c.h
-include_grlib_HEADERS += ../../bsps/include/grlib/l4stat.h
-include_grlib_HEADERS += ../../bsps/include/grlib/mctrl.h
-include_grlib_HEADERS += ../../bsps/include/grlib/memscrub.h
-include_grlib_HEADERS += ../../bsps/include/grlib/occan.h
-include_grlib_HEADERS += ../../bsps/include/grlib/pcif.h
-include_grlib_HEADERS += ../../bsps/include/grlib/satcan.h
-include_grlib_HEADERS += ../../bsps/include/grlib/spictrl.h
-include_grlib_HEADERS += ../../bsps/include/grlib/spwcuc.h
-include_grlib_HEADERS += ../../bsps/include/grlib/spwtdp.h
-include_grlib_HEADERS += ../../bsps/include/grlib/tlib.h
-
-include_libchipdir = $(includedir)/libchip
-include_libchip_HEADERS =
-include_libchip_HEADERS += ../../bsps/include/libchip/am29lv160.h
-include_libchip_HEADERS += ../../bsps/include/libchip/ata.h
-include_libchip_HEADERS += ../../bsps/include/libchip/ata_internal.h
-include_libchip_HEADERS += ../../bsps/include/libchip/disp_hcms29xx.h
-include_libchip_HEADERS += ../../bsps/include/libchip/ds1375-rtc.h
-include_libchip_HEADERS += ../../bsps/include/libchip/i2c-2b-eeprom.h
-include_libchip_HEADERS += ../../bsps/include/libchip/i2c-ds1621.h
-include_libchip_HEADERS += ../../bsps/include/libchip/i2c-sc620.h
-include_libchip_HEADERS += ../../bsps/include/libchip/icm7170.h
-include_libchip_HEADERS += ../../bsps/include/libchip/ide_ctrl.h
-include_libchip_HEADERS += ../../bsps/include/libchip/ide_ctrl_cfg.h
-include_libchip_HEADERS += ../../bsps/include/libchip/ide_ctrl_io.h
-include_libchip_HEADERS += ../../bsps/include/libchip/m48t08.h
-include_libchip_HEADERS += ../../bsps/include/libchip/mc146818a.h
-include_libchip_HEADERS += ../../bsps/include/libchip/mc68681.h
-include_libchip_HEADERS += ../../bsps/include/libchip/ns16550.h
-include_libchip_HEADERS += ../../bsps/include/libchip/ns16550_p.h
-include_libchip_HEADERS += ../../bsps/include/libchip/rtc.h
-include_libchip_HEADERS += ../../bsps/include/libchip/serial.h
-include_libchip_HEADERS += ../../bsps/include/libchip/sersupp.h
-include_libchip_HEADERS += ../../bsps/include/libchip/spi-flash-m25p40.h
-include_libchip_HEADERS += ../../bsps/include/libchip/spi-fram-fm25l256.h
-include_libchip_HEADERS += ../../bsps/include/libchip/spi-memdrv.h
-include_libchip_HEADERS += ../../bsps/include/libchip/spi-sd-card.h
-include_libchip_HEADERS += ../../bsps/include/libchip/wd80x3.h
-include_libchip_HEADERS += ../../bsps/include/libchip/z85c30.h
-
-include_rtemsdir = $(includedir)/rtems
-include_rtems_HEADERS =
-include_rtems_HEADERS += ../../bsps/include/rtems/umon.h
-
-include_rtems_zilogdir = $(includedir)/rtems/zilog
-include_rtems_zilog_HEADERS =
-include_rtems_zilog_HEADERS += ../../bsps/include/rtems/zilog/z8036.h
-include_rtems_zilog_HEADERS += ../../bsps/include/rtems/zilog/z8530.h
-
-include_umondir = $(includedir)/umon
-include_umon_HEADERS =
-include_umon_HEADERS += ../../bsps/include/umon/cli.h
-include_umon_HEADERS += ../../bsps/include/umon/monlib.h
-include_umon_HEADERS += ../../bsps/include/umon/tfs.h
diff --git a/bsps/i386/headers.am b/bsps/i386/headers.am
deleted file mode 100644
index 8a3d39cfbb..0000000000
--- a/bsps/i386/headers.am
+++ /dev/null
@@ -1,20 +0,0 @@
-## This file was generated by "./boostrap -H".
-
-include_HEADERS =
-include_HEADERS += ../../../../../bsps/i386/include/i386_io.h
-include_HEADERS += ../../../../../bsps/i386/include/uart.h
-
-include_bspdir = $(includedir)/bsp
-include_bsp_HEADERS =
-include_bsp_HEADERS += ../../../../../bsps/i386/include/bsp/apic.h
-include_bsp_HEADERS += ../../../../../bsps/i386/include/bsp/irq.h
-include_bsp_HEADERS += ../../../../../bsps/i386/include/bsp/irq_asm.h
-include_bsp_HEADERS += ../../../../../bsps/i386/include/bsp/realmode_int.h
-include_bsp_HEADERS += ../../../../../bsps/i386/include/bsp/smp-imps.h
-include_bsp_HEADERS += ../../../../../bsps/i386/include/bsp/tty_drv.h
-
-include_libcpudir = $(includedir)/libcpu
-include_libcpu_HEADERS =
-include_libcpu_HEADERS += ../../../../../bsps/i386/include/libcpu/byteorder.h
-include_libcpu_HEADERS += ../../../../../bsps/i386/include/libcpu/cpuModel.h
-include_libcpu_HEADERS += ../../../../../bsps/i386/include/libcpu/page.h
diff --git a/bsps/i386/pc386/headers.am b/bsps/i386/pc386/headers.am
deleted file mode 100644
index 0109c11eed..0000000000
--- a/bsps/i386/pc386/headers.am
+++ /dev/null
@@ -1,25 +0,0 @@
-## This file was generated by "./boostrap -H".
-
-include_HEADERS =
-include_HEADERS += ../../../../../../bsps/i386/pc386/include/bsp.h
-include_HEADERS += include/bspopts.h
-include_HEADERS += ../../../../../../bsps/i386/pc386/include/crt.h
-include_HEADERS += ../../../../../../bsps/i386/pc386/include/edid.h
-include_HEADERS += ../../../../../../bsps/i386/pc386/include/tm27.h
-
-include_bspdir = $(includedir)/bsp
-include_bsp_HEADERS =
-include_bsp_HEADERS += ../../../../../../bsps/i386/pc386/include/bsp/bspimpl.h
-include_bsp_HEADERS += ../../../../../../bsps/i386/pc386/include/bsp/exar17d15x.h
-include_bsp_HEADERS += ../../../../../../bsps/i386/pc386/include/bsp/fb_default_mode.h
-include_bsp_HEADERS += ../../../../../../bsps/i386/pc386/include/bsp/fb_vesa.h
-include_bsp_HEADERS += ../../../../../../bsps/i386/pc386/include/bsp/rtd316.h
-include_bsp_HEADERS += ../../../../../../bsps/i386/pc386/include/bsp/tblsizes.h
-include_bsp_HEADERS += ../../../../../../bsps/i386/pc386/include/bsp/vbe3.h
-
-include_rtemsdir = $(includedir)/rtems
-include_rtems_HEADERS =
-include_rtems_HEADERS += ../../../../../../bsps/i386/pc386/include/rtems/kd.h
-include_rtems_HEADERS += ../../../../../../bsps/i386/pc386/include/rtems/keyboard.h
-include_rtems_HEADERS += ../../../../../../bsps/i386/pc386/include/rtems/ps2_drv.h
-include_rtems_HEADERS += ../../../../../../bsps/i386/pc386/include/rtems/vgacons.h
diff --git a/bsps/i386/pc386/start/bsp_specs b/bsps/i386/pc386/start/bsp_specs
deleted file mode 100644
index e69de29bb2..0000000000
--- a/bsps/i386/pc386/start/bsp_specs
+++ /dev/null
diff --git a/bsps/include/bsp/fatal.h b/bsps/include/bsp/fatal.h
index f9b9e39193..a11235d00f 100644
--- a/bsps/include/bsp/fatal.h
+++ b/bsps/include/bsp/fatal.h
@@ -174,6 +174,9 @@ typedef enum {
IMXRT_FATAL_LPI2C_HW_INIT_FAILED,
IMXRT_FATAL_LPI2C_REGISTER_FAILED,
IMXRT_FATAL_LPI2C_UNSUPPORTED_HARDWARE,
+
+ /* MicroBlaze fatal codes */
+ MICROBLAZE_FATAL_CLOCK_IRQ_INSTALL = BSP_FATAL_CODE_BLOCK(16),
} bsp_fatal_code;
RTEMS_NO_RETURN static inline void
diff --git a/bsps/lm32/headers.am b/bsps/lm32/headers.am
deleted file mode 100644
index e44184dbea..0000000000
--- a/bsps/lm32/headers.am
+++ /dev/null
@@ -1,18 +0,0 @@
-## This file was generated by "./boostrap -H".
-
-include_bspdir = $(includedir)/bsp
-include_bsp_HEADERS =
-include_bsp_HEADERS += ../../../../../bsps/lm32/include/bsp/irq.h
-include_bsp_HEADERS += ../../../../../bsps/lm32/include/bsp/milkymist_ac97.h
-include_bsp_HEADERS += ../../../../../bsps/lm32/include/bsp/milkymist_buttons.h
-include_bsp_HEADERS += ../../../../../bsps/lm32/include/bsp/milkymist_dmx.h
-include_bsp_HEADERS += ../../../../../bsps/lm32/include/bsp/milkymist_flash.h
-include_bsp_HEADERS += ../../../../../bsps/lm32/include/bsp/milkymist_gpio.h
-include_bsp_HEADERS += ../../../../../bsps/lm32/include/bsp/milkymist_ir.h
-include_bsp_HEADERS += ../../../../../bsps/lm32/include/bsp/milkymist_memcard.h
-include_bsp_HEADERS += ../../../../../bsps/lm32/include/bsp/milkymist_midi.h
-include_bsp_HEADERS += ../../../../../bsps/lm32/include/bsp/milkymist_pfpu.h
-include_bsp_HEADERS += ../../../../../bsps/lm32/include/bsp/milkymist_tmu.h
-include_bsp_HEADERS += ../../../../../bsps/lm32/include/bsp/milkymist_usbinput.h
-include_bsp_HEADERS += ../../../../../bsps/lm32/include/bsp/milkymist_versions.h
-include_bsp_HEADERS += ../../../../../bsps/lm32/include/bsp/milkymist_video.h
diff --git a/bsps/lm32/lm32_evr/headers.am b/bsps/lm32/lm32_evr/headers.am
deleted file mode 100644
index 213b66effe..0000000000
--- a/bsps/lm32/lm32_evr/headers.am
+++ /dev/null
@@ -1,7 +0,0 @@
-## This file was generated by "./boostrap -H".
-
-include_HEADERS =
-include_HEADERS += ../../../../../../bsps/lm32/lm32_evr/include/bsp.h
-include_HEADERS += include/bspopts.h
-include_HEADERS += ../../../../../../bsps/lm32/lm32_evr/include/system_conf.h
-include_HEADERS += ../../../../../../bsps/lm32/lm32_evr/include/tm27.h
diff --git a/bsps/lm32/lm32_evr/start/bsp_specs b/bsps/lm32/lm32_evr/start/bsp_specs
deleted file mode 100644
index e69de29bb2..0000000000
--- a/bsps/lm32/lm32_evr/start/bsp_specs
+++ /dev/null
diff --git a/bsps/lm32/milkymist/headers.am b/bsps/lm32/milkymist/headers.am
deleted file mode 100644
index 1bd114fba1..0000000000
--- a/bsps/lm32/milkymist/headers.am
+++ /dev/null
@@ -1,7 +0,0 @@
-## This file was generated by "./boostrap -H".
-
-include_HEADERS =
-include_HEADERS += ../../../../../../bsps/lm32/milkymist/include/bsp.h
-include_HEADERS += include/bspopts.h
-include_HEADERS += ../../../../../../bsps/lm32/milkymist/include/system_conf.h
-include_HEADERS += ../../../../../../bsps/lm32/milkymist/include/tm27.h
diff --git a/bsps/lm32/milkymist/start/bsp_specs b/bsps/lm32/milkymist/start/bsp_specs
deleted file mode 100644
index e69de29bb2..0000000000
--- a/bsps/lm32/milkymist/start/bsp_specs
+++ /dev/null
diff --git a/bsps/m68k/av5282/headers.am b/bsps/m68k/av5282/headers.am
deleted file mode 100644
index f0e0307bcc..0000000000
--- a/bsps/m68k/av5282/headers.am
+++ /dev/null
@@ -1,10 +0,0 @@
-## This file was generated by "./boostrap -H".
-
-include_HEADERS =
-include_HEADERS += ../../../../../../bsps/m68k/av5282/include/bsp.h
-include_HEADERS += include/bspopts.h
-include_HEADERS += ../../../../../../bsps/m68k/av5282/include/tm27.h
-
-include_bspdir = $(includedir)/bsp
-include_bsp_HEADERS =
-include_bsp_HEADERS += ../../../../../../bsps/m68k/av5282/include/bsp/irq.h
diff --git a/bsps/m68k/av5282/start/bsp_specs b/bsps/m68k/av5282/start/bsp_specs
deleted file mode 100644
index e69de29bb2..0000000000
--- a/bsps/m68k/av5282/start/bsp_specs
+++ /dev/null
diff --git a/bsps/m68k/csb360/headers.am b/bsps/m68k/csb360/headers.am
deleted file mode 100644
index bb1979605a..0000000000
--- a/bsps/m68k/csb360/headers.am
+++ /dev/null
@@ -1,10 +0,0 @@
-## This file was generated by "./boostrap -H".
-
-include_HEADERS =
-include_HEADERS += ../../../../../../bsps/m68k/csb360/include/bsp.h
-include_HEADERS += include/bspopts.h
-include_HEADERS += ../../../../../../bsps/m68k/csb360/include/tm27.h
-
-include_bspdir = $(includedir)/bsp
-include_bsp_HEADERS =
-include_bsp_HEADERS += ../../../../../../bsps/m68k/csb360/include/bsp/irq.h
diff --git a/bsps/m68k/csb360/start/bsp_specs b/bsps/m68k/csb360/start/bsp_specs
deleted file mode 100644
index e69de29bb2..0000000000
--- a/bsps/m68k/csb360/start/bsp_specs
+++ /dev/null
diff --git a/bsps/m68k/gen68340/headers.am b/bsps/m68k/gen68340/headers.am
deleted file mode 100644
index 6d738f552d..0000000000
--- a/bsps/m68k/gen68340/headers.am
+++ /dev/null
@@ -1,15 +0,0 @@
-## This file was generated by "./boostrap -H".
-
-include_HEADERS =
-include_HEADERS += ../../../../../../bsps/m68k/gen68340/include/bsp.h
-include_HEADERS += include/bspopts.h
-include_HEADERS += ../../../../../../bsps/m68k/gen68340/include/m340timer.h
-include_HEADERS += ../../../../../../bsps/m68k/gen68340/include/m340uart.h
-include_HEADERS += ../../../../../../bsps/m68k/gen68340/include/m68340.h
-include_HEADERS += ../../../../../../bsps/m68k/gen68340/include/m68340.inc
-include_HEADERS += ../../../../../../bsps/m68k/gen68340/include/m68349.inc
-include_HEADERS += ../../../../../../bsps/m68k/gen68340/include/tm27.h
-
-include_bspdir = $(includedir)/bsp
-include_bsp_HEADERS =
-include_bsp_HEADERS += ../../../../../../bsps/m68k/gen68340/include/bsp/irq.h
diff --git a/bsps/m68k/gen68340/start/bsp_specs b/bsps/m68k/gen68340/start/bsp_specs
deleted file mode 100644
index e69de29bb2..0000000000
--- a/bsps/m68k/gen68340/start/bsp_specs
+++ /dev/null
diff --git a/bsps/m68k/gen68360/headers.am b/bsps/m68k/gen68360/headers.am
deleted file mode 100644
index a76ad10ed3..0000000000
--- a/bsps/m68k/gen68360/headers.am
+++ /dev/null
@@ -1,10 +0,0 @@
-## This file was generated by "./boostrap -H".
-
-include_HEADERS =
-include_HEADERS += ../../../../../../bsps/m68k/gen68360/include/bsp.h
-include_HEADERS += include/bspopts.h
-include_HEADERS += ../../../../../../bsps/m68k/gen68360/include/tm27.h
-
-include_bspdir = $(includedir)/bsp
-include_bsp_HEADERS =
-include_bsp_HEADERS += ../../../../../../bsps/m68k/gen68360/include/bsp/irq.h
diff --git a/bsps/m68k/gen68360/start/bsp_specs b/bsps/m68k/gen68360/start/bsp_specs
deleted file mode 100644
index e69de29bb2..0000000000
--- a/bsps/m68k/gen68360/start/bsp_specs
+++ /dev/null
diff --git a/bsps/m68k/genmcf548x/headers.am b/bsps/m68k/genmcf548x/headers.am
deleted file mode 100644
index 80752c512e..0000000000
--- a/bsps/m68k/genmcf548x/headers.am
+++ /dev/null
@@ -1,10 +0,0 @@
-## This file was generated by "./boostrap -H".
-
-include_HEADERS =
-include_HEADERS += ../../../../../../bsps/m68k/genmcf548x/include/bsp.h
-include_HEADERS += include/bspopts.h
-include_HEADERS += ../../../../../../bsps/m68k/genmcf548x/include/tm27.h
-
-include_bspdir = $(includedir)/bsp
-include_bsp_HEADERS =
-include_bsp_HEADERS += ../../../../../../bsps/m68k/genmcf548x/include/bsp/irq.h
diff --git a/bsps/m68k/genmcf548x/start/bsp_specs b/bsps/m68k/genmcf548x/start/bsp_specs
deleted file mode 100644
index e69de29bb2..0000000000
--- a/bsps/m68k/genmcf548x/start/bsp_specs
+++ /dev/null
diff --git a/bsps/m68k/headers.am b/bsps/m68k/headers.am
deleted file mode 100644
index 526fa7769f..0000000000
--- a/bsps/m68k/headers.am
+++ /dev/null
@@ -1,47 +0,0 @@
-## This file was generated by "./boostrap -H".
-
-include_HEADERS =
-include_HEADERS += ../../../../../bsps/m68k/include/mvme16x_hw.h
-
-include_bspdir = $(includedir)/bsp
-include_bsp_HEADERS =
-include_bsp_HEADERS += ../../../../../bsps/m68k/include/bsp/linker-symbols.h
-
-include_mcf5206dir = $(includedir)/mcf5206
-include_mcf5206_HEADERS =
-include_mcf5206_HEADERS += ../../../../../bsps/m68k/include/mcf5206/mcf5206e.h
-include_mcf5206_HEADERS += ../../../../../bsps/m68k/include/mcf5206/mcfmbus.h
-include_mcf5206_HEADERS += ../../../../../bsps/m68k/include/mcf5206/mcfuart.h
-
-include_mcf5223xdir = $(includedir)/mcf5223x
-include_mcf5223x_HEADERS =
-include_mcf5223x_HEADERS += ../../../../../bsps/m68k/include/mcf5223x/mcf5223x.h
-
-include_mcf5225xdir = $(includedir)/mcf5225x
-include_mcf5225x_HEADERS =
-include_mcf5225x_HEADERS += ../../../../../bsps/m68k/include/mcf5225x/fec.h
-include_mcf5225x_HEADERS += ../../../../../bsps/m68k/include/mcf5225x/mcf5225x.h
-
-include_mcf5235dir = $(includedir)/mcf5235
-include_mcf5235_HEADERS =
-include_mcf5235_HEADERS += ../../../../../bsps/m68k/include/mcf5235/mcf5235.h
-
-include_mcf5272dir = $(includedir)/mcf5272
-include_mcf5272_HEADERS =
-include_mcf5272_HEADERS += ../../../../../bsps/m68k/include/mcf5272/mcf5272.h
-
-include_mcf5282dir = $(includedir)/mcf5282
-include_mcf5282_HEADERS =
-include_mcf5282_HEADERS += ../../../../../bsps/m68k/include/mcf5282/mcf5282.h
-
-include_mcf532xdir = $(includedir)/mcf532x
-include_mcf532x_HEADERS =
-include_mcf532x_HEADERS += ../../../../../bsps/m68k/include/mcf532x/mcf532x.h
-
-include_mcf548xdir = $(includedir)/mcf548x
-include_mcf548x_HEADERS =
-include_mcf548x_HEADERS += ../../../../../bsps/m68k/include/mcf548x/MCD_dma.h
-include_mcf548x_HEADERS += ../../../../../bsps/m68k/include/mcf548x/MCD_progCheck.h
-include_mcf548x_HEADERS += ../../../../../bsps/m68k/include/mcf548x/MCD_tasksInit.h
-include_mcf548x_HEADERS += ../../../../../bsps/m68k/include/mcf548x/mcdma_glue.h
-include_mcf548x_HEADERS += ../../../../../bsps/m68k/include/mcf548x/mcf548x.h
diff --git a/bsps/m68k/mcf5206elite/headers.am b/bsps/m68k/mcf5206elite/headers.am
deleted file mode 100644
index a3a00197be..0000000000
--- a/bsps/m68k/mcf5206elite/headers.am
+++ /dev/null
@@ -1,14 +0,0 @@
-## This file was generated by "./boostrap -H".
-
-include_HEADERS =
-include_HEADERS += ../../../../../../bsps/m68k/mcf5206elite/include/bsp.h
-include_HEADERS += include/bspopts.h
-include_HEADERS += ../../../../../../bsps/m68k/mcf5206elite/include/ds1307.h
-include_HEADERS += ../../../../../../bsps/m68k/mcf5206elite/include/i2c.h
-include_HEADERS += ../../../../../../bsps/m68k/mcf5206elite/include/i2cdrv.h
-include_HEADERS += ../../../../../../bsps/m68k/mcf5206elite/include/nvram.h
-include_HEADERS += ../../../../../../bsps/m68k/mcf5206elite/include/tm27.h
-
-include_bspdir = $(includedir)/bsp
-include_bsp_HEADERS =
-include_bsp_HEADERS += ../../../../../../bsps/m68k/mcf5206elite/include/bsp/irq.h
diff --git a/bsps/m68k/mcf5206elite/start/bsp_specs b/bsps/m68k/mcf5206elite/start/bsp_specs
deleted file mode 100644
index e69de29bb2..0000000000
--- a/bsps/m68k/mcf5206elite/start/bsp_specs
+++ /dev/null
diff --git a/bsps/m68k/mcf52235/headers.am b/bsps/m68k/mcf52235/headers.am
deleted file mode 100644
index 98212df5e2..0000000000
--- a/bsps/m68k/mcf52235/headers.am
+++ /dev/null
@@ -1,10 +0,0 @@
-## This file was generated by "./boostrap -H".
-
-include_HEADERS =
-include_HEADERS += ../../../../../../bsps/m68k/mcf52235/include/bsp.h
-include_HEADERS += include/bspopts.h
-include_HEADERS += ../../../../../../bsps/m68k/mcf52235/include/tm27.h
-
-include_bspdir = $(includedir)/bsp
-include_bsp_HEADERS =
-include_bsp_HEADERS += ../../../../../../bsps/m68k/mcf52235/include/bsp/irq.h
diff --git a/bsps/m68k/mcf52235/start/bsp_specs b/bsps/m68k/mcf52235/start/bsp_specs
deleted file mode 100644
index e69de29bb2..0000000000
--- a/bsps/m68k/mcf52235/start/bsp_specs
+++ /dev/null
diff --git a/bsps/m68k/mcf5225x/headers.am b/bsps/m68k/mcf5225x/headers.am
deleted file mode 100644
index 7795b306eb..0000000000
--- a/bsps/m68k/mcf5225x/headers.am
+++ /dev/null
@@ -1,10 +0,0 @@
-## This file was generated by "./boostrap -H".
-
-include_HEADERS =
-include_HEADERS += ../../../../../../bsps/m68k/mcf5225x/include/bsp.h
-include_HEADERS += include/bspopts.h
-include_HEADERS += ../../../../../../bsps/m68k/mcf5225x/include/tm27.h
-
-include_bspdir = $(includedir)/bsp
-include_bsp_HEADERS =
-include_bsp_HEADERS += ../../../../../../bsps/m68k/mcf5225x/include/bsp/irq.h
diff --git a/bsps/m68k/mcf5225x/start/bsp_specs b/bsps/m68k/mcf5225x/start/bsp_specs
deleted file mode 100644
index e69de29bb2..0000000000
--- a/bsps/m68k/mcf5225x/start/bsp_specs
+++ /dev/null
diff --git a/bsps/m68k/mcf5235/headers.am b/bsps/m68k/mcf5235/headers.am
deleted file mode 100644
index 97fb4705a0..0000000000
--- a/bsps/m68k/mcf5235/headers.am
+++ /dev/null
@@ -1,10 +0,0 @@
-## This file was generated by "./boostrap -H".
-
-include_HEADERS =
-include_HEADERS += ../../../../../../bsps/m68k/mcf5235/include/bsp.h
-include_HEADERS += include/bspopts.h
-include_HEADERS += ../../../../../../bsps/m68k/mcf5235/include/tm27.h
-
-include_bspdir = $(includedir)/bsp
-include_bsp_HEADERS =
-include_bsp_HEADERS += ../../../../../../bsps/m68k/mcf5235/include/bsp/irq.h
diff --git a/bsps/m68k/mcf5235/start/bsp_specs b/bsps/m68k/mcf5235/start/bsp_specs
deleted file mode 100644
index e69de29bb2..0000000000
--- a/bsps/m68k/mcf5235/start/bsp_specs
+++ /dev/null
diff --git a/bsps/m68k/mcf5329/headers.am b/bsps/m68k/mcf5329/headers.am
deleted file mode 100644
index b14787d268..0000000000
--- a/bsps/m68k/mcf5329/headers.am
+++ /dev/null
@@ -1,10 +0,0 @@
-## This file was generated by "./boostrap -H".
-
-include_HEADERS =
-include_HEADERS += ../../../../../../bsps/m68k/mcf5329/include/bsp.h
-include_HEADERS += include/bspopts.h
-include_HEADERS += ../../../../../../bsps/m68k/mcf5329/include/tm27.h
-
-include_bspdir = $(includedir)/bsp
-include_bsp_HEADERS =
-include_bsp_HEADERS += ../../../../../../bsps/m68k/mcf5329/include/bsp/irq.h
diff --git a/bsps/m68k/mcf5329/start/bsp_specs b/bsps/m68k/mcf5329/start/bsp_specs
deleted file mode 100644
index e69de29bb2..0000000000
--- a/bsps/m68k/mcf5329/start/bsp_specs
+++ /dev/null
diff --git a/bsps/m68k/mrm332/headers.am b/bsps/m68k/mrm332/headers.am
deleted file mode 100644
index 91a66f129d..0000000000
--- a/bsps/m68k/mrm332/headers.am
+++ /dev/null
@@ -1,11 +0,0 @@
-## This file was generated by "./boostrap -H".
-
-include_HEADERS =
-include_HEADERS += ../../../../../../bsps/m68k/mrm332/include/bsp.h
-include_HEADERS += include/bspopts.h
-include_HEADERS += ../../../../../../bsps/m68k/mrm332/include/mrm332.h
-include_HEADERS += ../../../../../../bsps/m68k/mrm332/include/tm27.h
-
-include_bspdir = $(includedir)/bsp
-include_bsp_HEADERS =
-include_bsp_HEADERS += ../../../../../../bsps/m68k/mrm332/include/bsp/irq.h
diff --git a/bsps/m68k/mrm332/start/bsp_specs b/bsps/m68k/mrm332/start/bsp_specs
deleted file mode 100644
index e69de29bb2..0000000000
--- a/bsps/m68k/mrm332/start/bsp_specs
+++ /dev/null
diff --git a/bsps/m68k/mvme147/headers.am b/bsps/m68k/mvme147/headers.am
deleted file mode 100644
index c9abe2ad6a..0000000000
--- a/bsps/m68k/mvme147/headers.am
+++ /dev/null
@@ -1,10 +0,0 @@
-## This file was generated by "./boostrap -H".
-
-include_HEADERS =
-include_HEADERS += ../../../../../../bsps/m68k/mvme147/include/bsp.h
-include_HEADERS += include/bspopts.h
-include_HEADERS += ../../../../../../bsps/m68k/mvme147/include/tm27.h
-
-include_bspdir = $(includedir)/bsp
-include_bsp_HEADERS =
-include_bsp_HEADERS += ../../../../../../bsps/m68k/mvme147/include/bsp/irq.h
diff --git a/bsps/m68k/mvme147/start/bsp_specs b/bsps/m68k/mvme147/start/bsp_specs
deleted file mode 100644
index e69de29bb2..0000000000
--- a/bsps/m68k/mvme147/start/bsp_specs
+++ /dev/null
diff --git a/bsps/m68k/mvme147s/headers.am b/bsps/m68k/mvme147s/headers.am
deleted file mode 100644
index d4361d1e92..0000000000
--- a/bsps/m68k/mvme147s/headers.am
+++ /dev/null
@@ -1,10 +0,0 @@
-## This file was generated by "./boostrap -H".
-
-include_HEADERS =
-include_HEADERS += ../../../../../../bsps/m68k/mvme147s/include/bsp.h
-include_HEADERS += include/bspopts.h
-include_HEADERS += ../../../../../../bsps/m68k/mvme147s/include/tm27.h
-
-include_bspdir = $(includedir)/bsp
-include_bsp_HEADERS =
-include_bsp_HEADERS += ../../../../../../bsps/m68k/mvme147s/include/bsp/irq.h
diff --git a/bsps/m68k/mvme147s/start/bsp_specs b/bsps/m68k/mvme147s/start/bsp_specs
deleted file mode 100644
index e69de29bb2..0000000000
--- a/bsps/m68k/mvme147s/start/bsp_specs
+++ /dev/null
diff --git a/bsps/m68k/mvme162/headers.am b/bsps/m68k/mvme162/headers.am
deleted file mode 100644
index d2feffe932..0000000000
--- a/bsps/m68k/mvme162/headers.am
+++ /dev/null
@@ -1,11 +0,0 @@
-## This file was generated by "./boostrap -H".
-
-include_HEADERS =
-include_HEADERS += ../../../../../../bsps/m68k/mvme162/include/bsp.h
-include_HEADERS += include/bspopts.h
-include_HEADERS += ../../../../../../bsps/m68k/mvme162/include/page_table.h
-include_HEADERS += ../../../../../../bsps/m68k/mvme162/include/tm27.h
-
-include_bspdir = $(includedir)/bsp
-include_bsp_HEADERS =
-include_bsp_HEADERS += ../../../../../../bsps/m68k/mvme162/include/bsp/irq.h
diff --git a/bsps/m68k/mvme162/start/bsp_specs b/bsps/m68k/mvme162/start/bsp_specs
deleted file mode 100644
index e69de29bb2..0000000000
--- a/bsps/m68k/mvme162/start/bsp_specs
+++ /dev/null
diff --git a/bsps/m68k/mvme167/headers.am b/bsps/m68k/mvme167/headers.am
deleted file mode 100644
index 4c92f1305b..0000000000
--- a/bsps/m68k/mvme167/headers.am
+++ /dev/null
@@ -1,11 +0,0 @@
-## This file was generated by "./boostrap -H".
-
-include_HEADERS =
-include_HEADERS += ../../../../../../bsps/m68k/mvme167/include/bsp.h
-include_HEADERS += include/bspopts.h
-include_HEADERS += ../../../../../../bsps/m68k/mvme167/include/page_table.h
-include_HEADERS += ../../../../../../bsps/m68k/mvme167/include/tm27.h
-
-include_bspdir = $(includedir)/bsp
-include_bsp_HEADERS =
-include_bsp_HEADERS += ../../../../../../bsps/m68k/mvme167/include/bsp/irq.h
diff --git a/bsps/m68k/mvme167/start/bsp_specs b/bsps/m68k/mvme167/start/bsp_specs
deleted file mode 100644
index e69de29bb2..0000000000
--- a/bsps/m68k/mvme167/start/bsp_specs
+++ /dev/null
diff --git a/bsps/m68k/shared/fpsp-sources.am b/bsps/m68k/shared/fpsp-sources.am
deleted file mode 100644
index 3728edf112..0000000000
--- a/bsps/m68k/shared/fpsp-sources.am
+++ /dev/null
@@ -1,42 +0,0 @@
-librtemsbsp_a_SOURCES += ../../../../../../bsps/m68k/shared/fpsp/bindec.S
-librtemsbsp_a_SOURCES += ../../../../../../bsps/m68k/shared/fpsp/binstr.S
-librtemsbsp_a_SOURCES += ../../../../../../bsps/m68k/shared/fpsp/bugfix.S
-librtemsbsp_a_SOURCES += ../../../../../../bsps/m68k/shared/fpsp/decbin.S
-librtemsbsp_a_SOURCES += ../../../../../../bsps/m68k/shared/fpsp/do_func.S
-librtemsbsp_a_SOURCES += ../../../../../../bsps/m68k/shared/fpsp/gen_except.S
-librtemsbsp_a_SOURCES += ../../../../../../bsps/m68k/shared/fpsp/get_op.S
-librtemsbsp_a_SOURCES += ../../../../../../bsps/m68k/shared/fpsp/kernel_ex.S
-librtemsbsp_a_SOURCES += ../../../../../../bsps/m68k/shared/fpsp/res_func.S
-librtemsbsp_a_SOURCES += ../../../../../../bsps/m68k/shared/fpsp/round.S
-librtemsbsp_a_SOURCES += ../../../../../../bsps/m68k/shared/fpsp/rtems_fpsp.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/m68k/shared/fpsp/rtems_skel.S
-librtemsbsp_a_SOURCES += ../../../../../../bsps/m68k/shared/fpsp/sacos.S
-librtemsbsp_a_SOURCES += ../../../../../../bsps/m68k/shared/fpsp/sasin.S
-librtemsbsp_a_SOURCES += ../../../../../../bsps/m68k/shared/fpsp/satanh.S
-librtemsbsp_a_SOURCES += ../../../../../../bsps/m68k/shared/fpsp/satan.S
-librtemsbsp_a_SOURCES += ../../../../../../bsps/m68k/shared/fpsp/scale.S
-librtemsbsp_a_SOURCES += ../../../../../../bsps/m68k/shared/fpsp/scosh.S
-librtemsbsp_a_SOURCES += ../../../../../../bsps/m68k/shared/fpsp/setox.S
-librtemsbsp_a_SOURCES += ../../../../../../bsps/m68k/shared/fpsp/sgetem.S
-librtemsbsp_a_SOURCES += ../../../../../../bsps/m68k/shared/fpsp/sint.S
-librtemsbsp_a_SOURCES += ../../../../../../bsps/m68k/shared/fpsp/slog2.S
-librtemsbsp_a_SOURCES += ../../../../../../bsps/m68k/shared/fpsp/slogn.S
-librtemsbsp_a_SOURCES += ../../../../../../bsps/m68k/shared/fpsp/smovecr.S
-librtemsbsp_a_SOURCES += ../../../../../../bsps/m68k/shared/fpsp/srem_mod.S
-librtemsbsp_a_SOURCES += ../../../../../../bsps/m68k/shared/fpsp/ssinh.S
-librtemsbsp_a_SOURCES += ../../../../../../bsps/m68k/shared/fpsp/ssin.S
-librtemsbsp_a_SOURCES += ../../../../../../bsps/m68k/shared/fpsp/stanh.S
-librtemsbsp_a_SOURCES += ../../../../../../bsps/m68k/shared/fpsp/stan.S
-librtemsbsp_a_SOURCES += ../../../../../../bsps/m68k/shared/fpsp/sto_res.S
-librtemsbsp_a_SOURCES += ../../../../../../bsps/m68k/shared/fpsp/stwotox.S
-librtemsbsp_a_SOURCES += ../../../../../../bsps/m68k/shared/fpsp/tbldo.S
-librtemsbsp_a_SOURCES += ../../../../../../bsps/m68k/shared/fpsp/util.S
-librtemsbsp_a_SOURCES += ../../../../../../bsps/m68k/shared/fpsp/x_bsun.S
-librtemsbsp_a_SOURCES += ../../../../../../bsps/m68k/shared/fpsp/x_fline.S
-librtemsbsp_a_SOURCES += ../../../../../../bsps/m68k/shared/fpsp/x_operr.S
-librtemsbsp_a_SOURCES += ../../../../../../bsps/m68k/shared/fpsp/x_ovfl.S
-librtemsbsp_a_SOURCES += ../../../../../../bsps/m68k/shared/fpsp/x_snan.S
-librtemsbsp_a_SOURCES += ../../../../../../bsps/m68k/shared/fpsp/x_store.S
-librtemsbsp_a_SOURCES += ../../../../../../bsps/m68k/shared/fpsp/x_unfl.S
-librtemsbsp_a_SOURCES += ../../../../../../bsps/m68k/shared/fpsp/x_unimp.S
-librtemsbsp_a_SOURCES += ../../../../../../bsps/m68k/shared/fpsp/x_unsupp.S
diff --git a/bsps/m68k/uC5282/headers.am b/bsps/m68k/uC5282/headers.am
deleted file mode 100644
index 9dcde40e80..0000000000
--- a/bsps/m68k/uC5282/headers.am
+++ /dev/null
@@ -1,10 +0,0 @@
-## This file was generated by "./boostrap -H".
-
-include_HEADERS =
-include_HEADERS += ../../../../../../bsps/m68k/uC5282/include/bsp.h
-include_HEADERS += include/bspopts.h
-include_HEADERS += ../../../../../../bsps/m68k/uC5282/include/tm27.h
-
-include_bspdir = $(includedir)/bsp
-include_bsp_HEADERS =
-include_bsp_HEADERS += ../../../../../../bsps/m68k/uC5282/include/bsp/irq.h
diff --git a/bsps/m68k/uC5282/start/bsp_specs b/bsps/m68k/uC5282/start/bsp_specs
deleted file mode 100644
index e69de29bb2..0000000000
--- a/bsps/m68k/uC5282/start/bsp_specs
+++ /dev/null
diff --git a/bsps/microblaze/include/bsp/linker-symbols.h b/bsps/microblaze/include/bsp/linker-symbols.h
new file mode 100644
index 0000000000..da162060b5
--- /dev/null
+++ b/bsps/microblaze/include/bsp/linker-symbols.h
@@ -0,0 +1,106 @@
+/* SPDX-License-Identifier: BSD-2-Clause */
+
+/*
+ * Copyright (C) 2015 Hesham Almatary
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ * 1. Redistributions of source code must retain the above copyright
+ * notice, this list of conditions and the following disclaimer.
+ * 2. Redistributions in binary form must reproduce the above copyright
+ * notice, this list of conditions and the following disclaimer in the
+ * documentation and/or other materials provided with the distribution.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
+ * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
+ * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+ * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
+ * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+ * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
+ * POSSIBILITY OF SUCH DAMAGE.
+ */
+
+#ifndef LIBBSP_MICROBLAZE_SHARED_LINKER_SYMBOLS_H
+#define LIBBSP_MICROBLAZE_SHARED_LINKER_SYMBOLS_H
+
+#ifdef __cplusplus
+extern "C" {
+#endif /* __cplusplus */
+
+/**
+ * @defgroup microblaze Linker Support
+ *
+ * @ingroup microblaze_shared
+ *
+ * @brief Linker support.
+ *
+ * @{
+ */
+
+#ifndef ASM
+ #define LINKER_SYMBOL(sym) extern char sym [];
+#else
+ #define LINKER_SYMBOL(sym) .extern sym
+#endif
+
+LINKER_SYMBOL(bsp_section_start_begin)
+LINKER_SYMBOL(bsp_section_start_end)
+LINKER_SYMBOL(bsp_section_start_size)
+
+LINKER_SYMBOL(bsp_section_vector_begin)
+LINKER_SYMBOL(bsp_section_vector_end)
+LINKER_SYMBOL(bsp_section_vector_size)
+
+LINKER_SYMBOL(bsp_section_text_begin)
+LINKER_SYMBOL(bsp_section_text_end)
+LINKER_SYMBOL(bsp_section_text_size)
+LINKER_SYMBOL(bsp_section_text_load_begin)
+LINKER_SYMBOL(bsp_section_text_load_end)
+
+LINKER_SYMBOL(bsp_section_rodata_begin)
+LINKER_SYMBOL(bsp_section_rodata_end)
+LINKER_SYMBOL(bsp_section_rodata_size)
+LINKER_SYMBOL(bsp_section_rodata_load_begin)
+LINKER_SYMBOL(bsp_section_rodata_load_end)
+
+LINKER_SYMBOL(bsp_section_data_begin)
+LINKER_SYMBOL(bsp_section_data_end)
+LINKER_SYMBOL(bsp_section_data_size)
+LINKER_SYMBOL(bsp_section_data_load_begin)
+LINKER_SYMBOL(bsp_section_data_load_end)
+
+LINKER_SYMBOL(bsp_section_bss_begin)
+LINKER_SYMBOL(bsp_section_bss_end)
+LINKER_SYMBOL(bsp_section_bss_size)
+
+LINKER_SYMBOL(bsp_section_work_begin)
+LINKER_SYMBOL(bsp_section_work_end)
+LINKER_SYMBOL(bsp_section_work_size)
+
+LINKER_SYMBOL(bsp_section_stack_begin)
+LINKER_SYMBOL(bsp_section_stack_end)
+LINKER_SYMBOL(bsp_section_stack_size)
+
+LINKER_SYMBOL(bsp_vector_table_begin)
+LINKER_SYMBOL(bsp_vector_table_end)
+LINKER_SYMBOL(bsp_vector_table_size)
+
+LINKER_SYMBOL(bsp_start_vector_table_begin)
+LINKER_SYMBOL(bsp_start_vector_table_end)
+LINKER_SYMBOL(bsp_start_vector_table_size)
+
+LINKER_SYMBOL(bsp_translation_table_base)
+LINKER_SYMBOL(bsp_translation_table_end)
+
+/** @} */
+
+#ifdef __cplusplus
+}
+#endif /* __cplusplus */
+
+#endif /* LIBBSP_MICROBLAZE_SHARED_LINKER_SYMBOLS_H */
diff --git a/bsps/microblaze/include/common/xil_types.h b/bsps/microblaze/include/common/xil_types.h
new file mode 100644
index 0000000000..929e83f8f0
--- /dev/null
+++ b/bsps/microblaze/include/common/xil_types.h
@@ -0,0 +1,197 @@
+/******************************************************************************
+* Copyright (c) 2010 - 2020 Xilinx, Inc. All rights reserved.
+* SPDX-License-Identifier: MIT
+******************************************************************************/
+
+/*****************************************************************************/
+/**
+*
+* @file xil_types.h
+*
+* @addtogroup common_types Basic Data types for Xilinx&reg; Software IP
+*
+* The xil_types.h file contains basic types for Xilinx software IP. These data types
+* are applicable for all processors supported by Xilinx.
+* @{
+* <pre>
+* MODIFICATION HISTORY:
+*
+* Ver Who Date Changes
+* ----- ---- -------- -------------------------------------------------------
+* 1.00a hbm 07/14/09 First release
+* 3.03a sdm 05/30/11 Added Xuint64 typedef and XUINT64_MSW/XUINT64_LSW macros
+* 5.00 pkp 05/29/14 Made changes for 64 bit architecture
+* srt 07/14/14 Use standard definitions from stdint.h and stddef.h
+* Define LONG and ULONG datatypes and mask values
+* 7.00 mus 01/07/19 Add cpp extern macro
+* 7.1 aru 08/19/19 Shift the value in UPPER_32_BITS only if it
+* is 64-bit processor
+* </pre>
+*
+******************************************************************************/
+
+#ifndef XIL_TYPES_H /* prevent circular inclusions */
+#define XIL_TYPES_H /* by using protection macros */
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+#include <stdint.h>
+#include <stddef.h>
+
+/************************** Constant Definitions *****************************/
+
+#ifndef TRUE
+# define TRUE 1U
+#endif
+
+#ifndef FALSE
+# define FALSE 0U
+#endif
+
+#ifndef NULL
+#define NULL 0U
+#endif
+
+#define XIL_COMPONENT_IS_READY 0x11111111U /**< In device drivers, This macro will be
+ assigend to "IsReady" member of driver
+ instance to indicate that driver
+ instance is initialized and ready to use. */
+#define XIL_COMPONENT_IS_STARTED 0x22222222U /**< In device drivers, This macro will be assigend to
+ "IsStarted" member of driver instance
+ to indicate that driver instance is
+ started and it can be enabled. */
+
+/* @name New types
+ * New simple types.
+ * @{
+ */
+#ifndef __KERNEL__
+#ifndef XBASIC_TYPES_H
+/*
+ * guarded against xbasic_types.h.
+ */
+typedef uint8_t u8;
+typedef uint16_t u16;
+typedef uint32_t u32;
+/** @}*/
+#define __XUINT64__
+typedef struct
+{
+ u32 Upper;
+ u32 Lower;
+} Xuint64;
+
+
+/*****************************************************************************/
+/**
+* @brief Return the most significant half of the 64 bit data type.
+*
+* @param x is the 64 bit word.
+*
+* @return The upper 32 bits of the 64 bit word.
+*
+******************************************************************************/
+#define XUINT64_MSW(x) ((x).Upper)
+
+/*****************************************************************************/
+/**
+* @brief Return the least significant half of the 64 bit data type.
+*
+* @param x is the 64 bit word.
+*
+* @return The lower 32 bits of the 64 bit word.
+*
+******************************************************************************/
+#define XUINT64_LSW(x) ((x).Lower)
+
+#endif /* XBASIC_TYPES_H */
+
+/*
+ * xbasic_types.h does not typedef s* or u64
+ */
+/** @{ */
+typedef char char8;
+typedef int8_t s8;
+typedef int16_t s16;
+typedef int32_t s32;
+typedef int64_t s64;
+typedef uint64_t u64;
+typedef int sint32;
+
+typedef intptr_t INTPTR;
+typedef uintptr_t UINTPTR;
+typedef ptrdiff_t PTRDIFF;
+/** @}*/
+#if !defined(LONG) || !defined(ULONG)
+typedef long LONG;
+typedef unsigned long ULONG;
+#endif
+
+#define ULONG64_HI_MASK 0xFFFFFFFF00000000U
+#define ULONG64_LO_MASK ~ULONG64_HI_MASK
+
+#else
+#include <linux/types.h>
+#endif
+
+/** @{ */
+/**
+ * This data type defines an interrupt handler for a device.
+ * The argument points to the instance of the component
+ */
+typedef void (*XInterruptHandler) (void *InstancePtr);
+
+/**
+ * This data type defines an exception handler for a processor.
+ * The argument points to the instance of the component
+ */
+typedef void (*XExceptionHandler) (void *InstancePtr);
+
+/**
+ * @brief Returns 32-63 bits of a number.
+ * @param n : Number being accessed.
+ * @return Bits 32-63 of number.
+ *
+ * @note A basic shift-right of a 64- or 32-bit quantity.
+ * Use this to suppress the "right shift count >= width of type"
+ * warning when that quantity is 32-bits.
+ */
+#if defined (__aarch64__) || defined (__arch64__)
+#define UPPER_32_BITS(n) ((u32)(((n) >> 16) >> 16))
+#else
+#define UPPER_32_BITS(n) 0U
+#endif
+/**
+ * @brief Returns 0-31 bits of a number
+ * @param n : Number being accessed.
+ * @return Bits 0-31 of number
+ */
+#define LOWER_32_BITS(n) ((u32)(n))
+
+
+
+
+/************************** Constant Definitions *****************************/
+
+#ifndef TRUE
+#define TRUE 1U
+#endif
+
+#ifndef FALSE
+#define FALSE 0U
+#endif
+
+#ifndef NULL
+#define NULL 0U
+#endif
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif /* end of protection macro */
+/**
+* @} End of "addtogroup common_types".
+*/ \ No newline at end of file
diff --git a/bsps/microblaze/include/dev/serial/uartlite.h b/bsps/microblaze/include/dev/serial/uartlite.h
new file mode 100644
index 0000000000..6e288d4dc7
--- /dev/null
+++ b/bsps/microblaze/include/dev/serial/uartlite.h
@@ -0,0 +1,62 @@
+/* SPDX-License-Identifier: BSD-2-Clause */
+
+/**
+ * @file
+ *
+ * @ingroup RTEMSBSPsMicroblaze
+ *
+ * @brief MicroBlaze AXI UART Lite terminal definitions
+ */
+
+/*
+ * Copyright (C) 2021 On-Line Applications Research Corporation (OAR)
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ * 1. Redistributions of source code must retain the above copyright
+ * notice, this list of conditions and the following disclaimer.
+ * 2. Redistributions in binary form must reproduce the above copyright
+ * notice, this list of conditions and the following disclaimer in the
+ * documentation and/or other materials provided with the distribution.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
+ * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
+ * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+ * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
+ * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+ * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
+ * POSSIBILITY OF SUCH DAMAGE.
+ */
+
+#ifndef LIBBSP_MICROBLAZE_SHARED_UARTLITE_H
+#define LIBBSP_MICROBLAZE_SHARED_UARTLITE_H
+
+#include <rtems/termiostypes.h>
+
+#include <dev/serial/uartlite_l.h>
+
+#ifdef __cplusplus
+extern "C" {
+#endif /* __cplusplus */
+
+typedef struct {
+ rtems_termios_device_context base;
+ uintptr_t address;
+ uint32_t initial_baud;
+#ifdef BSP_MICROBLAZE_FPGA_CONSOLE_INTERRUPTS
+ bool transmitting;
+#endif
+} uart_lite_context;
+
+extern const rtems_termios_device_handler microblaze_uart_fns;
+
+#ifdef __cplusplus
+}
+#endif /* __cplusplus */
+
+#endif /* LIBBSP_MICROBLAZE_SHARED_UARTLITE_H */
diff --git a/bsps/microblaze/include/dev/serial/uartlite_l.h b/bsps/microblaze/include/dev/serial/uartlite_l.h
new file mode 100644
index 0000000000..8c0598e191
--- /dev/null
+++ b/bsps/microblaze/include/dev/serial/uartlite_l.h
@@ -0,0 +1,323 @@
+/******************************************************************************
+* Copyright (C) 2002 - 2020 Xilinx, Inc. All rights reserved.
+* SPDX-License-Identifier: MIT
+******************************************************************************/
+
+/****************************************************************************/
+/**
+*
+* @file xuartlite_l.h
+* @addtogroup uartlite_v3_5
+* @{
+*
+* This header file contains identifiers and low-level driver functions (or
+* macros) that can be used to access the device. High-level driver functions
+* are defined in xuartlite.h.
+*
+* <pre>
+* MODIFICATION HISTORY:
+*
+* Ver Who Date Changes
+* ----- ---- -------- -------------------------------------------------------
+* 1.00b rpm 04/25/02 First release
+* 1.00b rpm 07/07/03 Removed references to XUartLite_GetControlReg macro
+* since the control register is write-only
+* 1.12a mta 03/21/07 Updated to new coding style
+* 1.13a sv 01/21/08 Updated driver to support access through DCR bus
+* 2.00a ktn 10/20/09 Updated to use HAL Processor APIs. The macros have been
+* renamed to remove _m from the name.
+* 3.2 sk 11/10/15 Used UINTPTR instead of u32 for Baseaddress CR# 867425.
+* Changed the prototypes of XUartLite_SendByte,
+* XUartLite_RecvByte APIs.
+* </pre>
+*
+*****************************************************************************/
+
+#ifndef XUARTLITE_L_H /* prevent circular inclusions */
+#define XUARTLITE_L_H /* by using protection macros */
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+/***************************** Include Files ********************************/
+
+#ifndef __rtems__
+#include "xil_types.h"
+#include "xil_assert.h"
+#include "xil_io.h"
+#else
+#include <common/xil_types.h>
+static inline u32 Xil_In32(UINTPTR Addr)
+{
+ return *(volatile u32 *) Addr;
+}
+static inline void Xil_Out32(UINTPTR Addr, u32 Value)
+{
+ volatile u32 *LocalAddr = (volatile u32 *)Addr;
+ *LocalAddr = Value;
+}
+#endif /* __rtems__ */
+
+/*
+ * XPAR_XUARTLITE_USE_DCR_BRIDGE has to be set to 1 if the UartLite device is
+ * accessed through a DCR bus connected to a bridge.
+ */
+#define XPAR_XUARTLITE_USE_DCR_BRIDGE 0
+
+#if (XPAR_XUARTLITE_USE_DCR_BRIDGE != 0)
+#include "xio_dcr.h"
+#endif
+
+
+/************************** Constant Definitions ****************************/
+
+/* UART Lite register offsets */
+
+#if (XPAR_XUARTLITE_USE_DCR_BRIDGE != 0)
+#define XUL_RX_FIFO_OFFSET 0 /* receive FIFO, read only */
+#define XUL_TX_FIFO_OFFSET 1 /* transmit FIFO, write only */
+#define XUL_STATUS_REG_OFFSET 2 /* status register, read only */
+#define XUL_CONTROL_REG_OFFSET 3 /* control reg, write only */
+
+#else
+
+#define XUL_RX_FIFO_OFFSET 0 /* receive FIFO, read only */
+#define XUL_TX_FIFO_OFFSET 4 /* transmit FIFO, write only */
+#define XUL_STATUS_REG_OFFSET 8 /* status register, read only */
+#define XUL_CONTROL_REG_OFFSET 12 /* control reg, write only */
+
+#endif
+
+/* Control Register bit positions */
+
+#define XUL_CR_ENABLE_INTR 0x10 /* enable interrupt */
+#define XUL_CR_FIFO_RX_RESET 0x02 /* reset receive FIFO */
+#define XUL_CR_FIFO_TX_RESET 0x01 /* reset transmit FIFO */
+
+/* Status Register bit positions */
+
+#define XUL_SR_PARITY_ERROR 0x80
+#define XUL_SR_FRAMING_ERROR 0x40
+#define XUL_SR_OVERRUN_ERROR 0x20
+#define XUL_SR_INTR_ENABLED 0x10 /* interrupt enabled */
+#define XUL_SR_TX_FIFO_FULL 0x08 /* transmit FIFO full */
+#define XUL_SR_TX_FIFO_EMPTY 0x04 /* transmit FIFO empty */
+#define XUL_SR_RX_FIFO_FULL 0x02 /* receive FIFO full */
+#define XUL_SR_RX_FIFO_VALID_DATA 0x01 /* data in receive FIFO */
+
+/* The following constant specifies the size of the Transmit/Receive FIFOs.
+ * The FIFO size is fixed to 16 in the Uartlite IP and the size is not
+ * configurable. This constant is not used in the driver.
+ */
+#define XUL_FIFO_SIZE 16
+
+/* Stop bits are fixed at 1. Baud, parity, and data bits are fixed on a
+ * per instance basis
+ */
+#define XUL_STOP_BITS 1
+
+/* Parity definitions
+ */
+#define XUL_PARITY_NONE 0
+#define XUL_PARITY_ODD 1
+#define XUL_PARITY_EVEN 2
+
+/**************************** Type Definitions ******************************/
+
+/***************** Macros (Inline Functions) Definitions ********************/
+
+/*
+ * Define the appropriate I/O access method to memory mapped I/O or DCR.
+ */
+#if (XPAR_XUARTLITE_USE_DCR_BRIDGE != 0)
+
+#define XUartLite_In32 XIo_DcrIn
+#define XUartLite_Out32 XIo_DcrOut
+
+#else
+
+#define XUartLite_In32 Xil_In32
+#define XUartLite_Out32 Xil_Out32
+
+#endif
+
+
+/****************************************************************************/
+/**
+*
+* Write a value to a UartLite register. A 32 bit write is performed.
+*
+* @param BaseAddress is the base address of the UartLite device.
+* @param RegOffset is the register offset from the base to write to.
+* @param Data is the data written to the register.
+*
+* @return None.
+*
+* @note C-style signature:
+* void XUartLite_WriteReg(u32 BaseAddress, u32 RegOffset,
+* u32 Data)
+*
+****************************************************************************/
+#define XUartLite_WriteReg(BaseAddress, RegOffset, Data) \
+ XUartLite_Out32((BaseAddress) + (RegOffset), (u32)(Data))
+
+/****************************************************************************/
+/**
+*
+* Read a value from a UartLite register. A 32 bit read is performed.
+*
+* @param BaseAddress is the base address of the UartLite device.
+* @param RegOffset is the register offset from the base to read from.
+*
+* @return Data read from the register.
+*
+* @note C-style signature:
+* u32 XUartLite_ReadReg(u32 BaseAddress, u32 RegOffset)
+*
+****************************************************************************/
+#define XUartLite_ReadReg(BaseAddress, RegOffset) \
+ XUartLite_In32((BaseAddress) + (RegOffset))
+
+
+/****************************************************************************/
+/**
+*
+* Set the contents of the control register. Use the XUL_CR_* constants defined
+* above to create the bit-mask to be written to the register.
+*
+* @param BaseAddress is the base address of the device
+* @param Mask is the 32-bit value to write to the control register
+*
+* @return None.
+*
+* @note C-style Signature:
+* void XUartLite_SetControlReg(u32 BaseAddress, u32 Mask);
+*
+*****************************************************************************/
+#define XUartLite_SetControlReg(BaseAddress, Mask) \
+ XUartLite_WriteReg((BaseAddress), XUL_CONTROL_REG_OFFSET, (Mask))
+
+
+/****************************************************************************/
+/**
+*
+* Get the contents of the status register. Use the XUL_SR_* constants defined
+* above to interpret the bit-mask returned.
+*
+* @param BaseAddress is the base address of the device
+*
+* @return A 32-bit value representing the contents of the status register.
+*
+* @note C-style Signature:
+* u32 XUartLite_GetStatusReg(u32 BaseAddress);
+*
+*****************************************************************************/
+#define XUartLite_GetStatusReg(BaseAddress) \
+ XUartLite_ReadReg((BaseAddress), XUL_STATUS_REG_OFFSET)
+
+
+/****************************************************************************/
+/**
+*
+* Check to see if the receiver has data.
+*
+* @param BaseAddress is the base address of the device
+*
+* @return TRUE if the receiver is empty, FALSE if there is data present.
+*
+* @note C-style Signature:
+* int XUartLite_IsReceiveEmpty(u32 BaseAddress);
+*
+*****************************************************************************/
+#define XUartLite_IsReceiveEmpty(BaseAddress) \
+ ((XUartLite_GetStatusReg((BaseAddress)) & XUL_SR_RX_FIFO_VALID_DATA) != \
+ XUL_SR_RX_FIFO_VALID_DATA)
+
+
+/****************************************************************************/
+/**
+*
+* Check to see if the transmitter is full.
+*
+* @param BaseAddress is the base address of the device
+*
+* @return TRUE if the transmitter is full, FALSE otherwise.
+*
+* @note C-style Signature:
+* int XUartLite_IsTransmitFull(u32 BaseAddress);
+*
+*****************************************************************************/
+#define XUartLite_IsTransmitFull(BaseAddress) \
+ ((XUartLite_GetStatusReg((BaseAddress)) & XUL_SR_TX_FIFO_FULL) == \
+ XUL_SR_TX_FIFO_FULL)
+
+
+/****************************************************************************/
+/**
+*
+* Check to see if the interrupt is enabled.
+*
+* @param BaseAddress is the base address of the device
+*
+* @return TRUE if the interrupt is enabled, FALSE otherwise.
+*
+* @note C-style Signature:
+* int XUartLite_IsIntrEnabled(u32 BaseAddress);
+*
+*****************************************************************************/
+#define XUartLite_IsIntrEnabled(BaseAddress) \
+ ((XUartLite_GetStatusReg((BaseAddress)) & XUL_SR_INTR_ENABLED) == \
+ XUL_SR_INTR_ENABLED)
+
+
+/****************************************************************************/
+/**
+*
+* Enable the device interrupt. We cannot read the control register, so we
+* just write the enable interrupt bit and clear all others. Since the only
+* other ones are the FIFO reset bits, this works without side effects.
+*
+* @param BaseAddress is the base address of the device
+*
+* @return None.
+*
+* @note C-style Signature:
+* void XUartLite_EnableIntr(u32 BaseAddress);
+*
+*****************************************************************************/
+#define XUartLite_EnableIntr(BaseAddress) \
+ XUartLite_SetControlReg((BaseAddress), XUL_CR_ENABLE_INTR)
+
+
+/****************************************************************************/
+/**
+*
+* Disable the device interrupt. We cannot read the control register, so we
+* just clear all bits. Since the only other ones are the FIFO reset bits,
+* this works without side effects.
+*
+* @param BaseAddress is the base address of the device
+*
+* @return None.
+*
+* @note C-style Signature:
+* void XUartLite_DisableIntr(u32 BaseAddress);
+*
+*****************************************************************************/
+#define XUartLite_DisableIntr(BaseAddress) \
+ XUartLite_SetControlReg((BaseAddress), 0)
+
+/************************** Function Prototypes *****************************/
+
+void XUartLite_SendByte(UINTPTR BaseAddress, u8 Data);
+u8 XUartLite_RecvByte(UINTPTR BaseAddress);
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif /* end of protection macro */
+
+
+/** @} */
diff --git a/bsps/microblaze/microblaze_fpga/clock/clock.c b/bsps/microblaze/microblaze_fpga/clock/clock.c
new file mode 100644
index 0000000000..957d0fdadb
--- /dev/null
+++ b/bsps/microblaze/microblaze_fpga/clock/clock.c
@@ -0,0 +1,145 @@
+/* SPDX-License-Identifier: BSD-2-Clause */
+
+/**
+ * @file
+ *
+ * @ingroup RTEMSBSPsMicroblaze
+ *
+ * @brief MicroBlaze AXI Timer clock support
+ */
+
+/*
+ * Copyright (C) 2021 On-Line Applications Research Corporation (OAR)
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ * 1. Redistributions of source code must retain the above copyright
+ * notice, this list of conditions and the following disclaimer.
+ * 2. Redistributions in binary form must reproduce the above copyright
+ * notice, this list of conditions and the following disclaimer in the
+ * documentation and/or other materials provided with the distribution.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
+ * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
+ * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+ * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
+ * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+ * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
+ * POSSIBILITY OF SUCH DAMAGE.
+ */
+
+#include <bsp/fatal.h>
+#include <bsp/timer.h>
+
+#include <rtems.h>
+#include <rtems/irq-extension.h>
+#include <rtems/timecounter.h>
+
+static rtems_timecounter_simple mblaze_tc;
+
+static uint32_t microblaze_tc_get( rtems_timecounter_simple *tc )
+{
+ volatile Microblaze_Timer *timer = _Microblaze_Timer;
+ return timer->tcr0;
+}
+
+static bool microblaze_tc_is_pending( rtems_timecounter_simple *tc )
+{
+ volatile Microblaze_Timer *timer = _Microblaze_Timer;
+ return ( timer->tcsr0 & MICROBLAZE_TIMER_TCSR0_T0INT ) != 0;
+}
+
+static uint32_t microblaze_tc_get_timecount( struct timecounter *tc )
+{
+ return rtems_timecounter_simple_downcounter_get(
+ tc,
+ microblaze_tc_get,
+ microblaze_tc_is_pending
+ );
+}
+
+static void microblaze_clock_initialize( void )
+{
+ volatile Microblaze_Timer *timer = _Microblaze_Timer;
+ /* Set load register to 0 */
+ timer->tlr0 = 0;
+ /* Reset the timer and interrupt */
+ timer->tcsr0 = MICROBLAZE_TIMER_TCSR0_T0INT | MICROBLAZE_TIMER_TCSR0_LOAD0;
+ /* Release the reset */
+ timer->tcsr0 = 0;
+ /*
+ * Enable interrupt, auto reload mode, external interrupt signal,
+ * and down counter
+ */
+ timer->tcsr0 = MICROBLAZE_TIMER_TCSR0_ARHT0 | MICROBLAZE_TIMER_TCSR0_ENIT0 |
+ MICROBLAZE_TIMER_TCSR0_GENT0 | MICROBLAZE_TIMER_TCSR0_UDT0;
+
+ uint64_t us_per_tick = rtems_configuration_get_microseconds_per_tick();
+ uint32_t counter_frequency_in_hz = BSP_MICROBLAZE_FPGA_TIMER_FREQUENCY;
+ uint32_t counter_ticks_per_clock_tick =
+ ( counter_frequency_in_hz * us_per_tick ) / 1000000;
+
+ /* Set a reset value for the timer counter */
+ timer->tlr0 = counter_ticks_per_clock_tick;
+ uint32_t control_status_reg = timer->tcsr0;
+ /* Load the reset value into the counter register */
+ timer->tcsr0 = MICROBLAZE_TIMER_TCSR0_LOAD0;
+ /* Enable the timer */
+ timer->tcsr0 = control_status_reg | MICROBLAZE_TIMER_TCSR0_ENT0;
+
+ rtems_timecounter_simple_install(
+ &mblaze_tc,
+ counter_frequency_in_hz,
+ counter_ticks_per_clock_tick,
+ microblaze_tc_get_timecount
+ );
+}
+
+static void microblaze_clock_at_tick( rtems_timecounter_simple *tc )
+{
+ volatile Microblaze_Timer *timer = _Microblaze_Timer;
+ if ( ( timer->tcsr0 & MICROBLAZE_TIMER_TCSR0_T0INT ) == 0 ) {
+ return;
+ }
+ /* Clear the interrupt */
+ timer->tcsr0 |= MICROBLAZE_TIMER_TCSR0_T0INT;
+}
+
+static void microblaze_tc_tick( void )
+{
+ rtems_timecounter_simple_downcounter_tick(
+ &mblaze_tc,
+ microblaze_tc_get,
+ microblaze_clock_at_tick
+ );
+}
+
+static void microblaze_clock_handler_install( rtems_interrupt_handler isr )
+{
+ rtems_status_code sc = RTEMS_SUCCESSFUL;
+
+ sc = rtems_interrupt_handler_install(
+ 0,
+ "Clock",
+ RTEMS_INTERRUPT_UNIQUE,
+ isr,
+ NULL
+ );
+
+ if ( sc != RTEMS_SUCCESSFUL ) {
+ bsp_fatal( MICROBLAZE_FATAL_CLOCK_IRQ_INSTALL );
+ }
+}
+
+#define Clock_driver_support_initialize_hardware() microblaze_clock_initialize()
+#define Clock_driver_support_install_isr( isr ) \
+ microblaze_clock_handler_install( isr )
+#define Clock_driver_timecounter_tick() microblaze_tc_tick()
+
+/* Include shared source clock driver code */
+#include "../../shared/dev/clock/clockimpl.h"
diff --git a/bsps/microblaze/microblaze_fpga/console/console-io.c b/bsps/microblaze/microblaze_fpga/console/console-io.c
new file mode 100644
index 0000000000..cb2e367035
--- /dev/null
+++ b/bsps/microblaze/microblaze_fpga/console/console-io.c
@@ -0,0 +1,57 @@
+/* SPDX-License-Identifier: BSD-2-Clause */
+
+/**
+ * @file
+ *
+ * @ingroup RTEMSBSPsMicroblaze
+ *
+ * @brief MicroBlaze console configuration
+ */
+
+/*
+ * Copyright (C) 2015 Hesham Almatary
+ * Copyright (C) 2021 On-Line Applications Research Corporation (OAR)
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ * 1. Redistributions of source code must retain the above copyright
+ * notice, this list of conditions and the following disclaimer.
+ * 2. Redistributions in binary form must reproduce the above copyright
+ * notice, this list of conditions and the following disclaimer in the
+ * documentation and/or other materials provided with the distribution.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
+ * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
+ * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+ * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
+ * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+ * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
+ * POSSIBILITY OF SUCH DAMAGE.
+ */
+
+#include <bsp/console-termios.h>
+#include <dev/serial/uartlite.h>
+
+#include <bspopts.h>
+
+uart_lite_context microblaze_qemu_uart_context = {
+ .base = RTEMS_TERMIOS_DEVICE_CONTEXT_INITIALIZER( "UARTLITE" ),
+ .address = BSP_MICROBLAZE_FPGA_UART_BASE,
+ .initial_baud = 115200
+};
+
+const console_device console_device_table[] = {
+ {
+ .device_file = "/dev/ttyS0",
+ .probe = console_device_probe_default,
+ .handler = &microblaze_uart_fns,
+ .context = &microblaze_qemu_uart_context.base
+ }
+};
+
+const size_t console_device_count = RTEMS_ARRAY_SIZE( console_device_table );
diff --git a/bsps/microblaze/microblaze_fpga/console/debug-io.c b/bsps/microblaze/microblaze_fpga/console/debug-io.c
new file mode 100644
index 0000000000..e88f5468a7
--- /dev/null
+++ b/bsps/microblaze/microblaze_fpga/console/debug-io.c
@@ -0,0 +1,66 @@
+/* SPDX-License-Identifier: BSD-2-Clause */
+
+/**
+ * @file
+ *
+ * @ingroup RTEMSBSPsMicroblaze
+ *
+ * @brief MicroBlaze debug IO support
+ */
+
+/*
+ * Copyright (C) 2015 Hesham Almatary
+ * Copyright (C) 2021 On-Line Applications Research Corporation (OAR)
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ * 1. Redistributions of source code must retain the above copyright
+ * notice, this list of conditions and the following disclaimer.
+ * 2. Redistributions in binary form must reproduce the above copyright
+ * notice, this list of conditions and the following disclaimer in the
+ * documentation and/or other materials provided with the distribution.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
+ * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
+ * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+ * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
+ * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+ * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
+ * POSSIBILITY OF SUCH DAMAGE.
+ */
+
+#include <dev/serial/uartlite_l.h>
+#include <rtems/bspIo.h>
+
+#include <bspopts.h>
+
+static void output_char( char c )
+{
+ if ( c == '\n' ) {
+ XUartLite_SendByte( BSP_MICROBLAZE_FPGA_UART_BASE, '\r' );
+ }
+ XUartLite_SendByte( BSP_MICROBLAZE_FPGA_UART_BASE, c );
+}
+
+static int xUartLite_RecvByte( int minor )
+{
+ if ( XUartLite_IsReceiveEmpty( BSP_MICROBLAZE_FPGA_UART_BASE ) ) {
+ return -1;
+ }
+
+ return XUartLite_ReadReg( BSP_MICROBLAZE_FPGA_UART_BASE, XUL_RX_FIFO_OFFSET );
+}
+
+static int get_char( void )
+{
+ return xUartLite_RecvByte( 0 );
+}
+
+BSP_output_char_function_type BSP_output_char = output_char;
+
+BSP_polling_getchar_function_type BSP_poll_char = get_char;
diff --git a/bsps/microblaze/microblaze_fpga/include/bsp.h b/bsps/microblaze/microblaze_fpga/include/bsp.h
new file mode 100644
index 0000000000..e83e632553
--- /dev/null
+++ b/bsps/microblaze/microblaze_fpga/include/bsp.h
@@ -0,0 +1,53 @@
+/* SPDX-License-Identifier: BSD-2-Clause */
+
+/**
+ * @file
+ *
+ * @ingroup RTEMSBSPsMicroblaze
+ *
+ * @brief Core BSP definitions
+ */
+
+/*
+ * Copyright (C) 2015 Hesham Almatary
+ * Copyright (C) 2021 On-Line Applications Research Corporation (OAR)
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ * 1. Redistributions of source code must retain the above copyright
+ * notice, this list of conditions and the following disclaimer.
+ * 2. Redistributions in binary form must reproduce the above copyright
+ * notice, this list of conditions and the following disclaimer in the
+ * documentation and/or other materials provided with the distribution.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
+ * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
+ * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+ * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
+ * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+ * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
+ * POSSIBILITY OF SUCH DAMAGE.
+ */
+
+#ifndef LIBBSP_MICROBLAZE_FPGA_BSP_H
+#define LIBBSP_MICROBLAZE_FPGA_BSP_H
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+#include <bspopts.h>
+#include <bsp/default-initial-extension.h>
+
+#include <rtems.h>
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif /* LIBBSP_MICROBLAZE_FPGA_BSP_H */
diff --git a/bsps/microblaze/microblaze_fpga/include/bsp/intc.h b/bsps/microblaze/microblaze_fpga/include/bsp/intc.h
new file mode 100644
index 0000000000..df4554386d
--- /dev/null
+++ b/bsps/microblaze/microblaze_fpga/include/bsp/intc.h
@@ -0,0 +1,74 @@
+/* SPDX-License-Identifier: BSD-2-Clause */
+
+/**
+ * @file
+ *
+ * @ingroup RTEMSBSPsMicroblaze
+ *
+ * @brief MicroBlaze AXI Interrupt Controller definitions
+ */
+
+/*
+ * Copyright (C) 2021 On-Line Applications Research Corporation (OAR)
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ * 1. Redistributions of source code must retain the above copyright
+ * notice, this list of conditions and the following disclaimer.
+ * 2. Redistributions in binary form must reproduce the above copyright
+ * notice, this list of conditions and the following disclaimer in the
+ * documentation and/or other materials provided with the distribution.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
+ * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
+ * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+ * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
+ * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+ * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
+ * POSSIBILITY OF SUCH DAMAGE.
+ */
+
+#ifndef LIBBSP_MICROBLAZE_FPGA_INTC_H
+#define LIBBSP_MICROBLAZE_FPGA_INTC_H
+
+#include <bspopts.h>
+
+#include <bsp/utility.h>
+
+#ifdef __cplusplus
+extern "C" {
+#endif /* __cplusplus */
+
+typedef struct {
+ /* Interrupt Status Register */
+ uint32_t isr;
+ uint32_t ipr;
+ /* Interrupt Enable Register */
+ uint32_t ier;
+ /* Interrupt Acknowledge Register */
+ uint32_t iar;
+ uint32_t sie;
+ uint32_t cie;
+ uint32_t ivr;
+#define MICROBLAZE_INTC_MER_HIE BSP_BIT32(1)
+#define MICROBLAZE_INTC_MER_ME BSP_BIT32(0)
+ /* Master Enable Register */
+ uint32_t mer;
+ /* Interrupt Mode Register, this is present only for Fast Interrupt */
+ uint32_t imr;
+ /* Interrupt Level Register */
+ uint32_t ilr;
+} Microblaze_INTC;
+
+#define _Microblaze_INTC ((volatile Microblaze_INTC *) BSP_MICROBLAZE_FPGA_INTC_BASE)
+
+#ifdef __cplusplus
+}
+#endif /* __cplusplus */
+
+#endif /* LIBBSP_MICROBLAZE_FPGA_INTC_H */
diff --git a/bsps/microblaze/microblaze_fpga/include/bsp/irq.h b/bsps/microblaze/microblaze_fpga/include/bsp/irq.h
new file mode 100644
index 0000000000..0a7c211fb0
--- /dev/null
+++ b/bsps/microblaze/microblaze_fpga/include/bsp/irq.h
@@ -0,0 +1,49 @@
+/* SPDX-License-Identifier: BSD-2-Clause */
+
+/**
+ * @file
+ *
+ * @ingroup RTEMSBSPsMicroblaze
+ *
+ * @brief BSP IRQ definitions
+ */
+
+/*
+ * Copyright (C) 2021 On-Line Applications Research Corporation (OAR)
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ * 1. Redistributions of source code must retain the above copyright
+ * notice, this list of conditions and the following disclaimer.
+ * 2. Redistributions in binary form must reproduce the above copyright
+ * notice, this list of conditions and the following disclaimer in the
+ * documentation and/or other materials provided with the distribution.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
+ * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
+ * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+ * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
+ * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+ * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
+ * POSSIBILITY OF SUCH DAMAGE.
+ */
+
+#ifndef LIBBSP_MICROBLAZE_FPGA_IRQ_H
+#define LIBBSP_MICROBLAZE_FPGA_IRQ_H
+
+#ifndef ASM
+
+#include <rtems.h>
+#include <rtems/irq.h>
+#include <rtems/irq-extension.h>
+
+#endif /* ASM */
+
+#define BSP_INTERRUPT_VECTOR_COUNT 32
+
+#endif /* LIBBSP_MICROBLAZE_FPGA_IRQ_H */
diff --git a/bsps/microblaze/microblaze_fpga/include/bsp/timer.h b/bsps/microblaze/microblaze_fpga/include/bsp/timer.h
new file mode 100644
index 0000000000..562fdd79b0
--- /dev/null
+++ b/bsps/microblaze/microblaze_fpga/include/bsp/timer.h
@@ -0,0 +1,69 @@
+/* SPDX-License-Identifier: BSD-2-Clause */
+
+/**
+ * @file
+ *
+ * @ingroup RTEMSBSPsMicroblaze
+ *
+ * @brief MicroBlaze AXI Timer definitions
+ */
+
+/*
+ * Copyright (C) 2021 On-Line Applications Research Corporation (OAR)
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ * 1. Redistributions of source code must retain the above copyright
+ * notice, this list of conditions and the following disclaimer.
+ * 2. Redistributions in binary form must reproduce the above copyright
+ * notice, this list of conditions and the following disclaimer in the
+ * documentation and/or other materials provided with the distribution.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
+ * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
+ * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+ * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
+ * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+ * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
+ * POSSIBILITY OF SUCH DAMAGE.
+ */
+
+#ifndef LIBBSP_MICROBLAZE_FPGA_TIMER_H
+#define LIBBSP_MICROBLAZE_FPGA_TIMER_H
+
+#include <bspopts.h>
+
+#include <bsp/utility.h>
+
+#ifdef __cplusplus
+extern "C" {
+#endif /* __cplusplus */
+
+typedef struct {
+#define MICROBLAZE_TIMER_TCSR0_T0INT BSP_BIT32(8)
+#define MICROBLAZE_TIMER_TCSR0_ENT0 BSP_BIT32(7)
+#define MICROBLAZE_TIMER_TCSR0_ENIT0 BSP_BIT32(6)
+#define MICROBLAZE_TIMER_TCSR0_LOAD0 BSP_BIT32(5)
+#define MICROBLAZE_TIMER_TCSR0_ARHT0 BSP_BIT32(4)
+#define MICROBLAZE_TIMER_TCSR0_GENT0 BSP_BIT32(2)
+#define MICROBLAZE_TIMER_TCSR0_UDT0 BSP_BIT32(1)
+ /* Control/Status register */
+ uint32_t tcsr0;
+ /* Load register */
+ uint32_t tlr0;
+ /* Timer counter register */
+ uint32_t tcr0;
+} Microblaze_Timer;
+
+#define _Microblaze_Timer ((volatile Microblaze_Timer *) BSP_MICROBLAZE_FPGA_TIMER_BASE)
+
+#ifdef __cplusplus
+}
+#endif /* __cplusplus */
+
+#endif /* LIBBSP_MICROBLAZE_FPGA_TIMER_H */
diff --git a/bsps/microblaze/microblaze_fpga/include/tm27.h b/bsps/microblaze/microblaze_fpga/include/tm27.h
new file mode 100644
index 0000000000..f2e384b534
--- /dev/null
+++ b/bsps/microblaze/microblaze_fpga/include/tm27.h
@@ -0,0 +1,58 @@
+/* SPDX-License-Identifier: BSD-2-Clause */
+
+/**
+ * @file
+ *
+ * @ingroup RTEMSBSPsMicroblaze
+ *
+ * @brief BSP tm27 header
+ */
+
+/*
+ * Copyright (C) 2021 On-Line Applications Research Corporation (OAR)
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ * 1. Redistributions of source code must retain the above copyright
+ * notice, this list of conditions and the following disclaimer.
+ * 2. Redistributions in binary form must reproduce the above copyright
+ * notice, this list of conditions and the following disclaimer in the
+ * documentation and/or other materials provided with the distribution.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
+ * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
+ * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+ * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
+ * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+ * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
+ * POSSIBILITY OF SUCH DAMAGE.
+ */
+
+#ifndef _RTEMS_TMTEST27
+#error "This is an RTEMS internal file you must not include directly."
+#endif
+
+#ifndef __tm27_h
+#define __tm27_h
+
+/*
+ * Time Test 27 cannot be implemented reliably because the AXI interrupt
+ * controller is not guaranteed to support software interrupts.
+ */
+
+#define MUST_WAIT_FOR_INTERRUPT 0
+
+#define Install_tm27_vector( handler ) /* set_vector( (handler), 6, 1 ) */
+
+#define Cause_tm27_intr() /* empty */
+
+#define Clear_tm27_intr() /* empty */
+
+#define Lower_tm27_intr() /* empty */
+
+#endif /* __tm27_h */
diff --git a/bsps/microblaze/microblaze_fpga/irq/irq.c b/bsps/microblaze/microblaze_fpga/irq/irq.c
new file mode 100644
index 0000000000..67ddf02079
--- /dev/null
+++ b/bsps/microblaze/microblaze_fpga/irq/irq.c
@@ -0,0 +1,168 @@
+/* SPDX-License-Identifier: BSD-2-Clause */
+
+/**
+ * @file
+ *
+ * @ingroup RTEMSBSPsMicroblaze
+ *
+ * @brief MicroBlaze interrupt support
+ */
+
+/*
+ * Copyright (C) 2021 On-Line Applications Research Corporation (OAR)
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ * 1. Redistributions of source code must retain the above copyright
+ * notice, this list of conditions and the following disclaimer.
+ * 2. Redistributions in binary form must reproduce the above copyright
+ * notice, this list of conditions and the following disclaimer in the
+ * documentation and/or other materials provided with the distribution.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
+ * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
+ * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+ * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
+ * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+ * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
+ * POSSIBILITY OF SUCH DAMAGE.
+ */
+
+#include <bsp/intc.h>
+#include <bsp/irq-generic.h>
+
+#include <rtems/score/cpu.h>
+
+static void ack_interrupt( uint8_t source )
+{
+ volatile Microblaze_INTC *intc = _Microblaze_INTC;
+ intc->iar = 0x1 << source;
+}
+
+rtems_status_code bsp_interrupt_get_attributes(
+ rtems_vector_number vector,
+ rtems_interrupt_attributes *attributes
+)
+{
+ attributes->is_maskable = true;
+ attributes->maybe_enable = true;
+ attributes->maybe_disable = true;
+ attributes->can_clear = true;
+ attributes->cleared_by_acknowledge = true;
+
+ return RTEMS_SUCCESSFUL;
+}
+
+rtems_status_code bsp_interrupt_is_pending(
+ rtems_vector_number vector,
+ bool *pending
+)
+{
+ bsp_interrupt_assert( bsp_interrupt_is_valid_vector( vector ) );
+ bsp_interrupt_assert( pending != NULL );
+ *pending = false;
+ return RTEMS_UNSATISFIED;
+}
+
+rtems_status_code bsp_interrupt_raise( rtems_vector_number vector )
+{
+ bsp_interrupt_assert( bsp_interrupt_is_valid_vector( vector ) );
+ return RTEMS_UNSATISFIED;
+}
+
+rtems_status_code bsp_interrupt_clear( rtems_vector_number vector )
+{
+ bsp_interrupt_assert( bsp_interrupt_is_valid_vector( vector ) );
+
+ volatile Microblaze_INTC *intc = _Microblaze_INTC;
+ intc->iar = 0x1 << vector;
+
+ return RTEMS_SUCCESSFUL;
+}
+
+rtems_status_code bsp_interrupt_vector_is_enabled(
+ rtems_vector_number vector,
+ bool *enabled
+)
+{
+ bsp_interrupt_assert( bsp_interrupt_is_valid_vector( vector ) );
+ bsp_interrupt_assert( enabled != NULL );
+
+ volatile Microblaze_INTC *intc = _Microblaze_INTC;
+ uint32_t mask = 1 << vector;
+
+ *enabled = (intc->ier & mask) != 0;
+ return RTEMS_SUCCESSFUL;
+}
+
+rtems_status_code bsp_interrupt_vector_enable( rtems_vector_number vector )
+{
+ bsp_interrupt_assert( bsp_interrupt_is_valid_vector( vector ) );
+
+ volatile Microblaze_INTC *intc = _Microblaze_INTC;
+ uint32_t mask = 1 << vector;
+
+ intc->ier |= mask;
+
+ return RTEMS_SUCCESSFUL;
+}
+
+rtems_status_code bsp_interrupt_vector_disable( rtems_vector_number vector )
+{
+ bsp_interrupt_assert( bsp_interrupt_is_valid_vector( vector ) );
+
+ volatile Microblaze_INTC *intc = _Microblaze_INTC;
+ uint32_t mask = 1 << vector;
+
+ intc->ier &= ~mask;
+
+ return RTEMS_SUCCESSFUL;
+}
+
+void bsp_interrupt_facility_initialize( void )
+{
+ volatile Microblaze_INTC *intc = _Microblaze_INTC;
+ /*
+ * Enable HW interrupts on the interrupt controller. This happens before
+ * interrupts are enabled on the processor.
+ */
+ intc->mer = MICROBLAZE_INTC_MER_ME | MICROBLAZE_INTC_MER_HIE;
+}
+
+void bsp_interrupt_dispatch( uint32_t source )
+{
+ volatile Microblaze_INTC *intc = _Microblaze_INTC;
+ uint32_t vector_number = 0;
+
+ if ( source == 0xFF ) {
+ /* Read interrupt controller to get the source */
+ vector_number = intc->isr;
+
+ /* Handle and the first interrupt that is set */
+ uint8_t interrupt_status = 0;
+ for ( int i = 0; i < 32; i++ ) {
+ interrupt_status = vector_number >> i & 0x1;
+ if ( interrupt_status != 0 ) {
+ /* save current ILR */
+ uint32_t interrupt_levels = intc->ilr;
+ /* set ILR to block out every interrupt less than or equal to priority of i */
+ intc->ilr = 0xFFFFFFFF >> (32 - i);
+ bsp_interrupt_handler_dispatch( i );
+ ack_interrupt( i );
+ /* restore ILR */
+ intc->ilr = interrupt_levels;
+ break;
+ }
+ }
+ } else {
+ vector_number = source;
+
+ /* Fast interrupt mode. Handle interrupt. Ack happens automatically */
+ bsp_interrupt_handler_dispatch( vector_number );
+ }
+}
diff --git a/bsps/microblaze/microblaze_fpga/start/_exception_handler.S b/bsps/microblaze/microblaze_fpga/start/_exception_handler.S
new file mode 100644
index 0000000000..1d96b694a7
--- /dev/null
+++ b/bsps/microblaze/microblaze_fpga/start/_exception_handler.S
@@ -0,0 +1,52 @@
+/* SPDX-License-Identifier: BSD-3-Clause */
+
+/* Copyright (c) 2001, 2009 Xilinx, Inc. All rights reserved.
+
+ Redistribution and use in source and binary forms, with or without
+ modification, are permitted provided that the following conditions are
+ met:
+
+ 1. Redistributions source code must retain the above copyright notice,
+ this list of conditions and the following disclaimer.
+
+ 2. Redistributions in binary form must reproduce the above copyright
+ notice, this list of conditions and the following disclaimer in the
+ documentation and/or other materials provided with the distribution.
+
+ 3. Neither the name of Xilinx nor the names of its contributors may be
+ used to endorse or promote products derived from this software without
+ specific prior written permission.
+
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDER AND CONTRIBUTORS "AS
+ IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
+ TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
+ PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
+ HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+ SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED
+ TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
+ PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
+ LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
+ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+*/
+
+ .text
+ .globl _exception_handler # Exception Handler Label
+ .align 2
+
+ _exception_handler:
+#ifndef __rtems__
+ rtsd r17, 0
+ nop
+#else /* __rtems__ */
+ /* Subtract stack frame */
+ addik r1, r1, -52
+
+ swi r5, r1, 8
+
+ addi r5, r0, 0xFFFF
+
+ braid _ISR_Handler
+ nop
+#endif /* __rtems__ */
diff --git a/bsps/microblaze/microblaze_fpga/start/_hw_exception_handler.S b/bsps/microblaze/microblaze_fpga/start/_hw_exception_handler.S
new file mode 100644
index 0000000000..30436a43e9
--- /dev/null
+++ b/bsps/microblaze/microblaze_fpga/start/_hw_exception_handler.S
@@ -0,0 +1,52 @@
+/* SPDX-License-Identifier: BSD-3-Clause */
+
+/* Copyright (c) 2001, 2009 Xilinx, Inc. All rights reserved.
+
+ Redistribution and use in source and binary forms, with or without
+ modification, are permitted provided that the following conditions are
+ met:
+
+ 1. Redistributions source code must retain the above copyright notice,
+ this list of conditions and the following disclaimer.
+
+ 2. Redistributions in binary form must reproduce the above copyright
+ notice, this list of conditions and the following disclaimer in the
+ documentation and/or other materials provided with the distribution.
+
+ 3. Neither the name of Xilinx nor the names of its contributors may be
+ used to endorse or promote products derived from this software without
+ specific prior written permission.
+
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDER AND CONTRIBUTORS "AS
+ IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
+ TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
+ PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
+ HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+ SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED
+ TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
+ PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
+ LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
+ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+*/
+
+ .text
+ .globl _hw_exception_handler # HW Exception Handler Label
+ .align 2
+
+ _hw_exception_handler:
+#ifndef __rtems__
+ rtsd r17, 0
+ nop
+#else /* __rtems__ */
+ /* Subtract stack frame */
+ addik r1, r1, -52
+
+ swi r5, r1, 8
+
+ addi r5, r0, 0xFFFF
+
+ braid _ISR_Handler
+ nop
+#endif /* __rtems__ */
diff --git a/bsps/microblaze/microblaze_fpga/start/_interrupt_handler.S b/bsps/microblaze/microblaze_fpga/start/_interrupt_handler.S
new file mode 100644
index 0000000000..b817503922
--- /dev/null
+++ b/bsps/microblaze/microblaze_fpga/start/_interrupt_handler.S
@@ -0,0 +1,53 @@
+/* SPDX-License-Identifier: BSD-3-Clause */
+
+/* Copyright (c) 2001, 2009 Xilinx, Inc. All rights reserved.
+
+ Redistribution and use in source and binary forms, with or without
+ modification, are permitted provided that the following conditions are
+ met:
+
+ 1. Redistributions source code must retain the above copyright notice,
+ this list of conditions and the following disclaimer.
+
+ 2. Redistributions in binary form must reproduce the above copyright
+ notice, this list of conditions and the following disclaimer in the
+ documentation and/or other materials provided with the distribution.
+
+ 3. Neither the name of Xilinx nor the names of its contributors may be
+ used to endorse or promote products derived from this software without
+ specific prior written permission.
+
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDER AND CONTRIBUTORS "AS
+ IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
+ TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
+ PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
+ HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+ SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED
+ TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
+ PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
+ LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
+ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+*/
+
+ .text
+ .globl _interrupt_handler # Interrupt Handler Label
+ .align 2
+
+ _interrupt_handler:
+#ifndef __rtems__
+ rtid r14, 0
+ nop
+#else /* __rtems__ */
+ /* Subtract stack frame */
+ addik r1, r1, -52
+
+ swi r5, r1, 8
+
+ /* Indicate unknown interrupt source */
+ addi r5, r0, 0xFF
+
+ braid _ISR_Handler
+ nop
+#endif /* __rtems__ */
diff --git a/bsps/microblaze/microblaze_fpga/start/bspreset.c b/bsps/microblaze/microblaze_fpga/start/bspreset.c
new file mode 100644
index 0000000000..6a7455f522
--- /dev/null
+++ b/bsps/microblaze/microblaze_fpga/start/bspreset.c
@@ -0,0 +1,44 @@
+/* SPDX-License-Identifier: BSD-2-Clause */
+
+/**
+ * @file
+ *
+ * @ingroup RTEMSBSPsMicroblaze
+ *
+ * @brief BSP Reset
+ */
+
+/*
+ * Copyright (C) 2021 On-Line Applications Research Corporation (OAR)
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ * 1. Redistributions of source code must retain the above copyright
+ * notice, this list of conditions and the following disclaimer.
+ * 2. Redistributions in binary form must reproduce the above copyright
+ * notice, this list of conditions and the following disclaimer in the
+ * documentation and/or other materials provided with the distribution.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
+ * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
+ * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+ * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
+ * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+ * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
+ * POSSIBILITY OF SUCH DAMAGE.
+ */
+
+#include <rtems.h>
+#include <bsp/bootcard.h>
+
+void bsp_reset( void )
+{
+ __asm__ volatile (
+ "brai 0xFFFFFFFFFFFFFFFF"
+ );
+}
diff --git a/bsps/microblaze/microblaze_fpga/start/bspstart.c b/bsps/microblaze/microblaze_fpga/start/bspstart.c
new file mode 100644
index 0000000000..0caf385b46
--- /dev/null
+++ b/bsps/microblaze/microblaze_fpga/start/bspstart.c
@@ -0,0 +1,43 @@
+/* SPDX-License-Identifier: BSD-2-Clause */
+
+/**
+ * @file
+ *
+ * @ingroup RTEMSBSPsMicroblaze
+ *
+ * @brief BSP Startup
+ */
+
+/*
+ * Copyright (C) 2021 On-Line Applications Research Corporation (OAR)
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ * 1. Redistributions of source code must retain the above copyright
+ * notice, this list of conditions and the following disclaimer.
+ * 2. Redistributions in binary form must reproduce the above copyright
+ * notice, this list of conditions and the following disclaimer in the
+ * documentation and/or other materials provided with the distribution.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
+ * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
+ * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+ * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
+ * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+ * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
+ * POSSIBILITY OF SUCH DAMAGE.
+ */
+
+#include <bsp.h>
+#include <bsp/bootcard.h>
+#include <bsp/irq-generic.h>
+
+void bsp_start( void )
+{
+ bsp_interrupt_initialize();
+}
diff --git a/bsps/microblaze/microblaze_fpga/start/crtinit.S b/bsps/microblaze/microblaze_fpga/start/crtinit.S
new file mode 100644
index 0000000000..a9779404b2
--- /dev/null
+++ b/bsps/microblaze/microblaze_fpga/start/crtinit.S
@@ -0,0 +1,103 @@
+/* SPDX-License-Identifier: BSD-3-Clause */
+
+/* Copyright (c) 2001, 2009 Xilinx, Inc. All rights reserved.
+
+ Redistribution and use in source and binary forms, with or without
+ modification, are permitted provided that the following conditions are
+ met:
+
+ 1. Redistributions source code must retain the above copyright notice,
+ this list of conditions and the following disclaimer.
+
+ 2. Redistributions in binary form must reproduce the above copyright
+ notice, this list of conditions and the following disclaimer in the
+ documentation and/or other materials provided with the distribution.
+
+ 3. Neither the name of Xilinx nor the names of its contributors may be
+ used to endorse or promote products derived from this software without
+ specific prior written permission.
+
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDER AND CONTRIBUTORS "AS
+ IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
+ TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
+ PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
+ HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+ SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED
+ TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
+ PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
+ LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
+ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+ .globl _crtinit
+ .align 2
+ .ent _crtinit
+ .type _crtinit, @function
+_crtinit:
+ addi r1, r1, -20 /* Save Link register */
+ swi r15, r1, 0
+
+#ifndef __rtems__
+ addi r6, r0, __sbss_start /* clear SBSS */
+ addi r7, r0, __sbss_end
+ rsub r18, r6, r7
+ blei r18, .Lendsbss
+
+.Lloopsbss:
+ swi r0, r6, 0
+ addi r6, r6, 4
+ rsub r18, r6, r7
+ bgti r18, .Lloopsbss
+.Lendsbss:
+#endif /* __rtems__ */
+
+#ifndef __rtems__
+ addi r6, r0, __bss_start /* clear BSS */
+ addi r7, r0, __bss_end
+#else
+ addi r6, r0, bsp_section_bss_begin
+ addi r7, r0, bsp_section_bss_end
+#endif /* __rtems__ */
+ rsub r18, r6, r7
+ blei r18, .Lendbss
+.Lloopbss:
+ swi r0, r6, 0
+ addi r6, r6, 4
+ rsub r18, r6, r7
+ bgti r18, .Lloopbss
+.Lendbss:
+
+#ifndef __rtems__
+ brlid r15, _program_init /* Initialize the program */
+ nop
+
+ brlid r15, __init /* Invoke language initialization functions */
+ nop
+#endif /* __rtems__ */
+
+ addi r6, r0, 0 /* Initialize argc = 1 and argv = NULL and envp = NULL */
+ addi r7, r0, 0
+#ifndef __rtems__
+ brlid r15, main /* Execute the program */
+#else
+ brlid r15, boot_card
+#endif /* __rtems__ */
+ addi r5, r0, 0
+
+ addik r19, r3, 0 /* Save return value */
+
+#ifndef __rtems__
+ brlid r15, __fini /* Invoke language cleanup functions */
+ nop
+
+ brlid r15, _program_clean /* Cleanup the program */
+ nop
+#endif /* __rtems__ */
+
+ lw r15, r1, r0 /* Return back to CRT */
+
+ addik r3, r19, 0 /* Restore return value */
+ rtsd r15, 8
+ addi r1, r1, 20
+ .end _crtinit
diff --git a/bsps/microblaze/shared/cache/cache.c b/bsps/microblaze/shared/cache/cache.c
new file mode 100644
index 0000000000..472f3c04f4
--- /dev/null
+++ b/bsps/microblaze/shared/cache/cache.c
@@ -0,0 +1,36 @@
+/* SPDX-License-Identifier: BSD-2-Clause */
+
+/**
+ * @file
+ *
+ * @ingroup RTEMSBSPsMicroblaze
+ *
+ * @brief MicroBlaze cache support
+ */
+
+/*
+ * Copyright (C) 2021 On-Line Applications Research Corporation (OAR)
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ * 1. Redistributions of source code must retain the above copyright
+ * notice, this list of conditions and the following disclaimer.
+ * 2. Redistributions in binary form must reproduce the above copyright
+ * notice, this list of conditions and the following disclaimer in the
+ * documentation and/or other materials provided with the distribution.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
+ * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
+ * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+ * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
+ * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+ * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
+ * POSSIBILITY OF SUCH DAMAGE.
+ */
+
+#include "../../../bsps/shared/cache/cacheimpl.h"
diff --git a/bsps/microblaze/shared/dev/serial/uartlite.c b/bsps/microblaze/shared/dev/serial/uartlite.c
new file mode 100644
index 0000000000..7387e22635
--- /dev/null
+++ b/bsps/microblaze/shared/dev/serial/uartlite.c
@@ -0,0 +1,145 @@
+/* SPDX-License-Identifier: BSD-2-Clause */
+
+/**
+ * @file
+ *
+ * @ingroup RTEMSBSPsMicroblaze
+ *
+ * @brief MicroBlaze AXI UART Lite support
+ */
+
+/*
+ * Copyright (C) 2021 On-Line Applications Research Corporation (OAR)
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ * 1. Redistributions of source code must retain the above copyright
+ * notice, this list of conditions and the following disclaimer.
+ * 2. Redistributions in binary form must reproduce the above copyright
+ * notice, this list of conditions and the following disclaimer in the
+ * documentation and/or other materials provided with the distribution.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
+ * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
+ * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+ * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
+ * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+ * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
+ * POSSIBILITY OF SUCH DAMAGE.
+ */
+
+#include <bsp/irq.h>
+#include <dev/serial/uartlite.h>
+
+#ifdef BSP_MICROBLAZE_FPGA_CONSOLE_INTERRUPTS
+static void microblaze_uart_interrupt( void *arg )
+{
+ rtems_termios_tty *tty = arg;
+ uart_lite_context *ctx = rtems_termios_get_device_context( tty );
+
+ while ( !XUartLite_IsReceiveEmpty( ctx->address ) ) {
+ char c = (char) XUartLite_ReadReg( ctx->address, XUL_RX_FIFO_OFFSET );
+ rtems_termios_enqueue_raw_characters( tty, &c, 1 );
+ }
+
+ while ( ctx->transmitting && !XUartLite_IsTransmitEmpty( ctx ) ) {
+ rtems_termios_dequeue_characters( tty, 1 );
+ }
+}
+#endif
+
+static bool uart_first_open(
+ struct rtems_termios_tty *tty,
+ rtems_termios_device_context *base,
+ struct termios *term,
+ rtems_libio_open_close_args_t *args
+)
+{
+ uart_lite_context *ctx = (uart_lite_context *) base;
+#ifdef BSP_MICROBLAZE_FPGA_CONSOLE_INTERRUPTS
+ rtems_status_code sc;
+#endif
+
+ rtems_termios_set_initial_baud( tty, ctx->initial_baud );
+
+#ifdef BSP_MICROBLAZE_FPGA_CONSOLE_INTERRUPTS
+ XUartLite_EnableIntr( ctx->address );
+ sc = rtems_interrupt_handler_install(
+ 1,
+ "UART",
+ RTEMS_INTERRUPT_SHARED,
+ microblaze_uart_interrupt,
+ tty
+ );
+ if ( sc != RTEMS_SUCCESSFUL ) {
+ return false;
+ }
+#endif
+
+ return true;
+}
+
+static void uart_last_close(
+ rtems_termios_tty *tty,
+ rtems_termios_device_context *base,
+ rtems_libio_open_close_args_t *args
+)
+{
+#ifdef BSP_MICROBLAZE_FPGA_CONSOLE_INTERRUPTS
+ rtems_interrupt_handler_remove( 1, microblaze_uart_interrupt, tty );
+#endif
+}
+
+#ifndef BSP_MICROBLAZE_FPGA_CONSOLE_INTERRUPTS
+static int uart_read_polled( rtems_termios_device_context *base )
+{
+ uart_lite_context *ctx = (uart_lite_context *) base;
+
+ if ( XUartLite_IsReceiveEmpty( ctx->address ) ) {
+ return -1;
+ }
+
+ return XUartLite_ReadReg( ctx->address, XUL_RX_FIFO_OFFSET );
+}
+#endif
+
+static void uart_write(
+ rtems_termios_device_context *base,
+ const char *s,
+ size_t n
+)
+{
+ uart_lite_context *ctx = (uart_lite_context *) base;
+
+#ifdef BSP_MICROBLAZE_FPGA_CONSOLE_INTERRUPTS
+ if ( n > 0 ) {
+ ctx->transmitting = true;
+ XUartLite_SendByte( ctx->address, s[0] );
+ } else {
+ ctx->transmitting = false;
+ }
+#else
+ size_t i = 0;
+
+ for ( i = 0; i < n; ++i ) {
+ XUartLite_SendByte( ctx->address, s[i] );
+ }
+#endif
+}
+
+const rtems_termios_device_handler microblaze_uart_fns = {
+ .first_open = uart_first_open,
+ .last_close = uart_last_close,
+ .write = uart_write,
+#ifdef BSP_MICROBLAZE_FPGA_CONSOLE_INTERRUPTS
+ .mode = TERMIOS_IRQ_DRIVEN
+#else
+ .poll_read = uart_read_polled,
+ .mode = TERMIOS_POLLED
+#endif
+};
diff --git a/bsps/microblaze/shared/dev/serial/uartlite_l.c b/bsps/microblaze/shared/dev/serial/uartlite_l.c
new file mode 100644
index 0000000000..5acbd6c505
--- /dev/null
+++ b/bsps/microblaze/shared/dev/serial/uartlite_l.c
@@ -0,0 +1,99 @@
+/******************************************************************************
+* Copyright (C) 2002 - 2020 Xilinx, Inc. All rights reserved.
+* SPDX-License-Identifier: MIT
+******************************************************************************/
+
+/****************************************************************************/
+/**
+*
+* @file xuartlite_l.c
+* @addtogroup uartlite_v3_5
+* @{
+*
+* This file contains low-level driver functions that can be used to access the
+* device. The user should refer to the hardware device specification for more
+* details of the device operation.
+
+* <pre>
+* MODIFICATION HISTORY:
+*
+* Ver Who Date Changes
+* ----- ---- -------- -----------------------------------------------
+* 1.00b rpm 04/25/02 First release
+* 1.12a rpm 07/16/07 Fixed arg type for RecvByte
+* 2.00a ktn 10/20/09 The macros have been renamed to remove _m from the name.
+* 3.2 sk 11/10/15 Used UINTPTR instead of u32 for Baseaddress CR# 867425.
+* Changed the prototypes of XUartLite_SendByte,
+* XUartLite_RecvByte APIs.
+* </pre>
+*
+******************************************************************************/
+
+/***************************** Include Files *********************************/
+
+#ifndef __rtems__
+#include "xuartlite_l.h"
+#else
+#include <dev/serial/uartlite_l.h>
+#endif /* __rtems__ */
+
+/************************** Constant Definitions *****************************/
+
+
+/**************************** Type Definitions *******************************/
+
+
+/***************** Macros (Inline Functions) Definitions *********************/
+
+
+/************************** Function Prototypes ******************************/
+
+
+/************************** Variable Prototypes ******************************/
+
+
+/****************************************************************************/
+/**
+*
+* This functions sends a single byte using the UART. It is blocking in that it
+* waits for the transmitter to become non-full before it writes the byte to
+* the transmit register.
+*
+* @param BaseAddress is the base address of the device
+* @param Data is the byte of data to send
+*
+* @return None.
+*
+* @note None.
+*
+******************************************************************************/
+void XUartLite_SendByte(UINTPTR BaseAddress, u8 Data)
+{
+ while (XUartLite_IsTransmitFull(BaseAddress));
+
+ XUartLite_WriteReg(BaseAddress, XUL_TX_FIFO_OFFSET, Data);
+}
+
+
+/****************************************************************************/
+/**
+*
+* This functions receives a single byte using the UART. It is blocking in that
+* it waits for the receiver to become non-empty before it reads from the
+* receive register.
+*
+* @param BaseAddress is the base address of the device
+*
+* @return The byte of data received.
+*
+* @note None.
+*
+******************************************************************************/
+u8 XUartLite_RecvByte(UINTPTR BaseAddress)
+{
+ while (XUartLite_IsReceiveEmpty(BaseAddress));
+
+ return (u8)XUartLite_ReadReg(BaseAddress, XUL_RX_FIFO_OFFSET);
+}
+
+/** @} */ \ No newline at end of file
diff --git a/bsps/microblaze/shared/start/start.S b/bsps/microblaze/shared/start/start.S
new file mode 100644
index 0000000000..97250f9316
--- /dev/null
+++ b/bsps/microblaze/shared/start/start.S
@@ -0,0 +1,114 @@
+/* SPDX-License-Identifier: BSD-3-Clause */
+
+/* Copyright (c) 2001, 2009 Xilinx, Inc. All rights reserved.
+
+ Redistribution and use in source and binary forms, with or without
+ modification, are permitted provided that the following conditions are
+ met:
+
+ 1. Redistributions source code must retain the above copyright notice,
+ this list of conditions and the following disclaimer.
+
+ 2. Redistributions in binary form must reproduce the above copyright
+ notice, this list of conditions and the following disclaimer in the
+ documentation and/or other materials provided with the distribution.
+
+ 3. Neither the name of Xilinx nor the names of its contributors may be
+ used to endorse or promote products derived from this software without
+ specific prior written permission.
+
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDER AND CONTRIBUTORS "AS
+ IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
+ TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
+ PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
+ HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+ SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED
+ TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
+ PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
+ LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
+ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+
+ XMD load *.elf error:
+ MicroBlaze Vector Map for standalone executables
+
+ Address Vector type Label
+ ------- ----------- ------
+
+ # 0x00 # (-- IMM --)
+ # 0x04 # Reset _start1
+
+ # 0x08 # (-- IMM --)
+ # 0x0c # Software Exception _exception_handler
+
+ # 0x10 # (-- IMM --)
+ # 0x14 # Hardware Interrupt _interrupt_handler
+
+ # 0x18 # (-- IMM --)
+ # 0x1C # Breakpoint Exception (-- Don't Care --)
+
+ # 0x20 # (-- IMM --)
+ # 0x24 # Hardware Exception _hw_exception_handler
+
+*/
+
+
+ .globl _start
+ .section .vectors.reset, "ax"
+ .align 2
+ .ent _start
+ .type _start, @function
+_start:
+ brai _start1
+ .end _start
+
+ .section .vectors.sw_exception, "ax"
+ .align 2
+_vector_sw_exception:
+ brai _exception_handler
+
+ .section .vectors.interrupt, "ax"
+ .align 2
+_vector_interrupt:
+ brai _interrupt_handler
+
+ .section .vectors.hw_exception, "ax"
+ .align 2
+_vector_hw_exception:
+ brai _hw_exception_handler
+
+ .section .text
+ .globl _start1
+ .align 2
+ .ent _start1
+ .type _start1, @function
+_start1:
+ //la r13, r0, _SDA_BASE_ /* Set the Small Data Anchors and the stack pointer */
+ //la r2, r0, _SDA2_BASE_
+ la r1, r0, _ISR_Stack_area_end-16 /* 16 bytes (4 words are needed by crtinit for args and link reg */
+
+ brlid r15, _crtinit /* Initialize BSS and run program */
+ nop
+
+#ifndef __rtems__
+ brlid r15, exit /* Call exit with the return value of main */
+ addik r5, r3, 0
+#endif /* __rtems__ */
+
+ /* Control does not reach here */
+ .end _start1
+
+#ifndef __rtems__
+/*
+ _exit
+ Our simple _exit
+*/
+ .globl _exit
+ .align 2
+ .ent _exit
+ .type _exit, @function
+_exit:
+ bri 0
+ .end _exit
+#endif /* __rtems__ */
diff --git a/bsps/mips/csb350/headers.am b/bsps/mips/csb350/headers.am
deleted file mode 100644
index 47c143ca0c..0000000000
--- a/bsps/mips/csb350/headers.am
+++ /dev/null
@@ -1,10 +0,0 @@
-## This file was generated by "./boostrap -H".
-
-include_HEADERS =
-include_HEADERS += ../../../../../../bsps/mips/csb350/include/bsp.h
-include_HEADERS += include/bspopts.h
-include_HEADERS += ../../../../../../bsps/mips/csb350/include/tm27.h
-
-include_bspdir = $(includedir)/bsp
-include_bsp_HEADERS =
-include_bsp_HEADERS += ../../../../../../bsps/mips/csb350/include/bsp/irq.h
diff --git a/bsps/mips/csb350/start/bsp_specs b/bsps/mips/csb350/start/bsp_specs
deleted file mode 100644
index e69de29bb2..0000000000
--- a/bsps/mips/csb350/start/bsp_specs
+++ /dev/null
diff --git a/bsps/mips/headers.am b/bsps/mips/headers.am
deleted file mode 100644
index c9aece50dc..0000000000
--- a/bsps/mips/headers.am
+++ /dev/null
@@ -1,15 +0,0 @@
-## This file was generated by "./boostrap -H".
-
-include_bspdir = $(includedir)/bsp
-include_bsp_HEADERS =
-include_bsp_HEADERS += ../../../../../bsps/mips/include/bsp/i8259.h
-include_bsp_HEADERS += ../../../../../bsps/mips/include/bsp/regs.h
-
-include_libcpudir = $(includedir)/libcpu
-include_libcpu_HEADERS =
-include_libcpu_HEADERS += ../../../../../bsps/mips/include/libcpu/au1x00.h
-include_libcpu_HEADERS += ../../../../../bsps/mips/include/libcpu/isr_entries.h
-include_libcpu_HEADERS += ../../../../../bsps/mips/include/libcpu/rm5231.h
-include_libcpu_HEADERS += ../../../../../bsps/mips/include/libcpu/tx3904.h
-include_libcpu_HEADERS += ../../../../../bsps/mips/include/libcpu/tx4925.h
-include_libcpu_HEADERS += ../../../../../bsps/mips/include/libcpu/tx4938.h
diff --git a/bsps/mips/hurricane/headers.am b/bsps/mips/hurricane/headers.am
deleted file mode 100644
index d9713d1b90..0000000000
--- a/bsps/mips/hurricane/headers.am
+++ /dev/null
@@ -1,11 +0,0 @@
-## This file was generated by "./boostrap -H".
-
-include_HEADERS =
-include_HEADERS += ../../../../../../bsps/mips/hurricane/include/bsp.h
-include_HEADERS += include/bspopts.h
-include_HEADERS += ../../../../../../bsps/mips/hurricane/include/tm27.h
-include_HEADERS += ../../../../../../bsps/mips/hurricane/include/usc.h
-
-include_bspdir = $(includedir)/bsp
-include_bsp_HEADERS =
-include_bsp_HEADERS += ../../../../../../bsps/mips/hurricane/include/bsp/irq.h
diff --git a/bsps/mips/hurricane/start/bsp_specs b/bsps/mips/hurricane/start/bsp_specs
deleted file mode 100644
index e69de29bb2..0000000000
--- a/bsps/mips/hurricane/start/bsp_specs
+++ /dev/null
diff --git a/bsps/mips/jmr3904/headers.am b/bsps/mips/jmr3904/headers.am
deleted file mode 100644
index b7adec7f52..0000000000
--- a/bsps/mips/jmr3904/headers.am
+++ /dev/null
@@ -1,10 +0,0 @@
-## This file was generated by "./boostrap -H".
-
-include_HEADERS =
-include_HEADERS += ../../../../../../bsps/mips/jmr3904/include/bsp.h
-include_HEADERS += include/bspopts.h
-include_HEADERS += ../../../../../../bsps/mips/jmr3904/include/tm27.h
-
-include_bspdir = $(includedir)/bsp
-include_bsp_HEADERS =
-include_bsp_HEADERS += ../../../../../../bsps/mips/jmr3904/include/bsp/irq.h
diff --git a/bsps/mips/jmr3904/start/bsp_specs b/bsps/mips/jmr3904/start/bsp_specs
deleted file mode 100644
index e69de29bb2..0000000000
--- a/bsps/mips/jmr3904/start/bsp_specs
+++ /dev/null
diff --git a/bsps/mips/malta/headers.am b/bsps/mips/malta/headers.am
deleted file mode 100644
index 35d8bb70d0..0000000000
--- a/bsps/mips/malta/headers.am
+++ /dev/null
@@ -1,11 +0,0 @@
-## This file was generated by "./boostrap -H".
-
-include_HEADERS =
-include_HEADERS += ../../../../../../bsps/mips/malta/include/bsp.h
-include_HEADERS += include/bspopts.h
-include_HEADERS += ../../../../../../bsps/mips/malta/include/tm27.h
-
-include_bspdir = $(includedir)/bsp
-include_bsp_HEADERS =
-include_bsp_HEADERS += ../../../../../../bsps/mips/malta/include/bsp/irq.h
-include_bsp_HEADERS += ../../../../../../bsps/mips/malta/include/bsp/pci.h
diff --git a/bsps/mips/malta/start/bsp_specs b/bsps/mips/malta/start/bsp_specs
deleted file mode 100644
index e69de29bb2..0000000000
--- a/bsps/mips/malta/start/bsp_specs
+++ /dev/null
diff --git a/bsps/mips/rbtx4925/headers.am b/bsps/mips/rbtx4925/headers.am
deleted file mode 100644
index eaffa3e5d8..0000000000
--- a/bsps/mips/rbtx4925/headers.am
+++ /dev/null
@@ -1,10 +0,0 @@
-## This file was generated by "./boostrap -H".
-
-include_HEADERS =
-include_HEADERS += ../../../../../../bsps/mips/rbtx4925/include/bsp.h
-include_HEADERS += include/bspopts.h
-include_HEADERS += ../../../../../../bsps/mips/rbtx4925/include/tm27.h
-
-include_bspdir = $(includedir)/bsp
-include_bsp_HEADERS =
-include_bsp_HEADERS += ../../../../../../bsps/mips/rbtx4925/include/bsp/irq.h
diff --git a/bsps/mips/rbtx4925/start/bsp_specs b/bsps/mips/rbtx4925/start/bsp_specs
deleted file mode 100644
index e69de29bb2..0000000000
--- a/bsps/mips/rbtx4925/start/bsp_specs
+++ /dev/null
diff --git a/bsps/mips/rbtx4938/headers.am b/bsps/mips/rbtx4938/headers.am
deleted file mode 100644
index 51360cf6ae..0000000000
--- a/bsps/mips/rbtx4938/headers.am
+++ /dev/null
@@ -1,10 +0,0 @@
-## This file was generated by "./boostrap -H".
-
-include_HEADERS =
-include_HEADERS += ../../../../../../bsps/mips/rbtx4938/include/bsp.h
-include_HEADERS += include/bspopts.h
-include_HEADERS += ../../../../../../bsps/mips/rbtx4938/include/tm27.h
-
-include_bspdir = $(includedir)/bsp
-include_bsp_HEADERS =
-include_bsp_HEADERS += ../../../../../../bsps/mips/rbtx4938/include/bsp/irq.h
diff --git a/bsps/mips/rbtx4938/start/bsp_specs b/bsps/mips/rbtx4938/start/bsp_specs
deleted file mode 100644
index e69de29bb2..0000000000
--- a/bsps/mips/rbtx4938/start/bsp_specs
+++ /dev/null
diff --git a/bsps/moxie/moxiesim/headers.am b/bsps/moxie/moxiesim/headers.am
deleted file mode 100644
index 2ebe836088..0000000000
--- a/bsps/moxie/moxiesim/headers.am
+++ /dev/null
@@ -1,10 +0,0 @@
-## This file was generated by "./boostrap -H".
-
-include_HEADERS =
-include_HEADERS += ../../../../../../bsps/moxie/moxiesim/include/bsp.h
-include_HEADERS += include/bspopts.h
-include_HEADERS += ../../../../../../bsps/moxie/moxiesim/include/tm27.h
-
-include_bspdir = $(includedir)/bsp
-include_bsp_HEADERS =
-include_bsp_HEADERS += ../../../../../../bsps/moxie/moxiesim/include/bsp/irq.h
diff --git a/bsps/moxie/moxiesim/start/bsp_specs b/bsps/moxie/moxiesim/start/bsp_specs
deleted file mode 100644
index e69de29bb2..0000000000
--- a/bsps/moxie/moxiesim/start/bsp_specs
+++ /dev/null
diff --git a/bsps/nios2/nios2_iss/headers.am b/bsps/nios2/nios2_iss/headers.am
deleted file mode 100644
index bdd2315266..0000000000
--- a/bsps/nios2/nios2_iss/headers.am
+++ /dev/null
@@ -1,10 +0,0 @@
-## This file was generated by "./boostrap -H".
-
-include_HEADERS =
-include_HEADERS += ../../../../../../bsps/nios2/nios2_iss/include/bsp.h
-include_HEADERS += include/bspopts.h
-include_HEADERS += ../../../../../../bsps/nios2/nios2_iss/include/tm27.h
-
-include_bspdir = $(includedir)/bsp
-include_bsp_HEADERS =
-include_bsp_HEADERS += ../../../../../../bsps/nios2/nios2_iss/include/bsp/irq.h
diff --git a/bsps/nios2/nios2_iss/start/bsp_specs b/bsps/nios2/nios2_iss/start/bsp_specs
deleted file mode 100644
index e69de29bb2..0000000000
--- a/bsps/nios2/nios2_iss/start/bsp_specs
+++ /dev/null
diff --git a/bsps/no_cpu/no_bsp/headers.am b/bsps/no_cpu/no_bsp/headers.am
deleted file mode 100644
index fe2f157349..0000000000
--- a/bsps/no_cpu/no_bsp/headers.am
+++ /dev/null
@@ -1,10 +0,0 @@
-## This file was generated by "./boostrap -H".
-
-include_HEADERS =
-include_HEADERS += ../../../../../../bsps/no_cpu/no_bsp/include/bsp.h
-include_HEADERS += include/bspopts.h
-include_HEADERS += ../../../../../../bsps/no_cpu/no_bsp/include/tm27.h
-
-include_bspdir = $(includedir)/bsp
-include_bsp_HEADERS =
-include_bsp_HEADERS += ../../../../../../bsps/no_cpu/no_bsp/include/bsp/irq.h
diff --git a/bsps/no_cpu/no_bsp/start/bsp_specs b/bsps/no_cpu/no_bsp/start/bsp_specs
deleted file mode 100644
index e69de29bb2..0000000000
--- a/bsps/no_cpu/no_bsp/start/bsp_specs
+++ /dev/null
diff --git a/bsps/or1k/generic_or1k/headers.am b/bsps/or1k/generic_or1k/headers.am
deleted file mode 100644
index 3576c64a9c..0000000000
--- a/bsps/or1k/generic_or1k/headers.am
+++ /dev/null
@@ -1,12 +0,0 @@
-## This file was generated by "./boostrap -H".
-
-include_HEADERS =
-include_HEADERS += ../../../../../../bsps/or1k/generic_or1k/include/bsp.h
-include_HEADERS += include/bspopts.h
-include_HEADERS += ../../../../../../bsps/or1k/generic_or1k/include/tm27.h
-
-include_bspdir = $(includedir)/bsp
-include_bsp_HEADERS =
-include_bsp_HEADERS += ../../../../../../bsps/or1k/generic_or1k/include/bsp/generic_or1k.h
-include_bsp_HEADERS += ../../../../../../bsps/or1k/generic_or1k/include/bsp/irq.h
-include_bsp_HEADERS += ../../../../../../bsps/or1k/generic_or1k/include/bsp/uart.h
diff --git a/bsps/or1k/generic_or1k/start/bsp_specs b/bsps/or1k/generic_or1k/start/bsp_specs
deleted file mode 100644
index e69de29bb2..0000000000
--- a/bsps/or1k/generic_or1k/start/bsp_specs
+++ /dev/null
diff --git a/bsps/or1k/headers.am b/bsps/or1k/headers.am
deleted file mode 100644
index 670c0c40ab..0000000000
--- a/bsps/or1k/headers.am
+++ /dev/null
@@ -1,5 +0,0 @@
-## This file was generated by "./boostrap -H".
-
-include_bspdir = $(includedir)/bsp
-include_bsp_HEADERS =
-include_bsp_HEADERS += ../../../../../bsps/or1k/include/bsp/linker-symbols.h
diff --git a/bsps/powerpc/beatnik/headers.am b/bsps/powerpc/beatnik/headers.am
deleted file mode 100644
index 364ea222a8..0000000000
--- a/bsps/powerpc/beatnik/headers.am
+++ /dev/null
@@ -1,19 +0,0 @@
-## This file was generated by "./boostrap -H".
-
-include_HEADERS =
-include_HEADERS += ../../../../../../bsps/powerpc/beatnik/include/bsp.h
-include_HEADERS += include/bspopts.h
-include_HEADERS += ../../../../../../bsps/powerpc/beatnik/include/tm27.h
-
-include_bspdir = $(includedir)/bsp
-include_bsp_HEADERS =
-include_bsp_HEADERS += ../../../../../../bsps/powerpc/beatnik/include/bsp/VMEConfig.h
-include_bsp_HEADERS += ../../../../../../bsps/powerpc/beatnik/include/bsp/bsp_bsdnet_attach.h
-include_bsp_HEADERS += ../../../../../../bsps/powerpc/beatnik/include/bsp/early_enet_link_status.h
-include_bsp_HEADERS += ../../../../../../bsps/powerpc/beatnik/include/bsp/gt_timer.h
-include_bsp_HEADERS += ../../../../../../bsps/powerpc/beatnik/include/bsp/gti2c_busdrv.h
-include_bsp_HEADERS += ../../../../../../bsps/powerpc/beatnik/include/bsp/gti2creg.h
-include_bsp_HEADERS += ../../../../../../bsps/powerpc/beatnik/include/bsp/gtintrreg.h
-include_bsp_HEADERS += ../../../../../../bsps/powerpc/beatnik/include/bsp/gtpcireg.h
-include_bsp_HEADERS += ../../../../../../bsps/powerpc/beatnik/include/bsp/gtreg.h
-include_bsp_HEADERS += ../../../../../../bsps/powerpc/beatnik/include/bsp/irq.h
diff --git a/bsps/powerpc/beatnik/start/bsp_specs b/bsps/powerpc/beatnik/start/bsp_specs
deleted file mode 100644
index e69de29bb2..0000000000
--- a/bsps/powerpc/beatnik/start/bsp_specs
+++ /dev/null
diff --git a/bsps/powerpc/gen5200/headers.am b/bsps/powerpc/gen5200/headers.am
deleted file mode 100644
index 7a98ad9ec4..0000000000
--- a/bsps/powerpc/gen5200/headers.am
+++ /dev/null
@@ -1,45 +0,0 @@
-## This file was generated by "./boostrap -H".
-
-include_HEADERS =
-include_HEADERS += ../../../../../../bsps/powerpc/gen5200/include/bsp.h
-include_HEADERS += include/bspopts.h
-include_HEADERS += ../../../../../../bsps/powerpc/gen5200/include/tm27.h
-
-include_bspdir = $(includedir)/bsp
-include_bsp_HEADERS =
-include_bsp_HEADERS += ../../../../../../bsps/powerpc/gen5200/include/bsp/ata.h
-include_bsp_HEADERS += ../../../../../../bsps/powerpc/gen5200/include/bsp/bestcomm.h
-include_bsp_HEADERS += ../../../../../../bsps/powerpc/gen5200/include/bsp/bestcomm_ops.h
-include_bsp_HEADERS += ../../../../../../bsps/powerpc/gen5200/include/bsp/i2c.h
-include_bsp_HEADERS += ../../../../../../bsps/powerpc/gen5200/include/bsp/i2cdrv.h
-include_bsp_HEADERS += ../../../../../../bsps/powerpc/gen5200/include/bsp/irq.h
-include_bsp_HEADERS += ../../../../../../bsps/powerpc/gen5200/include/bsp/mpc5200.h
-include_bsp_HEADERS += ../../../../../../bsps/powerpc/gen5200/include/bsp/mscan-base.h
-include_bsp_HEADERS += ../../../../../../bsps/powerpc/gen5200/include/bsp/mscan.h
-include_bsp_HEADERS += ../../../../../../bsps/powerpc/gen5200/include/bsp/nvram.h
-include_bsp_HEADERS += ../../../../../../bsps/powerpc/gen5200/include/bsp/slicetimer.h
-include_bsp_HEADERS += ../../../../../../bsps/powerpc/gen5200/include/bsp/u-boot-config.h
-
-include_bsp_bestcommdir = $(includedir)/bsp/bestcomm
-include_bsp_bestcomm_HEADERS =
-include_bsp_bestcomm_HEADERS += ../../../../../../bsps/powerpc/gen5200/include/bsp/bestcomm/bestcomm_api.h
-include_bsp_bestcomm_HEADERS += ../../../../../../bsps/powerpc/gen5200/include/bsp/bestcomm/bestcomm_glue.h
-include_bsp_bestcomm_HEADERS += ../../../../../../bsps/powerpc/gen5200/include/bsp/bestcomm/bestcomm_priv.h
-include_bsp_bestcomm_HEADERS += ../../../../../../bsps/powerpc/gen5200/include/bsp/bestcomm/dma_image.capi.h
-include_bsp_bestcomm_HEADERS += ../../../../../../bsps/powerpc/gen5200/include/bsp/bestcomm/dma_image.h
-
-include_bsp_bestcomm_includedir = $(includedir)/bsp/bestcomm/include
-include_bsp_bestcomm_include_HEADERS =
-include_bsp_bestcomm_include_HEADERS += ../../../../../../bsps/powerpc/gen5200/include/bsp/bestcomm/include/ppctypes.h
-
-include_bsp_bestcomm_include_mgt5200dir = $(includedir)/bsp/bestcomm/include/mgt5200
-include_bsp_bestcomm_include_mgt5200_HEADERS =
-include_bsp_bestcomm_include_mgt5200_HEADERS += ../../../../../../bsps/powerpc/gen5200/include/bsp/bestcomm/include/mgt5200/mgt5200.h
-include_bsp_bestcomm_include_mgt5200_HEADERS += ../../../../../../bsps/powerpc/gen5200/include/bsp/bestcomm/include/mgt5200/sdma.h
-
-include_bsp_bestcomm_task_apidir = $(includedir)/bsp/bestcomm/task_api
-include_bsp_bestcomm_task_api_HEADERS =
-include_bsp_bestcomm_task_api_HEADERS += ../../../../../../bsps/powerpc/gen5200/include/bsp/bestcomm/task_api/bestcomm_api_mem.h
-include_bsp_bestcomm_task_api_HEADERS += ../../../../../../bsps/powerpc/gen5200/include/bsp/bestcomm/task_api/bestcomm_cntrl.h
-include_bsp_bestcomm_task_api_HEADERS += ../../../../../../bsps/powerpc/gen5200/include/bsp/bestcomm/task_api/tasksetup_bdtable.h
-include_bsp_bestcomm_task_api_HEADERS += ../../../../../../bsps/powerpc/gen5200/include/bsp/bestcomm/task_api/tasksetup_general.h
diff --git a/bsps/powerpc/gen5200/start/bsp_specs b/bsps/powerpc/gen5200/start/bsp_specs
deleted file mode 100644
index e69de29bb2..0000000000
--- a/bsps/powerpc/gen5200/start/bsp_specs
+++ /dev/null
diff --git a/bsps/powerpc/gen83xx/headers.am b/bsps/powerpc/gen83xx/headers.am
deleted file mode 100644
index 39d4333934..0000000000
--- a/bsps/powerpc/gen83xx/headers.am
+++ /dev/null
@@ -1,13 +0,0 @@
-## This file was generated by "./boostrap -H".
-
-include_HEADERS =
-include_HEADERS += ../../../../../../bsps/powerpc/gen83xx/include/bsp.h
-include_HEADERS += include/bspopts.h
-include_HEADERS += ../../../../../../bsps/powerpc/gen83xx/include/tm27.h
-
-include_bspdir = $(includedir)/bsp
-include_bsp_HEADERS =
-include_bsp_HEADERS += ../../../../../../bsps/powerpc/gen83xx/include/bsp/hwreg_vals.h
-include_bsp_HEADERS += ../../../../../../bsps/powerpc/gen83xx/include/bsp/irq.h
-include_bsp_HEADERS += ../../../../../../bsps/powerpc/gen83xx/include/bsp/tsec-config.h
-include_bsp_HEADERS += ../../../../../../bsps/powerpc/gen83xx/include/bsp/u-boot-config.h
diff --git a/bsps/powerpc/gen83xx/start/bsp_specs b/bsps/powerpc/gen83xx/start/bsp_specs
deleted file mode 100644
index e69de29bb2..0000000000
--- a/bsps/powerpc/gen83xx/start/bsp_specs
+++ /dev/null
diff --git a/bsps/powerpc/haleakala/headers.am b/bsps/powerpc/haleakala/headers.am
deleted file mode 100644
index ed8becdf81..0000000000
--- a/bsps/powerpc/haleakala/headers.am
+++ /dev/null
@@ -1,11 +0,0 @@
-## This file was generated by "./boostrap -H".
-
-include_HEADERS =
-include_HEADERS += ../../../../../../bsps/powerpc/haleakala/include/bsp.h
-include_HEADERS += include/bspopts.h
-include_HEADERS += ../../../../../../bsps/powerpc/haleakala/include/mmu_405.h
-include_HEADERS += ../../../../../../bsps/powerpc/haleakala/include/tm27.h
-
-include_bspdir = $(includedir)/bsp
-include_bsp_HEADERS =
-include_bsp_HEADERS += ../../../../../../bsps/powerpc/haleakala/include/bsp/irq.h
diff --git a/bsps/powerpc/haleakala/start/bsp_specs b/bsps/powerpc/haleakala/start/bsp_specs
deleted file mode 100644
index e69de29bb2..0000000000
--- a/bsps/powerpc/haleakala/start/bsp_specs
+++ /dev/null
diff --git a/bsps/powerpc/headers.am b/bsps/powerpc/headers.am
deleted file mode 100644
index 359015e2af..0000000000
--- a/bsps/powerpc/headers.am
+++ /dev/null
@@ -1,88 +0,0 @@
-## This file was generated by "./boostrap -H".
-
-include_HEADERS =
-include_HEADERS += ../../../../../bsps/powerpc/include/ictrl.h
-include_HEADERS += ../../../../../bsps/powerpc/include/mpc5xx.h
-include_HEADERS += ../../../../../bsps/powerpc/include/mpc8260.h
-include_HEADERS += ../../../../../bsps/powerpc/include/mpc8xx.h
-include_HEADERS += ../../../../../bsps/powerpc/include/nvram.h
-
-include_bspdir = $(includedir)/bsp
-include_bsp_HEADERS =
-include_bsp_HEADERS += ../../../../../bsps/powerpc/include/bsp/VME.h
-include_bsp_HEADERS += ../../../../../bsps/powerpc/include/bsp/VMEDMA.h
-include_bsp_HEADERS += ../../../../../bsps/powerpc/include/bsp/bspVmeDmaList.h
-include_bsp_HEADERS += ../../../../../bsps/powerpc/include/bsp/consoleIo.h
-include_bsp_HEADERS += ../../../../../bsps/powerpc/include/bsp/flashPgm.h
-include_bsp_HEADERS += ../../../../../bsps/powerpc/include/bsp/flashPgmPvt.h
-include_bsp_HEADERS += ../../../../../bsps/powerpc/include/bsp/irq_supp.h
-include_bsp_HEADERS += ../../../../../bsps/powerpc/include/bsp/linker-symbols.h
-include_bsp_HEADERS += ../../../../../bsps/powerpc/include/bsp/motorola.h
-include_bsp_HEADERS += ../../../../../bsps/powerpc/include/bsp/openpic.h
-include_bsp_HEADERS += ../../../../../bsps/powerpc/include/bsp/pci.h
-include_bsp_HEADERS += ../../../../../bsps/powerpc/include/bsp/pnp.h
-include_bsp_HEADERS += ../../../../../bsps/powerpc/include/bsp/residual.h
-include_bsp_HEADERS += ../../../../../bsps/powerpc/include/bsp/start.h
-include_bsp_HEADERS += ../../../../../bsps/powerpc/include/bsp/tictac.h
-include_bsp_HEADERS += ../../../../../bsps/powerpc/include/bsp/tsec.h
-include_bsp_HEADERS += ../../../../../bsps/powerpc/include/bsp/u-boot-board-info.h
-include_bsp_HEADERS += ../../../../../bsps/powerpc/include/bsp/uart.h
-include_bsp_HEADERS += ../../../../../bsps/powerpc/include/bsp/vectors.h
-include_bsp_HEADERS += ../../../../../bsps/powerpc/include/bsp/vmeTsi148.h
-include_bsp_HEADERS += ../../../../../bsps/powerpc/include/bsp/vmeTsi148DMA.h
-include_bsp_HEADERS += ../../../../../bsps/powerpc/include/bsp/vmeUniverse.h
-include_bsp_HEADERS += ../../../../../bsps/powerpc/include/bsp/vmeUniverseDMA.h
-include_bsp_HEADERS += ../../../../../bsps/powerpc/include/bsp/vme_am_defs.h
-include_bsp_HEADERS += ../../../../../bsps/powerpc/include/bsp/vpd.h
-
-include_libcpudir = $(includedir)/libcpu
-include_libcpu_HEADERS =
-include_libcpu_HEADERS += ../../../../../bsps/powerpc/include/libcpu/bat.h
-include_libcpu_HEADERS += ../../../../../bsps/powerpc/include/libcpu/byteorder.h
-include_libcpu_HEADERS += ../../../../../bsps/powerpc/include/libcpu/c_clock.h
-include_libcpu_HEADERS += ../../../../../bsps/powerpc/include/libcpu/cpuIdent.h
-include_libcpu_HEADERS += ../../../../../bsps/powerpc/include/libcpu/e500_mmu.h
-include_libcpu_HEADERS += ../../../../../bsps/powerpc/include/libcpu/io.h
-include_libcpu_HEADERS += ../../../../../bsps/powerpc/include/libcpu/irq.h
-include_libcpu_HEADERS += ../../../../../bsps/powerpc/include/libcpu/mmu.h
-include_libcpu_HEADERS += ../../../../../bsps/powerpc/include/libcpu/pgtable.h
-include_libcpu_HEADERS += ../../../../../bsps/powerpc/include/libcpu/powerpc-utility.h
-include_libcpu_HEADERS += ../../../../../bsps/powerpc/include/libcpu/pte121.h
-include_libcpu_HEADERS += ../../../../../bsps/powerpc/include/libcpu/raw_exception.h
-include_libcpu_HEADERS += ../../../../../bsps/powerpc/include/libcpu/spr.h
-include_libcpu_HEADERS += ../../../../../bsps/powerpc/include/libcpu/stackTrace.h
-include_libcpu_HEADERS += ../../../../../bsps/powerpc/include/libcpu/vectors.h
-
-include_mpc5xxdir = $(includedir)/mpc5xx
-include_mpc5xx_HEADERS =
-include_mpc5xx_HEADERS += ../../../../../bsps/powerpc/include/mpc5xx/console.h
-
-include_mpc8260dir = $(includedir)/mpc8260
-include_mpc8260_HEADERS =
-include_mpc8260_HEADERS += ../../../../../bsps/powerpc/include/mpc8260/console.h
-include_mpc8260_HEADERS += ../../../../../bsps/powerpc/include/mpc8260/cpm.h
-include_mpc8260_HEADERS += ../../../../../bsps/powerpc/include/mpc8260/mmu.h
-
-include_mpc83xxdir = $(includedir)/mpc83xx
-include_mpc83xx_HEADERS =
-include_mpc83xx_HEADERS += ../../../../../bsps/powerpc/include/mpc83xx/gtm.h
-include_mpc83xx_HEADERS += ../../../../../bsps/powerpc/include/mpc83xx/mpc83xx.h
-include_mpc83xx_HEADERS += ../../../../../bsps/powerpc/include/mpc83xx/mpc83xx_i2cdrv.h
-include_mpc83xx_HEADERS += ../../../../../bsps/powerpc/include/mpc83xx/mpc83xx_spidrv.h
-
-include_mpc8xxdir = $(includedir)/mpc8xx
-include_mpc8xx_HEADERS =
-include_mpc8xx_HEADERS += ../../../../../bsps/powerpc/include/mpc8xx/console.h
-include_mpc8xx_HEADERS += ../../../../../bsps/powerpc/include/mpc8xx/cpm.h
-include_mpc8xx_HEADERS += ../../../../../bsps/powerpc/include/mpc8xx/mmu.h
-
-include_ppc4xxdir = $(includedir)/ppc4xx
-include_ppc4xx_HEADERS =
-include_ppc4xx_HEADERS += ../../../../../bsps/powerpc/include/ppc4xx/ppc405ex.h
-include_ppc4xx_HEADERS += ../../../../../bsps/powerpc/include/ppc4xx/ppc405gp.h
-
-include_rtems_powerpcdir = $(includedir)/rtems/powerpc
-include_rtems_powerpc_HEADERS =
-include_rtems_powerpc_HEADERS += ../../../../../bsps/powerpc/include/rtems/powerpc/cache.h
-include_rtems_powerpc_HEADERS += ../../../../../bsps/powerpc/include/rtems/powerpc/debugmod.h
-include_rtems_powerpc_HEADERS += ../../../../../bsps/powerpc/include/rtems/powerpc/powerpc.h
diff --git a/bsps/powerpc/motorola_powerpc/headers.am b/bsps/powerpc/motorola_powerpc/headers.am
deleted file mode 100644
index b577b15c5b..0000000000
--- a/bsps/powerpc/motorola_powerpc/headers.am
+++ /dev/null
@@ -1,11 +0,0 @@
-## This file was generated by "./boostrap -H".
-
-include_HEADERS =
-include_HEADERS += ../../../../../../bsps/powerpc/motorola_powerpc/include/bsp.h
-include_HEADERS += include/bspopts.h
-include_HEADERS += ../../../../../../bsps/powerpc/motorola_powerpc/include/tm27.h
-
-include_bspdir = $(includedir)/bsp
-include_bsp_HEADERS =
-include_bsp_HEADERS += ../../../../../../bsps/powerpc/motorola_powerpc/include/bsp/VMEConfig.h
-include_bsp_HEADERS += ../../../../../../bsps/powerpc/motorola_powerpc/include/bsp/irq.h
diff --git a/bsps/powerpc/motorola_powerpc/include/bsp.h b/bsps/powerpc/motorola_powerpc/include/bsp.h
index af0e71471e..7d362bf406 100644
--- a/bsps/powerpc/motorola_powerpc/include/bsp.h
+++ b/bsps/powerpc/motorola_powerpc/include/bsp.h
@@ -31,11 +31,11 @@
#include <rtems.h>
#include <libcpu/io.h>
#include <bsp/vectors.h>
-
+
#ifdef qemu
#include <rtems/bspcmdline.h>
#endif
-
+
#ifdef __cplusplus
extern "C" {
#endif
@@ -118,7 +118,33 @@ extern "C" {
/*
* The BSP has PCI devices. Enable support in LibBSD.
*/
-#define BSP_HAS_PCI
+#define BSP_HAS_PC_PCI
+
+/*
+ * Remap the PCI address space for LibBSD
+ */
+#define RTEMS_BSP_PCI_IO_REGION_BASE 0
+#define RTEMS_BSP_PCI_MEM_REGION_BASE PCI_DRAM_OFFSET
+
+/*
+ * Remap the PCI address space for LibBSD
+ */
+#define RTEMS_BSP_ADDR_PTR(_type) uint ## _type ## _t __volatile*
+#define RTEMS_BSP_ADDR_CPTR(_type) const RTEMS_BSP_ADDR_PTR(_type)
+#define RTEMS_BSP_ADDRESS_READ(_addr, _type) \
+ *((RTEMS_BSP_ADDR_CPTR(_type)) (((RTEMS_BSP_ADDR_CPTR(8)) _addr) + PCI_DRAM_OFFSET))
+#define RTEMS_BSP_ADDRESS_WRITE(_addr, _val, _type) \
+ *((RTEMS_BSP_ADDR_PTR(_type)) (((RTEMS_BSP_ADDR_PTR(8)) _addr) + PCI_DRAM_OFFSET)) = (_val)
+
+#define RTEMS_BSP_READ_1(_addr) RTEMS_BSP_ADDRESS_READ(_addr, 8)
+#define RTEMS_BSP_READ_2(_addr) RTEMS_BSP_ADDRESS_READ(_addr, 16)
+#define RTEMS_BSP_READ_4(_addr) RTEMS_BSP_ADDRESS_READ(_addr, 32)
+#define RTEMS_BSP_READ_8(_addr) RTEMS_BSP_ADDRESS_READ(_addr, 64)
+
+#define RTEMS_BSP_WRITE_1(_addr, _val) RTEMS_BSP_ADDRESS_WRITE(_addr, _val, 8)
+#define RTEMS_BSP_WRITE_2(_addr, _val) RTEMS_BSP_ADDRESS_WRITE(_addr, _val, 16)
+#define RTEMS_BSP_WRITE_4(_addr, _val) RTEMS_BSP_ADDRESS_WRITE(_addr, _val, 32)
+#define RTEMS_BSP_WRITE_8(_addr, _val) RTEMS_BSP_ADDRESS_WRITE(_addr, _val, 64)
/*
* Base address definitions for several devices
diff --git a/bsps/powerpc/motorola_powerpc/start/bsp_specs b/bsps/powerpc/motorola_powerpc/start/bsp_specs
deleted file mode 100644
index e69de29bb2..0000000000
--- a/bsps/powerpc/motorola_powerpc/start/bsp_specs
+++ /dev/null
diff --git a/bsps/powerpc/mpc55xxevb/headers.am b/bsps/powerpc/mpc55xxevb/headers.am
deleted file mode 100644
index 5b01b38a2a..0000000000
--- a/bsps/powerpc/mpc55xxevb/headers.am
+++ /dev/null
@@ -1,34 +0,0 @@
-## This file was generated by "./boostrap -H".
-
-include_HEADERS =
-include_HEADERS += ../../../../../../bsps/powerpc/mpc55xxevb/include/bsp.h
-include_HEADERS += include/bspopts.h
-include_HEADERS += ../../../../../../bsps/powerpc/mpc55xxevb/include/tm27.h
-
-include_bspdir = $(includedir)/bsp
-include_bsp_HEADERS =
-include_bsp_HEADERS += ../../../../../../bsps/powerpc/mpc55xxevb/include/bsp/console-esci.h
-include_bsp_HEADERS += ../../../../../../bsps/powerpc/mpc55xxevb/include/bsp/console-generic.h
-include_bsp_HEADERS += ../../../../../../bsps/powerpc/mpc55xxevb/include/bsp/console-linflex.h
-include_bsp_HEADERS += ../../../../../../bsps/powerpc/mpc55xxevb/include/bsp/irq.h
-include_bsp_HEADERS += ../../../../../../bsps/powerpc/mpc55xxevb/include/bsp/mpc55xx-config.h
-include_bsp_HEADERS += ../../../../../../bsps/powerpc/mpc55xxevb/include/bsp/smsc9218i.h
-
-include_mpc55xxdir = $(includedir)/mpc55xx
-include_mpc55xx_HEADERS =
-include_mpc55xx_HEADERS += ../../../../../../bsps/powerpc/mpc55xxevb/include/mpc55xx/dspi.h
-include_mpc55xx_HEADERS += ../../../../../../bsps/powerpc/mpc55xxevb/include/mpc55xx/edma.h
-include_mpc55xx_HEADERS += ../../../../../../bsps/powerpc/mpc55xxevb/include/mpc55xx/emios.h
-include_mpc55xx_HEADERS += ../../../../../../bsps/powerpc/mpc55xxevb/include/mpc55xx/fsl-mpc551x.h
-include_mpc55xx_HEADERS += ../../../../../../bsps/powerpc/mpc55xxevb/include/mpc55xx/fsl-mpc555x.h
-include_mpc55xx_HEADERS += ../../../../../../bsps/powerpc/mpc55xxevb/include/mpc55xx/fsl-mpc556x.h
-include_mpc55xx_HEADERS += ../../../../../../bsps/powerpc/mpc55xxevb/include/mpc55xx/fsl-mpc564xL.h
-include_mpc55xx_HEADERS += ../../../../../../bsps/powerpc/mpc55xxevb/include/mpc55xx/fsl-mpc5668.h
-include_mpc55xx_HEADERS += ../../../../../../bsps/powerpc/mpc55xxevb/include/mpc55xx/fsl-mpc567x.h
-include_mpc55xx_HEADERS += ../../../../../../bsps/powerpc/mpc55xxevb/include/mpc55xx/mpc55xx.h
-include_mpc55xx_HEADERS += ../../../../../../bsps/powerpc/mpc55xxevb/include/mpc55xx/reg-defs.h
-include_mpc55xx_HEADERS += ../../../../../../bsps/powerpc/mpc55xxevb/include/mpc55xx/regs-edma.h
-include_mpc55xx_HEADERS += ../../../../../../bsps/powerpc/mpc55xxevb/include/mpc55xx/regs-mmu.h
-include_mpc55xx_HEADERS += ../../../../../../bsps/powerpc/mpc55xxevb/include/mpc55xx/regs.h
-include_mpc55xx_HEADERS += ../../../../../../bsps/powerpc/mpc55xxevb/include/mpc55xx/siu.h
-include_mpc55xx_HEADERS += ../../../../../../bsps/powerpc/mpc55xxevb/include/mpc55xx/watchdog.h
diff --git a/bsps/powerpc/mpc55xxevb/start/bsp_specs b/bsps/powerpc/mpc55xxevb/start/bsp_specs
deleted file mode 100644
index e69de29bb2..0000000000
--- a/bsps/powerpc/mpc55xxevb/start/bsp_specs
+++ /dev/null
diff --git a/bsps/powerpc/mpc8260ads/headers.am b/bsps/powerpc/mpc8260ads/headers.am
deleted file mode 100644
index 10c6e42313..0000000000
--- a/bsps/powerpc/mpc8260ads/headers.am
+++ /dev/null
@@ -1,10 +0,0 @@
-## This file was generated by "./boostrap -H".
-
-include_HEADERS =
-include_HEADERS += ../../../../../../bsps/powerpc/mpc8260ads/include/bsp.h
-include_HEADERS += include/bspopts.h
-include_HEADERS += ../../../../../../bsps/powerpc/mpc8260ads/include/tm27.h
-
-include_bspdir = $(includedir)/bsp
-include_bsp_HEADERS =
-include_bsp_HEADERS += ../../../../../../bsps/powerpc/mpc8260ads/include/bsp/irq.h
diff --git a/bsps/powerpc/mpc8260ads/start/bsp_specs b/bsps/powerpc/mpc8260ads/start/bsp_specs
deleted file mode 100644
index e69de29bb2..0000000000
--- a/bsps/powerpc/mpc8260ads/start/bsp_specs
+++ /dev/null
diff --git a/bsps/powerpc/mvme3100/headers.am b/bsps/powerpc/mvme3100/headers.am
deleted file mode 100644
index 3a242350e6..0000000000
--- a/bsps/powerpc/mvme3100/headers.am
+++ /dev/null
@@ -1,13 +0,0 @@
-## This file was generated by "./boostrap -H".
-
-include_HEADERS =
-include_HEADERS += ../../../../../../bsps/powerpc/mvme3100/include/bsp.h
-include_HEADERS += include/bspopts.h
-include_HEADERS += ../../../../../../bsps/powerpc/mvme3100/include/tm27.h
-
-include_bspdir = $(includedir)/bsp
-include_bsp_HEADERS =
-include_bsp_HEADERS += ../../../../../../bsps/powerpc/mvme3100/include/bsp/VMEConfig.h
-include_bsp_HEADERS += ../../../../../../bsps/powerpc/mvme3100/include/bsp/if_tsec_pub.h
-include_bsp_HEADERS += ../../../../../../bsps/powerpc/mvme3100/include/bsp/irq.h
-include_bsp_HEADERS += ../../../../../../bsps/powerpc/mvme3100/include/bsp/mpc8540_i2c_busdrv.h
diff --git a/bsps/powerpc/mvme3100/start/bsp_specs b/bsps/powerpc/mvme3100/start/bsp_specs
deleted file mode 100644
index e69de29bb2..0000000000
--- a/bsps/powerpc/mvme3100/start/bsp_specs
+++ /dev/null
diff --git a/bsps/powerpc/mvme5500/headers.am b/bsps/powerpc/mvme5500/headers.am
deleted file mode 100644
index 94c03a6982..0000000000
--- a/bsps/powerpc/mvme5500/headers.am
+++ /dev/null
@@ -1,21 +0,0 @@
-## This file was generated by "./boostrap -H".
-
-include_HEADERS =
-include_HEADERS += ../../../../../../bsps/powerpc/mvme5500/include/bsp.h
-include_HEADERS += include/bspopts.h
-include_HEADERS += ../../../../../../bsps/powerpc/mvme5500/include/tm27.h
-
-include_bspdir = $(includedir)/bsp
-include_bsp_HEADERS =
-include_bsp_HEADERS += ../../../../../../bsps/powerpc/mvme5500/include/bsp/GT64260TWSI.h
-include_bsp_HEADERS += ../../../../../../bsps/powerpc/mvme5500/include/bsp/GT64260eth.h
-include_bsp_HEADERS += ../../../../../../bsps/powerpc/mvme5500/include/bsp/GT64260ethreg.h
-include_bsp_HEADERS += ../../../../../../bsps/powerpc/mvme5500/include/bsp/VMEConfig.h
-include_bsp_HEADERS += ../../../../../../bsps/powerpc/mvme5500/include/bsp/VPD.h
-include_bsp_HEADERS += ../../../../../../bsps/powerpc/mvme5500/include/bsp/bspException.h
-include_bsp_HEADERS += ../../../../../../bsps/powerpc/mvme5500/include/bsp/bspMvme5500.h
-include_bsp_HEADERS += ../../../../../../bsps/powerpc/mvme5500/include/bsp/gtpcireg.h
-include_bsp_HEADERS += ../../../../../../bsps/powerpc/mvme5500/include/bsp/gtreg.h
-include_bsp_HEADERS += ../../../../../../bsps/powerpc/mvme5500/include/bsp/if_wmreg.h
-include_bsp_HEADERS += ../../../../../../bsps/powerpc/mvme5500/include/bsp/irq.h
-include_bsp_HEADERS += ../../../../../../bsps/powerpc/mvme5500/include/bsp/pcireg.h
diff --git a/bsps/powerpc/mvme5500/start/bsp_specs b/bsps/powerpc/mvme5500/start/bsp_specs
deleted file mode 100644
index e69de29bb2..0000000000
--- a/bsps/powerpc/mvme5500/start/bsp_specs
+++ /dev/null
diff --git a/bsps/powerpc/psim/headers.am b/bsps/powerpc/psim/headers.am
deleted file mode 100644
index a1f49d3727..0000000000
--- a/bsps/powerpc/psim/headers.am
+++ /dev/null
@@ -1,11 +0,0 @@
-## This file was generated by "./boostrap -H".
-
-include_HEADERS =
-include_HEADERS += ../../../../../../bsps/powerpc/psim/include/bsp.h
-include_HEADERS += include/bspopts.h
-include_HEADERS += ../../../../../../bsps/powerpc/psim/include/psim.h
-include_HEADERS += ../../../../../../bsps/powerpc/psim/include/tm27.h
-
-include_bspdir = $(includedir)/bsp
-include_bsp_HEADERS =
-include_bsp_HEADERS += ../../../../../../bsps/powerpc/psim/include/bsp/irq.h
diff --git a/bsps/powerpc/psim/start/bsp_specs b/bsps/powerpc/psim/start/bsp_specs
deleted file mode 100644
index e69de29bb2..0000000000
--- a/bsps/powerpc/psim/start/bsp_specs
+++ /dev/null
diff --git a/bsps/powerpc/qemuppc/headers.am b/bsps/powerpc/qemuppc/headers.am
deleted file mode 100644
index 21ab8382a5..0000000000
--- a/bsps/powerpc/qemuppc/headers.am
+++ /dev/null
@@ -1,10 +0,0 @@
-## This file was generated by "./boostrap -H".
-
-include_HEADERS =
-include_HEADERS += ../../../../../../bsps/powerpc/qemuppc/include/bsp.h
-include_HEADERS += include/bspopts.h
-include_HEADERS += ../../../../../../bsps/powerpc/qemuppc/include/tm27.h
-
-include_bspdir = $(includedir)/bsp
-include_bsp_HEADERS =
-include_bsp_HEADERS += ../../../../../../bsps/powerpc/qemuppc/include/bsp/irq.h
diff --git a/bsps/powerpc/qemuppc/start/bsp_specs b/bsps/powerpc/qemuppc/start/bsp_specs
deleted file mode 100644
index e69de29bb2..0000000000
--- a/bsps/powerpc/qemuppc/start/bsp_specs
+++ /dev/null
diff --git a/bsps/powerpc/qoriq/headers.am b/bsps/powerpc/qoriq/headers.am
deleted file mode 100644
index 9d23263d43..0000000000
--- a/bsps/powerpc/qoriq/headers.am
+++ /dev/null
@@ -1,24 +0,0 @@
-## This file was generated by "./boostrap -H".
-
-include_HEADERS =
-include_HEADERS += ../../../../../../bsps/powerpc/qoriq/include/bsp.h
-include_HEADERS += include/bspopts.h
-include_HEADERS += ../../../../../../bsps/powerpc/qoriq/include/tm27.h
-
-include_asmdir = $(includedir)/asm
-include_asm_HEADERS =
-include_asm_HEADERS += ../../../../../../bsps/powerpc/qoriq/include/asm/epapr_hcalls.h
-include_asm_HEADERS += ../../../../../../bsps/powerpc/qoriq/include/asm/fsl_hcalls.h
-
-include_bspdir = $(includedir)/bsp
-include_bsp_HEADERS =
-include_bsp_HEADERS += ../../../../../../bsps/powerpc/qoriq/include/bsp/intercom.h
-include_bsp_HEADERS += ../../../../../../bsps/powerpc/qoriq/include/bsp/irq.h
-include_bsp_HEADERS += ../../../../../../bsps/powerpc/qoriq/include/bsp/mmu.h
-include_bsp_HEADERS += ../../../../../../bsps/powerpc/qoriq/include/bsp/qoriq.h
-include_bsp_HEADERS += ../../../../../../bsps/powerpc/qoriq/include/bsp/tsec-config.h
-include_bsp_HEADERS += ../../../../../../bsps/powerpc/qoriq/include/bsp/uart-bridge.h
-
-include_uapi_asmdir = $(includedir)/uapi/asm
-include_uapi_asm_HEADERS =
-include_uapi_asm_HEADERS += ../../../../../../bsps/powerpc/qoriq/include/uapi/asm/epapr_hcalls.h
diff --git a/bsps/powerpc/qoriq/start/bsp_specs b/bsps/powerpc/qoriq/start/bsp_specs
deleted file mode 100644
index e69de29bb2..0000000000
--- a/bsps/powerpc/qoriq/start/bsp_specs
+++ /dev/null
diff --git a/bsps/powerpc/shared/exceptions-sources.am b/bsps/powerpc/shared/exceptions-sources.am
deleted file mode 100644
index 863bbd51a7..0000000000
--- a/bsps/powerpc/shared/exceptions-sources.am
+++ /dev/null
@@ -1,14 +0,0 @@
-librtemsbsp_a_SOURCES += ../../../../../../bsps/powerpc/shared/exceptions/ppc-code-copy.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/powerpc/shared/exceptions/ppc_exc_address.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/powerpc/shared/exceptions/ppc_exc_alignment.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/powerpc/shared/exceptions/ppc_exc_asm_macros.h
-librtemsbsp_a_SOURCES += ../../../../../../bsps/powerpc/shared/exceptions/ppc_exc_async_normal.S
-librtemsbsp_a_SOURCES += ../../../../../../bsps/powerpc/shared/exceptions/ppc_exc_categories.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/powerpc/shared/exceptions/ppc_exc_fatal.S
-librtemsbsp_a_SOURCES += ../../../../../../bsps/powerpc/shared/exceptions/ppc_exc_global_handler.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/powerpc/shared/exceptions/ppc_exc_hdl.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/powerpc/shared/exceptions/ppc_exc_initialize.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/powerpc/shared/exceptions/ppc_exc_naked.S
-librtemsbsp_a_SOURCES += ../../../../../../bsps/powerpc/shared/exceptions/ppc_exc_print.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/powerpc/shared/exceptions/ppc_exc_prologue.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/powerpc/shared/exceptions/ppc_exc.S
diff --git a/bsps/powerpc/shared/shared-sources.am b/bsps/powerpc/shared/shared-sources.am
deleted file mode 100644
index 8ac6a246d3..0000000000
--- a/bsps/powerpc/shared/shared-sources.am
+++ /dev/null
@@ -1,4 +0,0 @@
-librtemsbsp_a_SOURCES += ../../../../../../bsps/powerpc/shared/cpu_asm.S
-librtemsbsp_a_SOURCES += ../../../../../../bsps/powerpc/shared/cpu.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/powerpc/shared/cpuIdent.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/powerpc/shared/ppc-print-stack.c
diff --git a/bsps/powerpc/shared/vme-sources.am b/bsps/powerpc/shared/vme-sources.am
deleted file mode 100644
index 51beb33bfd..0000000000
--- a/bsps/powerpc/shared/vme-sources.am
+++ /dev/null
@@ -1,5 +0,0 @@
-librtemsbsp_a_SOURCES += ../../../../../../bsps/powerpc/shared/vme/bspVmeDmaList.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/powerpc/shared/vme/vmeconfig.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/powerpc/shared/vme/vmeTsi148.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/powerpc/shared/vme/vme_universe.c
-librtemsbsp_a_SOURCES += ../../../../../../bsps/powerpc/shared/vme/vmeUniverse.c
diff --git a/bsps/powerpc/ss555/headers.am b/bsps/powerpc/ss555/headers.am
deleted file mode 100644
index f53a4bd6b2..0000000000
--- a/bsps/powerpc/ss555/headers.am
+++ /dev/null
@@ -1,10 +0,0 @@
-## This file was generated by "./boostrap -H".
-
-include_HEADERS =
-include_HEADERS += ../../../../../../bsps/powerpc/ss555/include/bsp.h
-include_HEADERS += include/bspopts.h
-include_HEADERS += ../../../../../../bsps/powerpc/ss555/include/tm27.h
-
-include_bspdir = $(includedir)/bsp
-include_bsp_HEADERS =
-include_bsp_HEADERS += ../../../../../../bsps/powerpc/ss555/include/bsp/irq.h
diff --git a/bsps/powerpc/ss555/start/bsp_specs b/bsps/powerpc/ss555/start/bsp_specs
deleted file mode 100644
index e69de29bb2..0000000000
--- a/bsps/powerpc/ss555/start/bsp_specs
+++ /dev/null
diff --git a/bsps/powerpc/t32mppc/headers.am b/bsps/powerpc/t32mppc/headers.am
deleted file mode 100644
index 57d3bd9be1..0000000000
--- a/bsps/powerpc/t32mppc/headers.am
+++ /dev/null
@@ -1,10 +0,0 @@
-## This file was generated by "./boostrap -H".
-
-include_HEADERS =
-include_HEADERS += ../../../../../../bsps/powerpc/t32mppc/include/bsp.h
-include_HEADERS += include/bspopts.h
-include_HEADERS += ../../../../../../bsps/powerpc/t32mppc/include/tm27.h
-
-include_bspdir = $(includedir)/bsp
-include_bsp_HEADERS =
-include_bsp_HEADERS += ../../../../../../bsps/powerpc/t32mppc/include/bsp/irq.h
diff --git a/bsps/powerpc/t32mppc/start/bsp_specs b/bsps/powerpc/t32mppc/start/bsp_specs
deleted file mode 100644
index e69de29bb2..0000000000
--- a/bsps/powerpc/t32mppc/start/bsp_specs
+++ /dev/null
diff --git a/bsps/powerpc/tqm8xx/headers.am b/bsps/powerpc/tqm8xx/headers.am
deleted file mode 100644
index a3c97f53da..0000000000
--- a/bsps/powerpc/tqm8xx/headers.am
+++ /dev/null
@@ -1,13 +0,0 @@
-## This file was generated by "./boostrap -H".
-
-include_HEADERS =
-include_HEADERS += ../../../../../../bsps/powerpc/tqm8xx/include/bsp.h
-include_HEADERS += include/bspopts.h
-include_HEADERS += ../../../../../../bsps/powerpc/tqm8xx/include/tm27.h
-
-include_bspdir = $(includedir)/bsp
-include_bsp_HEADERS =
-include_bsp_HEADERS += ../../../../../../bsps/powerpc/tqm8xx/include/bsp/8xx_immap.h
-include_bsp_HEADERS += ../../../../../../bsps/powerpc/tqm8xx/include/bsp/irq.h
-include_bsp_HEADERS += ../../../../../../bsps/powerpc/tqm8xx/include/bsp/spi.h
-include_bsp_HEADERS += ../../../../../../bsps/powerpc/tqm8xx/include/bsp/tqm.h
diff --git a/bsps/powerpc/tqm8xx/start/bsp_specs b/bsps/powerpc/tqm8xx/start/bsp_specs
deleted file mode 100644
index e69de29bb2..0000000000
--- a/bsps/powerpc/tqm8xx/start/bsp_specs
+++ /dev/null
diff --git a/bsps/powerpc/virtex/headers.am b/bsps/powerpc/virtex/headers.am
deleted file mode 100644
index 9feceaf16d..0000000000
--- a/bsps/powerpc/virtex/headers.am
+++ /dev/null
@@ -1,13 +0,0 @@
-## This file was generated by "./boostrap -H".
-
-include_HEADERS =
-include_HEADERS += ../../../../../../bsps/powerpc/virtex/include/bsp.h
-include_HEADERS += include/bspopts.h
-include_HEADERS += ../../../../../../bsps/powerpc/virtex/include/tm27.h
-include_HEADERS += ../../../../../../bsps/powerpc/virtex/include/xiltemac.h
-include_HEADERS += ../../../../../../bsps/powerpc/virtex/include/xparameters_dflt.h
-
-include_bspdir = $(includedir)/bsp
-include_bsp_HEADERS =
-include_bsp_HEADERS += ../../../../../../bsps/powerpc/virtex/include/bsp/irq.h
-include_bsp_HEADERS += ../../../../../../bsps/powerpc/virtex/include/bsp/opbintctrl.h
diff --git a/bsps/powerpc/virtex/start/bsp_specs b/bsps/powerpc/virtex/start/bsp_specs
deleted file mode 100644
index e69de29bb2..0000000000
--- a/bsps/powerpc/virtex/start/bsp_specs
+++ /dev/null
diff --git a/bsps/powerpc/virtex/start/linkcmds.in b/bsps/powerpc/virtex/start/linkcmds.in
deleted file mode 100644
index 41fac076d7..0000000000
--- a/bsps/powerpc/virtex/start/linkcmds.in
+++ /dev/null
@@ -1,35 +0,0 @@
-EXTERN (__vectors)
-
-MEMORY {
- RAM : ORIGIN = @VIRTEX_RAM_ORIGIN@, LENGTH = @VIRTEX_RAM_LENGTH@
- FAST_RAM : ORIGIN = @VIRTEX_FAST_RAM_ORIGIN@, LENGTH = @VIRTEX_FAST_RAM_LENGTH@
- RESET : ORIGIN = @VIRTEX_RESET_ORIGIN@, LENGTH = @VIRTEX_RESET_LENGTH@
- EMPTY : ORIGIN = 0x0, LENGTH = 0x0
-}
-
-REGION_ALIAS ("REGION_START", RAM);
-REGION_ALIAS ("REGION_FAST_TEXT", FAST_RAM);
-REGION_ALIAS ("REGION_FAST_TEXT_LOAD", RAM);
-REGION_ALIAS ("REGION_TEXT", RAM);
-REGION_ALIAS ("REGION_TEXT_LOAD", RAM);
-REGION_ALIAS ("REGION_RODATA", RAM);
-REGION_ALIAS ("REGION_RODATA_LOAD", RAM);
-REGION_ALIAS ("REGION_FAST_DATA", FAST_RAM);
-REGION_ALIAS ("REGION_FAST_DATA_LOAD", RAM);
-REGION_ALIAS ("REGION_DATA", RAM);
-REGION_ALIAS ("REGION_DATA_LOAD", RAM);
-REGION_ALIAS ("REGION_BSS", RAM);
-REGION_ALIAS ("REGION_RTEMSSTACK", RAM);
-REGION_ALIAS ("REGION_WORK", RAM);
-REGION_ALIAS ("REGION_STACK", RAM);
-REGION_ALIAS ("REGION_NOCACHE", EMPTY);
-REGION_ALIAS ("REGION_NOCACHE_LOAD", EMPTY);
-REGION_ALIAS ("REGION_NVRAM", EMPTY);
-
-SECTIONS {
- .virtex_reset : {
- KEEP (*(.virtex_reset))
- } > RESET AT > RESET
-}
-
-INCLUDE linkcmds.base
diff --git a/bsps/powerpc/virtex4/headers.am b/bsps/powerpc/virtex4/headers.am
deleted file mode 100644
index 9ea2ab1635..0000000000
--- a/bsps/powerpc/virtex4/headers.am
+++ /dev/null
@@ -1,11 +0,0 @@
-## This file was generated by "./boostrap -H".
-
-include_HEADERS =
-include_HEADERS += ../../../../../../bsps/powerpc/virtex4/include/bsp.h
-include_HEADERS += include/bspopts.h
-include_HEADERS += ../../../../../../bsps/powerpc/virtex4/include/tm27.h
-
-include_bspdir = $(includedir)/bsp
-include_bsp_HEADERS =
-include_bsp_HEADERS += ../../../../../../bsps/powerpc/virtex4/include/bsp/irq.h
-include_bsp_HEADERS += ../../../../../../bsps/powerpc/virtex4/include/bsp/mmu.h
diff --git a/bsps/powerpc/virtex4/start/bsp_specs b/bsps/powerpc/virtex4/start/bsp_specs
deleted file mode 100644
index e69de29bb2..0000000000
--- a/bsps/powerpc/virtex4/start/bsp_specs
+++ /dev/null
diff --git a/bsps/powerpc/virtex5/headers.am b/bsps/powerpc/virtex5/headers.am
deleted file mode 100644
index 4a5dff7ff9..0000000000
--- a/bsps/powerpc/virtex5/headers.am
+++ /dev/null
@@ -1,11 +0,0 @@
-## This file was generated by "./boostrap -H".
-
-include_HEADERS =
-include_HEADERS += ../../../../../../bsps/powerpc/virtex5/include/bsp.h
-include_HEADERS += include/bspopts.h
-include_HEADERS += ../../../../../../bsps/powerpc/virtex5/include/tm27.h
-
-include_bspdir = $(includedir)/bsp
-include_bsp_HEADERS =
-include_bsp_HEADERS += ../../../../../../bsps/powerpc/virtex5/include/bsp/irq.h
-include_bsp_HEADERS += ../../../../../../bsps/powerpc/virtex5/include/bsp/mmu.h
diff --git a/bsps/powerpc/virtex5/start/bsp_specs b/bsps/powerpc/virtex5/start/bsp_specs
deleted file mode 100644
index e69de29bb2..0000000000
--- a/bsps/powerpc/virtex5/start/bsp_specs
+++ /dev/null
diff --git a/bsps/riscv/griscv/headers.am b/bsps/riscv/griscv/headers.am
deleted file mode 100644
index f351d7c12b..0000000000
--- a/bsps/riscv/griscv/headers.am
+++ /dev/null
@@ -1,11 +0,0 @@
-## This file was generated by "./boostrap -H".
-
-include_HEADERS =
-include_HEADERS += ../../../../../../bsps/riscv/griscv/include/amba.h
-include_HEADERS += ../../../../../../bsps/riscv/griscv/include/bsp.h
-include_HEADERS += include/bspopts.h
-include_HEADERS += ../../../../../../bsps/riscv/griscv/include/tm27.h
-
-include_bspdir = $(includedir)/bsp
-include_bsp_HEADERS =
-include_bsp_HEADERS += ../../../../../../bsps/riscv/griscv/include/bsp/irq.h
diff --git a/bsps/riscv/griscv/start/bsp_specs b/bsps/riscv/griscv/start/bsp_specs
deleted file mode 100644
index e69de29bb2..0000000000
--- a/bsps/riscv/griscv/start/bsp_specs
+++ /dev/null
diff --git a/bsps/riscv/griscv/start/linkcmds.in b/bsps/riscv/griscv/start/linkcmds.in
deleted file mode 100644
index 80e2f5ef90..0000000000
--- a/bsps/riscv/griscv/start/linkcmds.in
+++ /dev/null
@@ -1,46 +0,0 @@
-/*
- * Copyright (c) 2015 University of York.
- * Hesham ALMatary <hmka501@york.ac.uk>
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- * 1. Redistributions of source code must retain the above copyright
- * notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- * notice, this list of conditions and the following disclaimer in the
- * documentation and/or other materials provided with the distribution.
- *
- * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
- * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
- * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
- * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
- * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
- * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
- * SUCH DAMAGE.
- */
-
-MEMORY
-{
- RAM : ORIGIN = @RISCV_RAM_REGION_BEGIN@, LENGTH = @RISCV_RAM_REGION_SIZE@
-}
-
-REGION_ALIAS ("REGION_START", RAM);
-REGION_ALIAS ("REGION_TEXT", RAM);
-REGION_ALIAS ("REGION_TEXT_LOAD", RAM);
-REGION_ALIAS ("REGION_FAST_TEXT", RAM);
-REGION_ALIAS ("REGION_FAST_TEXT_LOAD", RAM);
-REGION_ALIAS ("REGION_RODATA", RAM);
-REGION_ALIAS ("REGION_RODATA_LOAD", RAM);
-REGION_ALIAS ("REGION_DATA", RAM);
-REGION_ALIAS ("REGION_DATA_LOAD", RAM);
-REGION_ALIAS ("REGION_FAST_DATA", RAM);
-REGION_ALIAS ("REGION_FAST_DATA_LOAD", RAM);
-REGION_ALIAS ("REGION_RTEMSSTACK", RAM);
-REGION_ALIAS ("REGION_WORK", RAM);
-
-INCLUDE linkcmds.base
diff --git a/bsps/riscv/headers.am b/bsps/riscv/headers.am
deleted file mode 100644
index 2fd6c8822e..0000000000
--- a/bsps/riscv/headers.am
+++ /dev/null
@@ -1,5 +0,0 @@
-## This file was generated by "./boostrap -H".
-
-include_bspdir = $(includedir)/bsp
-include_bsp_HEADERS =
-include_bsp_HEADERS += ../../../../../bsps/riscv/include/bsp/linker-symbols.h
diff --git a/bsps/riscv/riscv/headers.am b/bsps/riscv/riscv/headers.am
deleted file mode 100644
index 07cf6fb3f9..0000000000
--- a/bsps/riscv/riscv/headers.am
+++ /dev/null
@@ -1,16 +0,0 @@
-## This file was generated by "./boostrap -H".
-
-include_HEADERS =
-include_HEADERS += ../../../../../../bsps/riscv/riscv/include/bsp.h
-include_HEADERS += include/bspopts.h
-include_HEADERS += ../../../../../../bsps/riscv/riscv/include/tm27.h
-
-include_bspdir = $(includedir)/bsp
-include_bsp_HEADERS =
-include_bsp_HEADERS += ../../../../../../bsps/riscv/riscv/include/bsp/fe310-uart.h
-include_bsp_HEADERS += ../../../../../../bsps/riscv/riscv/include/bsp/irq.h
-include_bsp_HEADERS += ../../../../../../bsps/riscv/riscv/include/bsp/riscv.h
-
-include_dev_serialdir = $(includedir)/dev/serial
-include_dev_serial_HEADERS =
-include_dev_serial_HEADERS += ../../../../../../bsps/riscv/riscv/include/dev/serial/htif.h
diff --git a/bsps/riscv/riscv/start/bsp_specs b/bsps/riscv/riscv/start/bsp_specs
deleted file mode 100644
index e69de29bb2..0000000000
--- a/bsps/riscv/riscv/start/bsp_specs
+++ /dev/null
diff --git a/bsps/riscv/riscv/start/linkcmds.in b/bsps/riscv/riscv/start/linkcmds.in
deleted file mode 100644
index 80e2f5ef90..0000000000
--- a/bsps/riscv/riscv/start/linkcmds.in
+++ /dev/null
@@ -1,46 +0,0 @@
-/*
- * Copyright (c) 2015 University of York.
- * Hesham ALMatary <hmka501@york.ac.uk>
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- * 1. Redistributions of source code must retain the above copyright
- * notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- * notice, this list of conditions and the following disclaimer in the
- * documentation and/or other materials provided with the distribution.
- *
- * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
- * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
- * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
- * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
- * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
- * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
- * SUCH DAMAGE.
- */
-
-MEMORY
-{
- RAM : ORIGIN = @RISCV_RAM_REGION_BEGIN@, LENGTH = @RISCV_RAM_REGION_SIZE@
-}
-
-REGION_ALIAS ("REGION_START", RAM);
-REGION_ALIAS ("REGION_TEXT", RAM);
-REGION_ALIAS ("REGION_TEXT_LOAD", RAM);
-REGION_ALIAS ("REGION_FAST_TEXT", RAM);
-REGION_ALIAS ("REGION_FAST_TEXT_LOAD", RAM);
-REGION_ALIAS ("REGION_RODATA", RAM);
-REGION_ALIAS ("REGION_RODATA_LOAD", RAM);
-REGION_ALIAS ("REGION_DATA", RAM);
-REGION_ALIAS ("REGION_DATA_LOAD", RAM);
-REGION_ALIAS ("REGION_FAST_DATA", RAM);
-REGION_ALIAS ("REGION_FAST_DATA_LOAD", RAM);
-REGION_ALIAS ("REGION_RTEMSSTACK", RAM);
-REGION_ALIAS ("REGION_WORK", RAM);
-
-INCLUDE linkcmds.base
diff --git a/bsps/riscv/shared/start/linkcmds.base.in b/bsps/riscv/shared/start/linkcmds.base.in
deleted file mode 100644
index 5f4294dd9a..0000000000
--- a/bsps/riscv/shared/start/linkcmds.base.in
+++ /dev/null
@@ -1,410 +0,0 @@
-/* Copyright (C) 2014-2018 Free Software Foundation, Inc.
- Copying and distribution of this script, with or without modification,
- are permitted in any medium without royalty provided the copyright
- notice and this notice are preserved. */
-
-/*
- * Copyright (c) 2018 embedded brains GmbH.
- *
- * Copyright (c) 2015 University of York.
- * Hesham ALMatary <hmka501@york.ac.uk>
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- * 1. Redistributions of source code must retain the above copyright
- * notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- * notice, this list of conditions and the following disclaimer in the
- * documentation and/or other materials provided with the distribution.
- *
- * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
- * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
- * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
- * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
- * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
- * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
- * SUCH DAMAGE.
- */
-
-OUTPUT_ARCH(riscv)
-ENTRY(_start)
-@RISCV_LINKER_START_DIRECTIVE@(start.o)
-
-bsp_section_robarrier_align = DEFINED (bsp_section_robarrier_align) ? bsp_section_robarrier_align : 1;
-bsp_section_rwbarrier_align = DEFINED (bsp_section_rwbarrier_align) ? bsp_section_rwbarrier_align : 1;
-
-MEMORY {
- UNEXPECTED_SECTIONS : ORIGIN = 0xffffffff, LENGTH = 0
-}
-
-SECTIONS {
- .start : @RISCV_LINKER_ALIGN_DIRECTIVE@ {
- bsp_section_start_begin = .;
- KEEP (*(.bsp_start_text))
- KEEP (*(.bsp_start_data))
- bsp_section_start_end = .;
- } > REGION_START AT > REGION_START
- bsp_section_start_size = bsp_section_start_end - bsp_section_start_begin;
-
- .text : @RISCV_LINKER_ALIGN_DIRECTIVE@ {
- bsp_section_text_begin = .;
- *(.text.unlikely .text.*_unlikely .text.unlikely.*)
- *(.text.exit .text.exit.*)
- *(.text.startup .text.startup.*)
- *(.text.hot .text.hot.*)
- *(.text .stub .text.* .gnu.linkonce.t.*)
- /* .gnu.warning sections are handled specially by elf32.em. */
- *(.gnu.warning)
- } > REGION_TEXT AT > REGION_TEXT_LOAD
- .init : @RISCV_LINKER_ALIGN_DIRECTIVE@ {
- KEEP (*(SORT_NONE(.init)))
- } > REGION_TEXT AT > REGION_TEXT_LOAD
- .fini : @RISCV_LINKER_ALIGN_DIRECTIVE@ {
- KEEP (*(SORT_NONE(.fini)))
- bsp_section_text_end = .;
- } > REGION_TEXT AT > REGION_TEXT_LOAD
- bsp_section_text_size = bsp_section_text_end - bsp_section_text_begin;
- bsp_section_text_load_begin = LOADADDR (.text);
- bsp_section_text_load_end = bsp_section_text_load_begin + bsp_section_text_size;
-
- .robarrier : @RISCV_LINKER_ALIGN_DIRECTIVE@ {
- . = ALIGN (bsp_section_robarrier_align);
- } > REGION_RODATA AT > REGION_RODATA
-
- .rodata : @RISCV_LINKER_ALIGN_DIRECTIVE@ {
- bsp_section_rodata_begin = .;
- *(.rodata .rodata.* .gnu.linkonce.r.*)
- } > REGION_RODATA AT > REGION_RODATA_LOAD
- .rodata1 : @RISCV_LINKER_ALIGN_DIRECTIVE@ {
- *(.rodata1)
- } > REGION_RODATA AT > REGION_RODATA_LOAD
- .sdata2 : @RISCV_LINKER_ALIGN_DIRECTIVE@ {
- *(.sdata2 .sdata2.* .gnu.linkonce.s2.*)
- } > REGION_RODATA AT > REGION_RODATA_LOAD
- .sbss2 : @RISCV_LINKER_ALIGN_DIRECTIVE@ {
- *(.sbss2 .sbss2.* .gnu.linkonce.sb2.*)
- } > REGION_RODATA AT > REGION_RODATA_LOAD
- .eh_frame_hdr : @RISCV_LINKER_ALIGN_DIRECTIVE@ {
- *(.eh_frame_hdr) *(.eh_frame_entry .eh_frame_entry.*)
- } > REGION_RODATA AT > REGION_RODATA_LOAD
- .eh_frame : @RISCV_LINKER_ALIGN_DIRECTIVE@ {
- KEEP (*(.eh_frame)) *(.eh_frame.*)
- } > REGION_RODATA AT > REGION_RODATA_LOAD
- .gcc_except_table : @RISCV_LINKER_ALIGN_DIRECTIVE@ {
- *(.gcc_except_table .gcc_except_table.*)
- } > REGION_RODATA AT > REGION_RODATA_LOAD
- .gnu_extab : @RISCV_LINKER_ALIGN_DIRECTIVE@ {
- *(.gnu_extab*)
- } > REGION_RODATA AT > REGION_RODATA_LOAD
- .tdata : @RISCV_LINKER_ALIGN_DIRECTIVE@ {
- _TLS_Data_begin = .;
- *(.tdata .tdata.* .gnu.linkonce.td.*)
- _TLS_Data_end = .;
- } > REGION_RODATA AT > REGION_RODATA_LOAD
- .tbss : @RISCV_LINKER_ALIGN_DIRECTIVE@ {
- _TLS_BSS_begin = .;
- *(.tbss .tbss.* .gnu.linkonce.tb.*) *(.tcommon)
- _TLS_BSS_end = .;
- } > REGION_RODATA AT > REGION_RODATA_LOAD
- _TLS_Data_size = _TLS_Data_end - _TLS_Data_begin;
- _TLS_Data_begin = _TLS_Data_size != 0 ? _TLS_Data_begin : _TLS_BSS_begin;
- _TLS_Data_end = _TLS_Data_size != 0 ? _TLS_Data_end : _TLS_BSS_begin;
- _TLS_BSS_size = _TLS_BSS_end - _TLS_BSS_begin;
- _TLS_Size = _TLS_BSS_end - _TLS_Data_begin;
- _TLS_Alignment = MAX (ALIGNOF (.tdata), ALIGNOF (.tbss));
- .preinit_array : @RISCV_LINKER_ALIGN_DIRECTIVE@ {
- PROVIDE_HIDDEN (__preinit_array_start = .);
- KEEP (*(.preinit_array))
- PROVIDE_HIDDEN (__preinit_array_end = .);
- } > REGION_RODATA AT > REGION_RODATA_LOAD
- .init_array : @RISCV_LINKER_ALIGN_DIRECTIVE@ {
- PROVIDE_HIDDEN (__init_array_start = .);
- KEEP (*(SORT_BY_INIT_PRIORITY(.init_array.*) SORT_BY_INIT_PRIORITY(.ctors.*)))
- KEEP (*(.init_array EXCLUDE_FILE (*crtbegin.o *crtbegin?.o *crtend.o *crtend?.o ) .ctors))
- PROVIDE_HIDDEN (__init_array_end = .);
- } > REGION_RODATA AT > REGION_RODATA_LOAD
- .fini_array : @RISCV_LINKER_ALIGN_DIRECTIVE@ {
- PROVIDE_HIDDEN (__fini_array_start = .);
- KEEP (*(SORT_BY_INIT_PRIORITY(.fini_array.*) SORT_BY_INIT_PRIORITY(.dtors.*)))
- KEEP (*(.fini_array EXCLUDE_FILE (*crtbegin.o *crtbegin?.o *crtend.o *crtend?.o ) .dtors))
- PROVIDE_HIDDEN (__fini_array_end = .);
- } > REGION_RODATA AT > REGION_RODATA_LOAD
- .ctors : @RISCV_LINKER_ALIGN_DIRECTIVE@ {
- /* gcc uses crtbegin.o to find the start of
- the constructors, so we make sure it is
- first. Because this is a wildcard, it
- doesn't matter if the user does not
- actually link against crtbegin.o; the
- linker won't look for a file to match a
- wildcard. The wildcard also means that it
- doesn't matter which directory crtbegin.o
- is in. */
- KEEP (*crtbegin.o(.ctors))
- KEEP (*crtbegin?.o(.ctors))
- /* We don't want to include the .ctor section from
- the crtend.o file until after the sorted ctors.
- The .ctor section from the crtend file contains the
- end of ctors marker and it must be last */
- KEEP (*(EXCLUDE_FILE (*crtend.o *crtend?.o ) .ctors))
- KEEP (*(SORT(.ctors.*)))
- KEEP (*(.ctors))
- } > REGION_RODATA AT > REGION_RODATA_LOAD
- .dtors : @RISCV_LINKER_ALIGN_DIRECTIVE@ {
- KEEP (*crtbegin.o(.dtors))
- KEEP (*crtbegin?.o(.dtors))
- KEEP (*(EXCLUDE_FILE (*crtend.o *crtend?.o ) .dtors))
- KEEP (*(SORT(.dtors.*)))
- KEEP (*(.dtors))
- } > REGION_RODATA AT > REGION_RODATA_LOAD
- .data.rel.ro : @RISCV_LINKER_ALIGN_DIRECTIVE@ {
- *(.data.rel.ro.local* .gnu.linkonce.d.rel.ro.local.*)
- *(.data.rel.ro .data.rel.ro.* .gnu.linkonce.d.rel.ro.*)
- } > REGION_RODATA AT > REGION_RODATA_LOAD
- .jcr : @RISCV_LINKER_ALIGN_DIRECTIVE@ {
- KEEP (*(.jcr))
- } > REGION_RODATA AT > REGION_RODATA_LOAD
- .interp : @RISCV_LINKER_ALIGN_DIRECTIVE@ {
- *(.interp)
- } > REGION_RODATA AT > REGION_RODATA_LOAD
- .note.gnu.build-id : { *(.note.gnu.build-id)
- } > REGION_RODATA AT > REGION_RODATA_LOAD
- .hash : @RISCV_LINKER_ALIGN_DIRECTIVE@ {
- *(.hash)
- } > REGION_RODATA AT > REGION_RODATA_LOAD
- .gnu.hash : @RISCV_LINKER_ALIGN_DIRECTIVE@ {
- *(.gnu.hash)
- } > REGION_RODATA AT > REGION_RODATA_LOAD
- .dynsym : @RISCV_LINKER_ALIGN_DIRECTIVE@ {
- *(.dynsym)
- } > REGION_RODATA AT > REGION_RODATA_LOAD
- .dynstr : @RISCV_LINKER_ALIGN_DIRECTIVE@ {
- *(.dynstr)
- } > REGION_RODATA AT > REGION_RODATA_LOAD
- .gnu.version : @RISCV_LINKER_ALIGN_DIRECTIVE@ {
- *(.gnu.version)
- } > REGION_RODATA AT > REGION_RODATA_LOAD
- .gnu.version_d : @RISCV_LINKER_ALIGN_DIRECTIVE@ {
- *(.gnu.version_d)
- } > REGION_RODATA AT > REGION_RODATA_LOAD
- .gnu.version_r : @RISCV_LINKER_ALIGN_DIRECTIVE@ {
- *(.gnu.version_r)
- } > REGION_RODATA AT > REGION_RODATA_LOAD
- .rela.dyn : @RISCV_LINKER_ALIGN_DIRECTIVE@ {
- *(.rela.init)
- *(.rela.text .rela.text.* .rela.gnu.linkonce.t.*)
- *(.rela.fini)
- *(.rela.rodata .rela.rodata.* .rela.gnu.linkonce.r.*)
- *(.rela.data .rela.data.* .rela.gnu.linkonce.d.*)
- *(.rela.tdata .rela.tdata.* .rela.gnu.linkonce.td.*)
- *(.rela.tbss .rela.tbss.* .rela.gnu.linkonce.tb.*)
- *(.rela.ctors)
- *(.rela.dtors)
- *(.rela.got)
- *(.rela.sdata .rela.sdata.* .rela.gnu.linkonce.s.*)
- *(.rela.sbss .rela.sbss.* .rela.gnu.linkonce.sb.*)
- *(.rela.sdata2 .rela.sdata2.* .rela.gnu.linkonce.s2.*)
- *(.rela.sbss2 .rela.sbss2.* .rela.gnu.linkonce.sb2.*)
- *(.rela.bss .rela.bss.* .rela.gnu.linkonce.b.*)
- PROVIDE_HIDDEN (__rela_iplt_start = .);
- *(.rela.iplt)
- PROVIDE_HIDDEN (__rela_iplt_end = .);
- } > REGION_RODATA AT > REGION_RODATA_LOAD
- .rela.plt : @RISCV_LINKER_ALIGN_DIRECTIVE@ {
- *(.rela.plt)
- } > REGION_RODATA AT > REGION_RODATA_LOAD
- .plt : @RISCV_LINKER_ALIGN_DIRECTIVE@ {
- *(.plt)
- } > REGION_RODATA AT > REGION_RODATA_LOAD
- .iplt : @RISCV_LINKER_ALIGN_DIRECTIVE@ {
- *(.iplt)
- } > REGION_RODATA AT > REGION_RODATA_LOAD
- .dynamic : @RISCV_LINKER_ALIGN_DIRECTIVE@ {
- *(.dynamic)
- } > REGION_RODATA AT > REGION_RODATA_LOAD
- .tm_clone_table : @RISCV_LINKER_ALIGN_DIRECTIVE@ {
- *(.tm_clone_table)
- } > REGION_RODATA AT > REGION_RODATA_LOAD
- .got : @RISCV_LINKER_ALIGN_DIRECTIVE@ {
- *(.got.plt) *(.igot.plt) *(.got) *(.igot)
- } > REGION_RODATA AT > REGION_RODATA_LOAD
- .rtemsroset : @RISCV_LINKER_ALIGN_DIRECTIVE@ {
- /* Special FreeBSD linker set sections */
- __start_set_sysctl_set = .;
- *(set_sysctl_*);
- __stop_set_sysctl_set = .;
- *(set_domain_*);
- *(set_pseudo_*);
-
- KEEP (*(SORT(.rtemsroset.*)))
- bsp_section_rodata_end = .;
- } > REGION_RODATA AT > REGION_RODATA_LOAD
- bsp_section_rodata_size = bsp_section_rodata_end - bsp_section_rodata_begin;
- bsp_section_rodata_load_begin = LOADADDR (.rodata);
- bsp_section_rodata_load_end = bsp_section_rodata_load_begin + bsp_section_rodata_size;
-
- .rwbarrier : @RISCV_LINKER_ALIGN_DIRECTIVE@ {
- . = ALIGN (bsp_section_rwbarrier_align);
- } > REGION_DATA AT > REGION_DATA
-
- .fast_text : @RISCV_LINKER_ALIGN_DIRECTIVE@ {
- bsp_section_fast_text_begin = .;
- *(.bsp_fast_text)
- bsp_section_fast_text_end = .;
- } > REGION_FAST_TEXT AT > REGION_FAST_TEXT_LOAD
- bsp_section_fast_text_size = bsp_section_fast_text_end - bsp_section_fast_text_begin;
- bsp_section_fast_text_load_begin = LOADADDR (.fast_text);
- bsp_section_fast_text_load_end = bsp_section_fast_text_load_begin + bsp_section_fast_text_size;
-
- .fast_data : @RISCV_LINKER_ALIGN_DIRECTIVE@ {
- bsp_section_fast_data_begin = .;
- *(.bsp_fast_data)
- bsp_section_fast_data_end = .;
- } > REGION_FAST_DATA AT > REGION_FAST_DATA_LOAD
- bsp_section_fast_data_size = bsp_section_fast_data_end - bsp_section_fast_data_begin;
- bsp_section_fast_data_load_begin = LOADADDR (.fast_data);
- bsp_section_fast_data_load_end = bsp_section_fast_data_load_begin + bsp_section_fast_data_size;
-
- .data : @RISCV_LINKER_ALIGN_DIRECTIVE@ {
- bsp_section_data_begin = .;
- *(.data .data.* .gnu.linkonce.d.*)
- SORT(CONSTRUCTORS)
- } > REGION_DATA AT > REGION_DATA_LOAD
- .data1 : @RISCV_LINKER_ALIGN_DIRECTIVE@ {
- *(.data1)
- } > REGION_DATA AT > REGION_DATA_LOAD
- .rtemsrwset : @RISCV_LINKER_ALIGN_DIRECTIVE@ {
- KEEP (*(SORT(.rtemsrwset.*)))
- } > REGION_DATA AT > REGION_DATA_LOAD
- .htif ALIGN(4096) : @RISCV_LINKER_ALIGN_DIRECTIVE@ {
- *(.htif)
- } > REGION_DATA AT > REGION_DATA_LOAD
- .sdata : @RISCV_LINKER_ALIGN_DIRECTIVE@ {
- __global_pointer$ = . + 0x800;
- *(.srodata.cst16) *(.srodata.cst8) *(.srodata.cst4) *(.srodata.cst2) *(.srodata .srodata.*)
- *(.sdata .sdata.* .gnu.linkonce.s.*)
- bsp_section_data_end = .;
- } > REGION_DATA AT > REGION_DATA_LOAD
- bsp_section_data_size = bsp_section_data_end - bsp_section_data_begin;
- bsp_section_data_load_begin = LOADADDR (.data);
- bsp_section_data_load_end = bsp_section_data_load_begin + bsp_section_data_size;
-
- .sbss : @RISCV_LINKER_ALIGN_DIRECTIVE@ {
- bsp_section_bss_begin = .;
- *(.dynsbss)
- *(.sbss .sbss.* .gnu.linkonce.sb.*)
- *(.scommon)
- } > REGION_DATA AT > REGION_DATA
- .bss : @RISCV_LINKER_ALIGN_DIRECTIVE@ {
- *(.dynbss)
- *(.bss .bss.* .gnu.linkonce.b.*)
- *(COMMON)
- bsp_section_bss_end = .;
- } > REGION_DATA AT > REGION_DATA
- bsp_section_bss_size = bsp_section_bss_end - bsp_section_bss_begin;
-
- .rtemsstack (NOLOAD) : @RISCV_LINKER_ALIGN_DIRECTIVE@ {
- bsp_section_rtemsstack_begin = .;
- *(SORT(.rtemsstack.*))
- bsp_section_rtemsstack_end = .;
- } > REGION_RTEMSSTACK AT > REGION_RTEMSSTACK
- bsp_section_rtemsstack_size = bsp_section_rtemsstack_end - bsp_section_rtemsstack_begin;
-
- .noinit (NOLOAD) : @RISCV_LINKER_ALIGN_DIRECTIVE@ {
- bsp_section_noinit_begin = .;
- *(.noinit*)
- bsp_section_noinit_end = .;
- } > REGION_WORK AT > REGION_WORK
- bsp_section_noinit_size = bsp_section_noinit_end - bsp_section_noinit_begin;
-
- .work (NOLOAD) : @RISCV_LINKER_ALIGN_DIRECTIVE@ {
- /*
- * The work section will occupy the remaining REGION_WORK region and
- * contains the RTEMS work space and heap.
- */
- bsp_section_work_begin = .;
- . += ORIGIN (REGION_WORK) + LENGTH (REGION_WORK) - ABSOLUTE (.);
- bsp_section_work_end = .;
- } > REGION_WORK AT > REGION_WORK
- bsp_section_work_size = bsp_section_work_end - bsp_section_work_begin;
-
- /* FIXME */
- RamBase = ORIGIN (REGION_WORK);
- RamSize = LENGTH (REGION_WORK);
- RamEnd = RamBase + RamSize;
- WorkAreaBase = bsp_section_work_begin;
- HeapSize = 0;
-
- /* Stabs debugging sections. */
- .stab 0 : { *(.stab) }
- .stabstr 0 : { *(.stabstr) }
- .stab.excl 0 : { *(.stab.excl) }
- .stab.exclstr 0 : { *(.stab.exclstr) }
- .stab.index 0 : { *(.stab.index) }
- .stab.indexstr 0 : { *(.stab.indexstr) }
- .comment 0 : { *(.comment) }
- /* DWARF debug sections.
- Symbols in the DWARF debugging sections are relative to the beginning
- of the section so we begin them at 0. */
- /* DWARF 1 */
- .debug 0 : { *(.debug) }
- .line 0 : { *(.line) }
- /* DWARF debug sections.
- Symbols in the DWARF debugging sections are relative to the beginning
- of the section so we begin them at 0. */
- /* DWARF 1. */
- .debug 0 : { *(.debug) }
- .line 0 : { *(.line) }
- /* GNU DWARF 1 extensions. */
- .debug_srcinfo 0 : { *(.debug_srcinfo) }
- .debug_sfnames 0 : { *(.debug_sfnames) }
- /* DWARF 1.1 and DWARF 2. */
- .debug_aranges 0 : { *(.debug_aranges) }
- .debug_pubnames 0 : { *(.debug_pubnames) }
- /* DWARF 2. */
- .debug_info 0 : { *(.debug_info .gnu.linkonce.wi.*) }
- .debug_abbrev 0 : { *(.debug_abbrev) }
- .debug_line 0 : { *(.debug_line .debug_line.* .debug_line_end) }
- .debug_frame 0 : { *(.debug_frame) }
- .debug_str 0 : { *(.debug_str) }
- .debug_loc 0 : { *(.debug_loc) }
- .debug_macinfo 0 : { *(.debug_macinfo) }
- /* SGI/MIPS DWARF 2 extensions. */
- .debug_weaknames 0 : { *(.debug_weaknames) }
- .debug_funcnames 0 : { *(.debug_funcnames) }
- .debug_typenames 0 : { *(.debug_typenames) }
- .debug_varnames 0 : { *(.debug_varnames) }
- /* DWARF 3. */
- .debug_pubtypes 0 : { *(.debug_pubtypes) }
- .debug_ranges 0 : { *(.debug_ranges) }
- /* DWARF 5. */
- .debug_addr 0 : { *(.debug_addr) }
- .debug_line_str 0 : { *(.debug_line_str) }
- .debug_loclists 0 : { *(.debug_loclists) }
- .debug_macro 0 : { *(.debug_macro) }
- .debug_names 0 : { *(.debug_names) }
- .debug_rnglists 0 : { *(.debug_rnglists) }
- .debug_str_offsets 0 : { *(.debug_str_offsets) }
- .debug_sup 0 : { *(.debug_sup) }
- .gnu.attributes 0 : { KEEP (*(.gnu.attributes)) }
- /DISCARD/ : { *(.note.GNU-stack) *(.gnu_debuglink) *(.gnu.lto_*) }
- .shstrtab 0 : { *(.shstrtab) }
- .strtab 0 : { *(.strtab) }
- .symtab 0 : { *(.symtab) }
- .symtab_shndx 0 : { *(.symtab_shndx) }
- __cap_relocs 0 : { *(__cap_relocs) }
-
- /*
- * This is a RTEMS specific section to catch all unexpected input
- * sections. In case you get an error like
- * "section `.unexpected_sections' will not fit in region
- * `UNEXPECTED_SECTIONS'"
- * you have to figure out the offending input section and add it to the
- * appropriate output section definition above.
- */
- .unexpected_sections : { *(*) } > UNEXPECTED_SECTIONS
-}
diff --git a/bsps/sh/gensh1/headers.am b/bsps/sh/gensh1/headers.am
deleted file mode 100644
index 82af164fae..0000000000
--- a/bsps/sh/gensh1/headers.am
+++ /dev/null
@@ -1,21 +0,0 @@
-## This file was generated by "./boostrap -H".
-
-include_HEADERS =
-include_HEADERS += ../../../../../../bsps/sh/gensh1/include/bsp.h
-include_HEADERS += include/bspopts.h
-include_HEADERS += ../../../../../../bsps/sh/gensh1/include/tm27.h
-
-include_bspdir = $(includedir)/bsp
-include_bsp_HEADERS =
-include_bsp_HEADERS += ../../../../../../bsps/sh/gensh1/include/bsp/irq.h
-
-include_rtems_scoredir = $(includedir)/rtems/score
-include_rtems_score_HEADERS =
-include_rtems_score_HEADERS += ../../../../../../bsps/sh/gensh1/include/rtems/score/iosh7032.h
-include_rtems_score_HEADERS += ../../../../../../bsps/sh/gensh1/include/rtems/score/ispsh7032.h
-
-include_shdir = $(includedir)/sh
-include_sh_HEADERS =
-include_sh_HEADERS += ../../../../../../bsps/sh/gensh1/include/sh/sci.h
-include_sh_HEADERS += ../../../../../../bsps/sh/gensh1/include/sh/sh7_pfc.h
-include_sh_HEADERS += ../../../../../../bsps/sh/gensh1/include/sh/sh7_sci.h
diff --git a/bsps/sh/gensh1/start/bsp_specs b/bsps/sh/gensh1/start/bsp_specs
deleted file mode 100644
index e69de29bb2..0000000000
--- a/bsps/sh/gensh1/start/bsp_specs
+++ /dev/null
diff --git a/bsps/sh/gensh2/headers.am b/bsps/sh/gensh2/headers.am
deleted file mode 100644
index 736fb86330..0000000000
--- a/bsps/sh/gensh2/headers.am
+++ /dev/null
@@ -1,23 +0,0 @@
-## This file was generated by "./boostrap -H".
-
-include_HEADERS =
-include_HEADERS += ../../../../../../bsps/sh/gensh2/include/bsp.h
-include_HEADERS += include/bspopts.h
-include_HEADERS += ../../../../../../bsps/sh/gensh2/include/tm27.h
-
-include_bspdir = $(includedir)/bsp
-include_bsp_HEADERS =
-include_bsp_HEADERS += ../../../../../../bsps/sh/gensh2/include/bsp/irq.h
-
-include_rtem