[PATCH 40/40] bsps: Move clock drivers to bsps
Sebastian Huber
sebastian.huber at embedded-brains.de
Thu Apr 19 13:27:05 UTC 2018
This patch is a part of the BSP source reorganization.
Update #3285.
---
{c/src/lib/libbsp => bsps}/arm/atsam/clock/systick-freq.c | 0
{c/src/lib/libbsp => bsps}/arm/csb336/clock/clockdrv.c | 4 ++--
{c/src/lib/libbsp => bsps}/arm/csb337/clock/clock.c | 2 +-
{c/src/lib/libbsp => bsps}/arm/edb7312/clock/clockdrv.c | 2 +-
{c/src/lib/libbsp => bsps}/arm/gumstix/clock/clock.c | 2 +-
{c/src/lib/libbsp => bsps}/arm/raspberrypi/clock/clockdrv.c | 4 ++--
{c/src/lib/libbsp => bsps}/arm/rtl22xx/clock/clockdrv.c | 4 ++--
.../armv7m-clock-config.c => bsps/arm/shared/clock/clock-armv7m.c | 4 ++--
.../clock/lpc-clock-config.c => bsps/arm/shared/clock/clock-nxp-lpc.c | 4 ++--
{c/src/lib/libbsp => bsps}/arm/smdk2410/clock/clockdrv.c | 2 +-
{c/src/lib/libbsp => bsps}/arm/smdk2410/clock/support.c | 0
{c/src/lib/libbsp => bsps}/arm/tms570/clock/clock.c | 2 +-
{c/src/lib/libbsp => bsps}/i386/pc386/clock/ckinit.c | 2 +-
{c/src/lib/libbsp => bsps}/i386/pc386/clock/rtc.c | 0
{c/src/lib/libbsp => bsps}/i386/pc386/clock/todcfg.c | 0
{c/src/lib/libbsp => bsps}/lm32/shared/clock/ckinit.c | 2 +-
{c/src/lib/libbsp => bsps}/lm32/shared/clock/clock.h | 0
{c/src/lib/libbsp => bsps}/m68k/av5282/clock/clock.c | 2 +-
{c/src/lib/libbsp => bsps}/m68k/gen68340/clock/ckinit.c | 0
{c/src/lib/libbsp => bsps}/m68k/gen68360/clock/clock.c | 2 +-
{c/src/lib/libbsp => bsps}/m68k/genmcf548x/clock/clock.c | 2 +-
{c/src/lib/libbsp => bsps}/m68k/mcf52235/clock/clock.c | 2 +-
{c/src/lib/libbsp => bsps}/m68k/mcf5225x/clock/clock.c | 2 +-
{c/src/lib/libbsp => bsps}/m68k/mcf5235/clock/clock.c | 2 +-
{c/src/lib/libbsp => bsps}/m68k/mcf5329/clock/clock.c | 2 +-
{c/src/lib/libbsp => bsps}/m68k/mrm332/clock/ckinit.c | 0
{c/src/lib/libbsp => bsps}/m68k/mvme147/clock/ckinit.c | 0
{c/src/lib/libbsp => bsps}/m68k/mvme162/clock/ckinit.c | 0
{c/src/lib/libbsp => bsps}/m68k/mvme167/clock/ckinit.c | 0
{c/src/lib/libbsp => bsps}/m68k/uC5282/clock/clock.c | 2 +-
{c/src/lib/libbsp => bsps}/mips/csb350/clock/clockdrv.c | 2 +-
{c/src/lib/libbsp => bsps}/mips/hurricane/clock/ckinit.c | 0
{c/src/lib/libbsp => bsps}/mips/hurricane/clock/clock.S | 0
{c/src/lib/libbsp => bsps}/mips/hurricane/clock/clock.h | 0
{c/src/lib/libbsp => bsps}/mips/jmr3904/clock/clockdrv.c | 2 +-
{c/src/lib/libbsp => bsps}/mips/rbtx4925/clock/clockdrv.c | 2 +-
{c/src/lib/libbsp => bsps}/mips/rbtx4938/clock/clockdrv.c | 2 +-
{c/src/lib/libbsp => bsps}/mips/rbtx4938/clock/yamon_api.h | 0
{c/src/lib/libbsp => bsps}/mips/shared/clock/clockdrv.c | 2 +-
{c/src/lib/libbsp => bsps}/mips/shared/clock/mips_timer.S | 0
{c/src/lib/libbsp => bsps}/nios2/nios2_iss/clock/clock.c | 2 +-
{c/src/lib/libbsp => bsps}/no_cpu/no_bsp/clock/ckinit.c | 2 +-
{c/src/lib/libbsp => bsps}/or1k/generic_or1k/clock/clockdrv.c | 2 +-
{c/src/lib/libbsp => bsps}/powerpc/mpc55xxevb/clock/clock-config.c | 2 +-
{c/src/lib/libbsp => bsps}/powerpc/mpc8260ads/clock/p_clock.c | 0
{c/src/lib/libbsp => bsps}/powerpc/qoriq/clock/clock-config.c | 4 ++--
{c/src/lib/libbsp => bsps}/powerpc/shared/clock/clock.c | 0
{c/src/lib/libbsp => bsps}/powerpc/shared/clock/p_clock.c | 0
{c/src/lib/libbsp => bsps}/powerpc/ss555/clock/p_clock.c | 0
{c/src/lib/libbsp => bsps}/powerpc/t32mppc/clock/clock-config.c | 4 ++--
{c/src/lib/libbsp => bsps}/powerpc/tqm8xx/clock/p_clock.c | 0
{c/src/lib/libbsp => bsps}/riscv/riscv_generic/clock/clockdrv.c | 2 +-
{c/src/lib/libbsp => bsps}/sh/gensh1/clock/ckinit.c | 0
{c/src/lib/libbsp => bsps}/sh/gensh1/clock/delay.c | 0
{c/src/lib/libbsp => bsps}/sh/gensh2/clock/ckinit.c | 0
{c/src/lib/libbsp => bsps}/sh/gensh4/clock/ckinit.c | 0
bsps/shared/dev/clock/clock-simidle.c | 2 +-
.../shared/clockdrv_shell.h => bsps/shared/dev/clock/clockimpl.h | 2 +-
{c/src/lib/libbsp => bsps}/sparc/erc32/clock/ckinit.c | 2 +-
{c/src/lib/libbsp => bsps}/sparc/leon2/clock/ckinit.c | 2 +-
{c/src/lib/libbsp => bsps}/sparc/leon3/clock/ckinit.c | 2 +-
{c/src/lib/libbsp => bsps}/sparc64/shared/clock/ckinit.c | 2 +-
c/src/lib/libbsp/arm/atsam/Makefile.am | 4 ++--
c/src/lib/libbsp/arm/beagle/clock.c | 2 +-
c/src/lib/libbsp/arm/csb336/Makefile.am | 2 +-
c/src/lib/libbsp/arm/csb337/Makefile.am | 2 +-
c/src/lib/libbsp/arm/edb7312/Makefile.am | 2 +-
c/src/lib/libbsp/arm/gumstix/Makefile.am | 2 +-
c/src/lib/libbsp/arm/lm3s69xx/Makefile.am | 2 +-
c/src/lib/libbsp/arm/lpc176x/Makefile.am | 4 ++--
c/src/lib/libbsp/arm/lpc24xx/Makefile.am | 4 ++--
c/src/lib/libbsp/arm/lpc32xx/Makefile.am | 2 +-
c/src/lib/libbsp/arm/raspberrypi/Makefile.am | 2 +-
c/src/lib/libbsp/arm/rtl22xx/Makefile.am | 2 +-
c/src/lib/libbsp/arm/shared/arm-a9mpcore-clock-config.c | 4 ++--
c/src/lib/libbsp/arm/shared/arm-generic-timer-clock-config.c | 4 ++--
c/src/lib/libbsp/arm/smdk2410/Makefile.am | 4 ++--
c/src/lib/libbsp/arm/stm32f4/Makefile.am | 2 +-
c/src/lib/libbsp/arm/tms570/Makefile.am | 2 +-
c/src/lib/libbsp/i386/pc386/Makefile.am | 4 ++--
c/src/lib/libbsp/lm32/lm32_evr/Makefile.am | 2 +-
c/src/lib/libbsp/lm32/shared/milkymist_clock/ckinit.c | 2 +-
c/src/lib/libbsp/m68k/av5282/Makefile.am | 2 +-
c/src/lib/libbsp/m68k/gen68340/Makefile.am | 2 +-
c/src/lib/libbsp/m68k/gen68360/Makefile.am | 2 +-
c/src/lib/libbsp/m68k/genmcf548x/Makefile.am | 2 +-
c/src/lib/libbsp/m68k/mcf52235/Makefile.am | 2 +-
c/src/lib/libbsp/m68k/mcf5225x/Makefile.am | 2 +-
c/src/lib/libbsp/m68k/mcf5235/Makefile.am | 2 +-
c/src/lib/libbsp/m68k/mcf5329/Makefile.am | 2 +-
c/src/lib/libbsp/m68k/mrm332/Makefile.am | 2 +-
c/src/lib/libbsp/m68k/mvme147/Makefile.am | 2 +-
c/src/lib/libbsp/m68k/mvme147s/Makefile.am | 2 +-
c/src/lib/libbsp/m68k/mvme162/Makefile.am | 2 +-
c/src/lib/libbsp/m68k/mvme167/Makefile.am | 2 +-
c/src/lib/libbsp/m68k/uC5282/Makefile.am | 2 +-
c/src/lib/libbsp/mips/csb350/Makefile.am | 2 +-
c/src/lib/libbsp/mips/hurricane/Makefile.am | 2 +-
c/src/lib/libbsp/mips/jmr3904/Makefile.am | 2 +-
c/src/lib/libbsp/mips/malta/Makefile.am | 4 ++--
c/src/lib/libbsp/mips/rbtx4925/Makefile.am | 2 +-
c/src/lib/libbsp/mips/rbtx4938/Makefile.am | 2 +-
c/src/lib/libbsp/nios2/nios2_iss/Makefile.am | 2 +-
c/src/lib/libbsp/no_cpu/no_bsp/Makefile.am | 2 +-
c/src/lib/libbsp/or1k/generic_or1k/Makefile.am | 2 +-
c/src/lib/libbsp/powerpc/beatnik/Makefile.am | 2 +-
c/src/lib/libbsp/powerpc/gen5200/Makefile.am | 2 +-
c/src/lib/libbsp/powerpc/gen83xx/Makefile.am | 2 +-
c/src/lib/libbsp/powerpc/motorola_powerpc/Makefile.am | 2 +-
c/src/lib/libbsp/powerpc/mpc55xxevb/Makefile.am | 2 +-
c/src/lib/libbsp/powerpc/mpc8260ads/Makefile.am | 2 +-
c/src/lib/libbsp/powerpc/mvme3100/Makefile.am | 2 +-
c/src/lib/libbsp/powerpc/mvme5500/Makefile.am | 2 +-
c/src/lib/libbsp/powerpc/psim/Makefile.am | 2 +-
c/src/lib/libbsp/powerpc/qemuppc/Makefile.am | 2 +-
c/src/lib/libbsp/powerpc/qoriq/Makefile.am | 2 +-
c/src/lib/libbsp/powerpc/ss555/Makefile.am | 2 +-
c/src/lib/libbsp/powerpc/t32mppc/Makefile.am | 2 +-
c/src/lib/libbsp/powerpc/tqm8xx/Makefile.am | 4 ++--
c/src/lib/libbsp/powerpc/virtex/Makefile.am | 2 +-
c/src/lib/libbsp/powerpc/virtex5/Makefile.am | 2 +-
c/src/lib/libbsp/riscv/riscv_generic/Makefile.am | 2 +-
c/src/lib/libbsp/sh/gensh1/Makefile.am | 4 ++--
c/src/lib/libbsp/sh/gensh2/Makefile.am | 2 +-
c/src/lib/libbsp/sh/gensh4/Makefile.am | 2 +-
c/src/lib/libbsp/sparc/erc32/Makefile.am | 2 +-
c/src/lib/libbsp/sparc/leon2/Makefile.am | 2 +-
c/src/lib/libbsp/sparc/leon3/Makefile.am | 2 +-
c/src/lib/libbsp/sparc/shared/timer/tlib_ckinit.c | 4 ++--
c/src/lib/libbsp/sparc64/niagara/Makefile.am | 2 +-
c/src/lib/libbsp/sparc64/usiii/Makefile.am | 2 +-
131 files changed, 125 insertions(+), 125 deletions(-)
rename {c/src/lib/libbsp => bsps}/arm/atsam/clock/systick-freq.c (100%)
rename {c/src/lib/libbsp => bsps}/arm/csb336/clock/clockdrv.c (97%)
rename {c/src/lib/libbsp => bsps}/arm/csb337/clock/clock.c (97%)
rename {c/src/lib/libbsp => bsps}/arm/edb7312/clock/clockdrv.c (97%)
rename {c/src/lib/libbsp => bsps}/arm/gumstix/clock/clock.c (97%)
rename {c/src/lib/libbsp => bsps}/arm/raspberrypi/clock/clockdrv.c (96%)
rename {c/src/lib/libbsp => bsps}/arm/rtl22xx/clock/clockdrv.c (97%)
rename c/src/lib/libbsp/arm/shared/armv7m/clock/armv7m-clock-config.c => bsps/arm/shared/clock/clock-armv7m.c (97%)
rename c/src/lib/libbsp/arm/shared/lpc/clock/lpc-clock-config.c => bsps/arm/shared/clock/clock-nxp-lpc.c (96%)
rename {c/src/lib/libbsp => bsps}/arm/smdk2410/clock/clockdrv.c (98%)
rename {c/src/lib/libbsp => bsps}/arm/smdk2410/clock/support.c (100%)
rename {c/src/lib/libbsp => bsps}/arm/tms570/clock/clock.c (99%)
rename {c/src/lib/libbsp => bsps}/i386/pc386/clock/ckinit.c (99%)
rename {c/src/lib/libbsp => bsps}/i386/pc386/clock/rtc.c (100%)
rename {c/src/lib/libbsp => bsps}/i386/pc386/clock/todcfg.c (100%)
rename {c/src/lib/libbsp => bsps}/lm32/shared/clock/ckinit.c (97%)
rename {c/src/lib/libbsp => bsps}/lm32/shared/clock/clock.h (100%)
rename {c/src/lib/libbsp => bsps}/m68k/av5282/clock/clock.c (97%)
rename {c/src/lib/libbsp => bsps}/m68k/gen68340/clock/ckinit.c (100%)
rename {c/src/lib/libbsp => bsps}/m68k/gen68360/clock/clock.c (98%)
rename {c/src/lib/libbsp => bsps}/m68k/genmcf548x/clock/clock.c (98%)
rename {c/src/lib/libbsp => bsps}/m68k/mcf52235/clock/clock.c (97%)
rename {c/src/lib/libbsp => bsps}/m68k/mcf5225x/clock/clock.c (97%)
rename {c/src/lib/libbsp => bsps}/m68k/mcf5235/clock/clock.c (97%)
rename {c/src/lib/libbsp => bsps}/m68k/mcf5329/clock/clock.c (97%)
rename {c/src/lib/libbsp => bsps}/m68k/mrm332/clock/ckinit.c (100%)
rename {c/src/lib/libbsp => bsps}/m68k/mvme147/clock/ckinit.c (100%)
rename {c/src/lib/libbsp => bsps}/m68k/mvme162/clock/ckinit.c (100%)
rename {c/src/lib/libbsp => bsps}/m68k/mvme167/clock/ckinit.c (100%)
rename {c/src/lib/libbsp => bsps}/m68k/uC5282/clock/clock.c (99%)
rename {c/src/lib/libbsp => bsps}/mips/csb350/clock/clockdrv.c (98%)
rename {c/src/lib/libbsp => bsps}/mips/hurricane/clock/ckinit.c (100%)
rename {c/src/lib/libbsp => bsps}/mips/hurricane/clock/clock.S (100%)
rename {c/src/lib/libbsp => bsps}/mips/hurricane/clock/clock.h (100%)
rename {c/src/lib/libbsp => bsps}/mips/jmr3904/clock/clockdrv.c (96%)
rename {c/src/lib/libbsp => bsps}/mips/rbtx4925/clock/clockdrv.c (99%)
rename {c/src/lib/libbsp => bsps}/mips/rbtx4938/clock/clockdrv.c (98%)
rename {c/src/lib/libbsp => bsps}/mips/rbtx4938/clock/yamon_api.h (100%)
rename {c/src/lib/libbsp => bsps}/mips/shared/clock/clockdrv.c (96%)
rename {c/src/lib/libbsp => bsps}/mips/shared/clock/mips_timer.S (100%)
rename {c/src/lib/libbsp => bsps}/nios2/nios2_iss/clock/clock.c (96%)
rename {c/src/lib/libbsp => bsps}/no_cpu/no_bsp/clock/ckinit.c (97%)
rename {c/src/lib/libbsp => bsps}/or1k/generic_or1k/clock/clockdrv.c (98%)
rename {c/src/lib/libbsp => bsps}/powerpc/mpc55xxevb/clock/clock-config.c (99%)
rename {c/src/lib/libbsp => bsps}/powerpc/mpc8260ads/clock/p_clock.c (100%)
rename {c/src/lib/libbsp => bsps}/powerpc/qoriq/clock/clock-config.c (97%)
rename {c/src/lib/libbsp => bsps}/powerpc/shared/clock/clock.c (100%)
rename {c/src/lib/libbsp => bsps}/powerpc/shared/clock/p_clock.c (100%)
rename {c/src/lib/libbsp => bsps}/powerpc/ss555/clock/p_clock.c (100%)
rename {c/src/lib/libbsp => bsps}/powerpc/t32mppc/clock/clock-config.c (94%)
rename {c/src/lib/libbsp => bsps}/powerpc/tqm8xx/clock/p_clock.c (100%)
rename {c/src/lib/libbsp => bsps}/riscv/riscv_generic/clock/clockdrv.c (98%)
rename {c/src/lib/libbsp => bsps}/sh/gensh1/clock/ckinit.c (100%)
rename {c/src/lib/libbsp => bsps}/sh/gensh1/clock/delay.c (100%)
rename {c/src/lib/libbsp => bsps}/sh/gensh2/clock/ckinit.c (100%)
rename {c/src/lib/libbsp => bsps}/sh/gensh4/clock/ckinit.c (100%)
rename c/src/lib/libbsp/shared/clockdrv_shell.h => bsps/shared/dev/clock/clockimpl.h (98%)
rename {c/src/lib/libbsp => bsps}/sparc/erc32/clock/ckinit.c (98%)
rename {c/src/lib/libbsp => bsps}/sparc/leon2/clock/ckinit.c (98%)
rename {c/src/lib/libbsp => bsps}/sparc/leon3/clock/ckinit.c (99%)
rename {c/src/lib/libbsp => bsps}/sparc64/shared/clock/ckinit.c (98%)
diff --git a/c/src/lib/libbsp/arm/atsam/clock/systick-freq.c b/bsps/arm/atsam/clock/systick-freq.c
similarity index 100%
rename from c/src/lib/libbsp/arm/atsam/clock/systick-freq.c
rename to bsps/arm/atsam/clock/systick-freq.c
diff --git a/c/src/lib/libbsp/arm/csb336/clock/clockdrv.c b/bsps/arm/csb336/clock/clockdrv.c
similarity index 97%
rename from c/src/lib/libbsp/arm/csb336/clock/clockdrv.c
rename to bsps/arm/csb336/clock/clockdrv.c
index 576a8278d5..6df1eafb58 100644
--- a/c/src/lib/libbsp/arm/csb336/clock/clockdrv.c
+++ b/bsps/arm/csb336/clock/clockdrv.c
@@ -17,7 +17,7 @@
#include <mc9328mxl.h>
#include <rtems/bspIo.h> /* for printk */
-/* this is defined in ../../../shared/clockdrv_shell.h */
+/* this is defined in ../../../shared/dev/clock/clockimpl.h */
void Clock_isr(rtems_irq_hdl_param arg);
static void clock_isr_on(const rtems_irq_connect_data *unused);
static void clock_isr_off(const rtems_irq_connect_data *unused);
@@ -131,4 +131,4 @@ static int clock_isr_is_on(const rtems_irq_connect_data *irq)
/* Make sure to include this, and only at the end of the file */
-#include "../../../../libbsp/shared/clockdrv_shell.h"
+#include "../../../../libbsp/shared/dev/clock/clockimpl.h"
diff --git a/c/src/lib/libbsp/arm/csb337/clock/clock.c b/bsps/arm/csb337/clock/clock.c
similarity index 97%
rename from c/src/lib/libbsp/arm/csb337/clock/clock.c
rename to bsps/arm/csb337/clock/clock.c
index f231a04697..f44983f308 100644
--- a/c/src/lib/libbsp/arm/csb337/clock/clock.c
+++ b/bsps/arm/csb337/clock/clock.c
@@ -110,4 +110,4 @@ static void Clock_driver_support_initialize_hardware(void)
#define CLOCK_DRIVER_USE_DUMMY_TIMECOUNTER
-#include "../../../../libbsp/shared/clockdrv_shell.h"
+#include "../../../../libbsp/shared/dev/clock/clockimpl.h"
diff --git a/c/src/lib/libbsp/arm/edb7312/clock/clockdrv.c b/bsps/arm/edb7312/clock/clockdrv.c
similarity index 97%
rename from c/src/lib/libbsp/arm/edb7312/clock/clockdrv.c
rename to bsps/arm/edb7312/clock/clockdrv.c
index 6c8c57691a..26839f35ca 100644
--- a/c/src/lib/libbsp/arm/edb7312/clock/clockdrv.c
+++ b/bsps/arm/edb7312/clock/clockdrv.c
@@ -69,4 +69,4 @@ void Clock_isr(void * arg);
#define CLOCK_DRIVER_USE_DUMMY_TIMECOUNTER
-#include "../../../shared/clockdrv_shell.h"
+#include "../../../shared/dev/clock/clockimpl.h"
diff --git a/c/src/lib/libbsp/arm/gumstix/clock/clock.c b/bsps/arm/gumstix/clock/clock.c
similarity index 97%
rename from c/src/lib/libbsp/arm/gumstix/clock/clock.c
rename to bsps/arm/gumstix/clock/clock.c
index d8e8afb9dd..1fec7b6bcc 100644
--- a/c/src/lib/libbsp/arm/gumstix/clock/clock.c
+++ b/bsps/arm/gumstix/clock/clock.c
@@ -115,4 +115,4 @@ static void Clock_driver_support_initialize_hardware(void)
#define CLOCK_DRIVER_USE_DUMMY_TIMECOUNTER
-#include "../../../../libbsp/shared/clockdrv_shell.h"
+#include "../../../../libbsp/shared/dev/clock/clockimpl.h"
diff --git a/c/src/lib/libbsp/arm/raspberrypi/clock/clockdrv.c b/bsps/arm/raspberrypi/clock/clockdrv.c
similarity index 96%
rename from c/src/lib/libbsp/arm/raspberrypi/clock/clockdrv.c
rename to bsps/arm/raspberrypi/clock/clockdrv.c
index 43ce59e1b4..2f6ec5b142 100644
--- a/c/src/lib/libbsp/arm/raspberrypi/clock/clockdrv.c
+++ b/bsps/arm/raspberrypi/clock/clockdrv.c
@@ -26,7 +26,7 @@
#include <bsp/raspberrypi.h>
#include <rtems/timecounter.h>
-/* This is defined in ../../../shared/clockdrv_shell.h */
+/* This is defined in ../../../shared/dev/clock/clockimpl.h */
void Clock_isr(rtems_irq_hdl_param arg);
static struct timecounter raspberrypi_tc;
@@ -111,4 +111,4 @@ static void raspberrypi_clock_cleanup(void)
#define CLOCK_DRIVER_USE_ONLY_BOOT_PROCESSOR 1
-#include "../../../shared/clockdrv_shell.h"
+#include "../../../shared/dev/clock/clockimpl.h"
diff --git a/c/src/lib/libbsp/arm/rtl22xx/clock/clockdrv.c b/bsps/arm/rtl22xx/clock/clockdrv.c
similarity index 97%
rename from c/src/lib/libbsp/arm/rtl22xx/clock/clockdrv.c
rename to bsps/arm/rtl22xx/clock/clockdrv.c
index 3a0cf0a3a1..fae2344e71 100644
--- a/c/src/lib/libbsp/arm/rtl22xx/clock/clockdrv.c
+++ b/bsps/arm/rtl22xx/clock/clockdrv.c
@@ -77,7 +77,7 @@ rtems_irq_connect_data clock_isr_data = {
.isOn = clock_isr_is_on,
};
-/* use the /shared/clockdrv_shell.h code template */
+/* use the /shared/dev/clock/clockimpl.h code template */
/**
* Installs the clock ISR. You shouldn't need to change this.
@@ -173,5 +173,5 @@ static int clock_isr_is_on(const rtems_irq_connect_data *irq)
#define Clock_driver_timecounter_tick() lpc22xx_tc_tick()
/* Make sure to include this, and only at the end of the file */
-#include "../../../../libbsp/shared/clockdrv_shell.h"
+#include "../../../../libbsp/shared/dev/clock/clockimpl.h"
diff --git a/c/src/lib/libbsp/arm/shared/armv7m/clock/armv7m-clock-config.c b/bsps/arm/shared/clock/clock-armv7m.c
similarity index 97%
rename from c/src/lib/libbsp/arm/shared/armv7m/clock/armv7m-clock-config.c
rename to bsps/arm/shared/clock/clock-armv7m.c
index 1c17a92cb5..1f6902d994 100644
--- a/c/src/lib/libbsp/arm/shared/armv7m/clock/armv7m-clock-config.c
+++ b/bsps/arm/shared/clock/clock-armv7m.c
@@ -20,7 +20,7 @@
#ifdef ARM_MULTILIB_ARCH_V7M
-/* This is defined in clockdrv_shell.h */
+/* This is defined in dev/clock/clockimpl.h */
static void Clock_isr(void *arg);
typedef struct {
@@ -154,6 +154,6 @@ static void _ARMV7M_Systick_cleanup(void)
_ARMV7M_Systick_cleanup()
/* Include shared source clock driver code */
-#include "../../../../shared/clockdrv_shell.h"
+#include "../../../../shared/dev/clock/clockimpl.h"
#endif /* ARM_MULTILIB_ARCH_V7M */
diff --git a/c/src/lib/libbsp/arm/shared/lpc/clock/lpc-clock-config.c b/bsps/arm/shared/clock/clock-nxp-lpc.c
similarity index 96%
rename from c/src/lib/libbsp/arm/shared/lpc/clock/lpc-clock-config.c
rename to bsps/arm/shared/clock/clock-nxp-lpc.c
index b6a6dc9fb2..67b3ac0e25 100644
--- a/c/src/lib/libbsp/arm/shared/lpc/clock/lpc-clock-config.c
+++ b/bsps/arm/shared/clock/clock-nxp-lpc.c
@@ -28,7 +28,7 @@
#ifdef ARM_MULTILIB_ARCH_V4
-/* This is defined in ../../../shared/clockdrv_shell.h */
+/* This is defined in ../../../shared/dev/clock/clockimpl.h */
void Clock_isr(rtems_irq_hdl_param arg);
static volatile lpc_timer *const lpc_clock =
@@ -131,6 +131,6 @@ static void lpc_clock_cleanup(void)
#define Clock_driver_support_shutdown_hardware() lpc_clock_cleanup()
/* Include shared source clock driver code */
-#include "../../../../shared/clockdrv_shell.h"
+#include "../../../../shared/dev/clock/clockimpl.h"
#endif /* ARM_MULTILIB_ARCH_V4 */
diff --git a/c/src/lib/libbsp/arm/smdk2410/clock/clockdrv.c b/bsps/arm/smdk2410/clock/clockdrv.c
similarity index 98%
rename from c/src/lib/libbsp/arm/smdk2410/clock/clockdrv.c
rename to bsps/arm/smdk2410/clock/clockdrv.c
index 41d61909cb..ee18279a99 100644
--- a/c/src/lib/libbsp/arm/smdk2410/clock/clockdrv.c
+++ b/bsps/arm/smdk2410/clock/clockdrv.c
@@ -120,4 +120,4 @@ static int clock_isr_is_on(const rtems_irq_connect_data *irq)
#define CLOCK_DRIVER_USE_DUMMY_TIMECOUNTER
/* Make sure to include this, and only at the end of the file */
-#include "../../../../libbsp/shared/clockdrv_shell.h"
+#include "../../../../libbsp/shared/dev/clock/clockimpl.h"
diff --git a/c/src/lib/libbsp/arm/smdk2410/clock/support.c b/bsps/arm/smdk2410/clock/support.c
similarity index 100%
rename from c/src/lib/libbsp/arm/smdk2410/clock/support.c
rename to bsps/arm/smdk2410/clock/support.c
diff --git a/c/src/lib/libbsp/arm/tms570/clock/clock.c b/bsps/arm/tms570/clock/clock.c
similarity index 99%
rename from c/src/lib/libbsp/arm/tms570/clock/clock.c
rename to bsps/arm/tms570/clock/clock.c
index 091bfda2b6..2c1a54b70e 100644
--- a/c/src/lib/libbsp/arm/tms570/clock/clock.c
+++ b/bsps/arm/tms570/clock/clock.c
@@ -187,4 +187,4 @@ static void tms570_clock_driver_support_shutdown_hardware( void )
void Clock_isr(void *arg); /* to supress warning */
-#include "../../../shared/clockdrv_shell.h"
+#include "../../../shared/dev/clock/clockimpl.h"
diff --git a/c/src/lib/libbsp/i386/pc386/clock/ckinit.c b/bsps/i386/pc386/clock/ckinit.c
similarity index 99%
rename from c/src/lib/libbsp/i386/pc386/clock/ckinit.c
rename to bsps/i386/pc386/clock/ckinit.c
index 2a713a457f..fce267bda7 100644
--- a/c/src/lib/libbsp/i386/pc386/clock/ckinit.c
+++ b/bsps/i386/pc386/clock/ckinit.c
@@ -259,4 +259,4 @@ void Clock_driver_support_initialize_hardware(void)
assert(status == RTEMS_SUCCESSFUL); \
} while (0)
-#include "../../../shared/clockdrv_shell.h"
+#include "../../../shared/dev/clock/clockimpl.h"
diff --git a/c/src/lib/libbsp/i386/pc386/clock/rtc.c b/bsps/i386/pc386/clock/rtc.c
similarity index 100%
rename from c/src/lib/libbsp/i386/pc386/clock/rtc.c
rename to bsps/i386/pc386/clock/rtc.c
diff --git a/c/src/lib/libbsp/i386/pc386/clock/todcfg.c b/bsps/i386/pc386/clock/todcfg.c
similarity index 100%
rename from c/src/lib/libbsp/i386/pc386/clock/todcfg.c
rename to bsps/i386/pc386/clock/todcfg.c
diff --git a/c/src/lib/libbsp/lm32/shared/clock/ckinit.c b/bsps/lm32/shared/clock/ckinit.c
similarity index 97%
rename from c/src/lib/libbsp/lm32/shared/clock/ckinit.c
rename to bsps/lm32/shared/clock/ckinit.c
index fd1c27437c..4d235e744f 100644
--- a/c/src/lib/libbsp/lm32/shared/clock/ckinit.c
+++ b/bsps/lm32/shared/clock/ckinit.c
@@ -74,5 +74,5 @@ static void Clock_driver_support_initialize_hardware(void)
#define CLOCK_DRIVER_USE_DUMMY_TIMECOUNTER
-#include "../../../shared/clockdrv_shell.h"
+#include "../../../shared/dev/clock/clockimpl.h"
diff --git a/c/src/lib/libbsp/lm32/shared/clock/clock.h b/bsps/lm32/shared/clock/clock.h
similarity index 100%
rename from c/src/lib/libbsp/lm32/shared/clock/clock.h
rename to bsps/lm32/shared/clock/clock.h
diff --git a/c/src/lib/libbsp/m68k/av5282/clock/clock.c b/bsps/m68k/av5282/clock/clock.c
similarity index 97%
rename from c/src/lib/libbsp/m68k/av5282/clock/clock.c
rename to bsps/m68k/av5282/clock/clock.c
index eb01e84c21..f6e42f254d 100644
--- a/c/src/lib/libbsp/m68k/av5282/clock/clock.c
+++ b/bsps/m68k/av5282/clock/clock.c
@@ -58,4 +58,4 @@
#define CLOCK_DRIVER_USE_DUMMY_TIMECOUNTER
-#include "../../../shared/clockdrv_shell.h"
+#include "../../../shared/dev/clock/clockimpl.h"
diff --git a/c/src/lib/libbsp/m68k/gen68340/clock/ckinit.c b/bsps/m68k/gen68340/clock/ckinit.c
similarity index 100%
rename from c/src/lib/libbsp/m68k/gen68340/clock/ckinit.c
rename to bsps/m68k/gen68340/clock/ckinit.c
diff --git a/c/src/lib/libbsp/m68k/gen68360/clock/clock.c b/bsps/m68k/gen68360/clock/clock.c
similarity index 98%
rename from c/src/lib/libbsp/m68k/gen68360/clock/clock.c
rename to bsps/m68k/gen68360/clock/clock.c
index 56fd0e19fa..b95ca5d275 100644
--- a/c/src/lib/libbsp/m68k/gen68360/clock/clock.c
+++ b/bsps/m68k/gen68360/clock/clock.c
@@ -98,4 +98,4 @@ extern int m360_clock_rate;
#define CLOCK_DRIVER_USE_DUMMY_TIMECOUNTER
-#include "../../../shared/clockdrv_shell.h"
+#include "../../../shared/dev/clock/clockimpl.h"
diff --git a/c/src/lib/libbsp/m68k/genmcf548x/clock/clock.c b/bsps/m68k/genmcf548x/clock/clock.c
similarity index 98%
rename from c/src/lib/libbsp/m68k/genmcf548x/clock/clock.c
rename to bsps/m68k/genmcf548x/clock/clock.c
index 0b3579e3a0..68b7c5f61b 100644
--- a/c/src/lib/libbsp/m68k/genmcf548x/clock/clock.c
+++ b/bsps/m68k/genmcf548x/clock/clock.c
@@ -98,5 +98,5 @@
#define CLOCK_DRIVER_USE_DUMMY_TIMECOUNTER
-#include "../../../shared/clockdrv_shell.h"
+#include "../../../shared/dev/clock/clockimpl.h"
diff --git a/c/src/lib/libbsp/m68k/mcf52235/clock/clock.c b/bsps/m68k/mcf52235/clock/clock.c
similarity index 97%
rename from c/src/lib/libbsp/m68k/mcf52235/clock/clock.c
rename to bsps/m68k/mcf52235/clock/clock.c
index f29a820d57..a879a770b1 100644
--- a/c/src/lib/libbsp/m68k/mcf52235/clock/clock.c
+++ b/bsps/m68k/mcf52235/clock/clock.c
@@ -103,4 +103,4 @@ static void Clock_driver_support_initialize_hardware(void)
#define Clock_driver_timecounter_tick() mcf52235_tc_tick()
-#include "../../../shared/clockdrv_shell.h"
+#include "../../../shared/dev/clock/clockimpl.h"
diff --git a/c/src/lib/libbsp/m68k/mcf5225x/clock/clock.c b/bsps/m68k/mcf5225x/clock/clock.c
similarity index 97%
rename from c/src/lib/libbsp/m68k/mcf5225x/clock/clock.c
rename to bsps/m68k/mcf5225x/clock/clock.c
index 88234f0a3d..b01c37aef7 100644
--- a/c/src/lib/libbsp/m68k/mcf5225x/clock/clock.c
+++ b/bsps/m68k/mcf5225x/clock/clock.c
@@ -103,4 +103,4 @@ static void Clock_driver_support_initialize_hardware(void)
#define Clock_driver_timecounter_tick() mcf5225x_tc_tick()
-#include "../../../shared/clockdrv_shell.h"
+#include "../../../shared/dev/clock/clockimpl.h"
diff --git a/c/src/lib/libbsp/m68k/mcf5235/clock/clock.c b/bsps/m68k/mcf5235/clock/clock.c
similarity index 97%
rename from c/src/lib/libbsp/m68k/mcf5235/clock/clock.c
rename to bsps/m68k/mcf5235/clock/clock.c
index 9664fddb6f..db3a5850fb 100644
--- a/c/src/lib/libbsp/m68k/mcf5235/clock/clock.c
+++ b/bsps/m68k/mcf5235/clock/clock.c
@@ -58,4 +58,4 @@
#define CLOCK_DRIVER_USE_DUMMY_TIMECOUNTER
-#include "../../../shared/clockdrv_shell.h"
+#include "../../../shared/dev/clock/clockimpl.h"
diff --git a/c/src/lib/libbsp/m68k/mcf5329/clock/clock.c b/bsps/m68k/mcf5329/clock/clock.c
similarity index 97%
rename from c/src/lib/libbsp/m68k/mcf5329/clock/clock.c
rename to bsps/m68k/mcf5329/clock/clock.c
index f924499ed4..5638238921 100644
--- a/c/src/lib/libbsp/m68k/mcf5329/clock/clock.c
+++ b/bsps/m68k/mcf5329/clock/clock.c
@@ -102,4 +102,4 @@ static void Clock_driver_support_initialize_hardware(void)
#define Clock_driver_timecounter_tick() mcf5329_tc_tick()
-#include "../../../shared/clockdrv_shell.h"
+#include "../../../shared/dev/clock/clockimpl.h"
diff --git a/c/src/lib/libbsp/m68k/mrm332/clock/ckinit.c b/bsps/m68k/mrm332/clock/ckinit.c
similarity index 100%
rename from c/src/lib/libbsp/m68k/mrm332/clock/ckinit.c
rename to bsps/m68k/mrm332/clock/ckinit.c
diff --git a/c/src/lib/libbsp/m68k/mvme147/clock/ckinit.c b/bsps/m68k/mvme147/clock/ckinit.c
similarity index 100%
rename from c/src/lib/libbsp/m68k/mvme147/clock/ckinit.c
rename to bsps/m68k/mvme147/clock/ckinit.c
diff --git a/c/src/lib/libbsp/m68k/mvme162/clock/ckinit.c b/bsps/m68k/mvme162/clock/ckinit.c
similarity index 100%
rename from c/src/lib/libbsp/m68k/mvme162/clock/ckinit.c
rename to bsps/m68k/mvme162/clock/ckinit.c
diff --git a/c/src/lib/libbsp/m68k/mvme167/clock/ckinit.c b/bsps/m68k/mvme167/clock/ckinit.c
similarity index 100%
rename from c/src/lib/libbsp/m68k/mvme167/clock/ckinit.c
rename to bsps/m68k/mvme167/clock/ckinit.c
diff --git a/c/src/lib/libbsp/m68k/uC5282/clock/clock.c b/bsps/m68k/uC5282/clock/clock.c
similarity index 99%
rename from c/src/lib/libbsp/m68k/uC5282/clock/clock.c
rename to bsps/m68k/uC5282/clock/clock.c
index 5ec0bc4217..8fffdc0457 100644
--- a/c/src/lib/libbsp/m68k/uC5282/clock/clock.c
+++ b/bsps/m68k/uC5282/clock/clock.c
@@ -158,4 +158,4 @@ int bsp_cpu_load_percentage(void)
#define Clock_driver_timecounter_tick() uC5282_tc_tick()
-#include "../../../shared/clockdrv_shell.h"
+#include "../../../shared/dev/clock/clockimpl.h"
diff --git a/c/src/lib/libbsp/mips/csb350/clock/clockdrv.c b/bsps/mips/csb350/clock/clockdrv.c
similarity index 98%
rename from c/src/lib/libbsp/mips/csb350/clock/clockdrv.c
rename to bsps/mips/csb350/clock/clockdrv.c
index 3534c66997..e42261e529 100644
--- a/c/src/lib/libbsp/mips/csb350/clock/clockdrv.c
+++ b/bsps/mips/csb350/clock/clockdrv.c
@@ -87,4 +87,4 @@ void au1x00_clock_init(void)
#define CLOCK_DRIVER_USE_DUMMY_TIMECOUNTER
-#include "../../../shared/clockdrv_shell.h"
+#include "../../../shared/dev/clock/clockimpl.h"
diff --git a/c/src/lib/libbsp/mips/hurricane/clock/ckinit.c b/bsps/mips/hurricane/clock/ckinit.c
similarity index 100%
rename from c/src/lib/libbsp/mips/hurricane/clock/ckinit.c
rename to bsps/mips/hurricane/clock/ckinit.c
diff --git a/c/src/lib/libbsp/mips/hurricane/clock/clock.S b/bsps/mips/hurricane/clock/clock.S
similarity index 100%
rename from c/src/lib/libbsp/mips/hurricane/clock/clock.S
rename to bsps/mips/hurricane/clock/clock.S
diff --git a/c/src/lib/libbsp/mips/hurricane/clock/clock.h b/bsps/mips/hurricane/clock/clock.h
similarity index 100%
rename from c/src/lib/libbsp/mips/hurricane/clock/clock.h
rename to bsps/mips/hurricane/clock/clock.h
diff --git a/c/src/lib/libbsp/mips/jmr3904/clock/clockdrv.c b/bsps/mips/jmr3904/clock/clockdrv.c
similarity index 96%
rename from c/src/lib/libbsp/mips/jmr3904/clock/clockdrv.c
rename to bsps/mips/jmr3904/clock/clockdrv.c
index 8c3216dfab..e0539f1f3f 100644
--- a/c/src/lib/libbsp/mips/jmr3904/clock/clockdrv.c
+++ b/bsps/mips/jmr3904/clock/clockdrv.c
@@ -47,4 +47,4 @@
#define CLOCK_DRIVER_USE_DUMMY_TIMECOUNTER
-#include "../../../shared/clockdrv_shell.h"
+#include "../../../shared/dev/clock/clockimpl.h"
diff --git a/c/src/lib/libbsp/mips/rbtx4925/clock/clockdrv.c b/bsps/mips/rbtx4925/clock/clockdrv.c
similarity index 99%
rename from c/src/lib/libbsp/mips/rbtx4925/clock/clockdrv.c
rename to bsps/mips/rbtx4925/clock/clockdrv.c
index b10edbaff4..2a3121a58e 100644
--- a/c/src/lib/libbsp/mips/rbtx4925/clock/clockdrv.c
+++ b/bsps/mips/rbtx4925/clock/clockdrv.c
@@ -117,4 +117,4 @@
#define CLOCK_DRIVER_USE_DUMMY_TIMECOUNTER
-#include "../../../shared/clockdrv_shell.h"
+#include "../../../shared/dev/clock/clockimpl.h"
diff --git a/c/src/lib/libbsp/mips/rbtx4938/clock/clockdrv.c b/bsps/mips/rbtx4938/clock/clockdrv.c
similarity index 98%
rename from c/src/lib/libbsp/mips/rbtx4938/clock/clockdrv.c
rename to bsps/mips/rbtx4938/clock/clockdrv.c
index 63f23020d1..616defc91e 100644
--- a/c/src/lib/libbsp/mips/rbtx4938/clock/clockdrv.c
+++ b/bsps/mips/rbtx4938/clock/clockdrv.c
@@ -116,4 +116,4 @@ void new_brk_esr(void)
#define CLOCK_DRIVER_USE_DUMMY_TIMECOUNTER
-#include "../../../shared/clockdrv_shell.h"
+#include "../../../shared/dev/clock/clockimpl.h"
diff --git a/c/src/lib/libbsp/mips/rbtx4938/clock/yamon_api.h b/bsps/mips/rbtx4938/clock/yamon_api.h
similarity index 100%
rename from c/src/lib/libbsp/mips/rbtx4938/clock/yamon_api.h
rename to bsps/mips/rbtx4938/clock/yamon_api.h
diff --git a/c/src/lib/libbsp/mips/shared/clock/clockdrv.c b/bsps/mips/shared/clock/clockdrv.c
similarity index 96%
rename from c/src/lib/libbsp/mips/shared/clock/clockdrv.c
rename to bsps/mips/shared/clock/clockdrv.c
index c4dbdc1fbe..658666c887 100644
--- a/c/src/lib/libbsp/mips/shared/clock/clockdrv.c
+++ b/bsps/mips/shared/clock/clockdrv.c
@@ -46,4 +46,4 @@ static uint32_t mips_timer_rate = 0;
#define CLOCK_DRIVER_USE_DUMMY_TIMECOUNTER
-#include "../../../shared/clockdrv_shell.h"
+#include "../../../shared/dev/clock/clockimpl.h"
diff --git a/c/src/lib/libbsp/mips/shared/clock/mips_timer.S b/bsps/mips/shared/clock/mips_timer.S
similarity index 100%
rename from c/src/lib/libbsp/mips/shared/clock/mips_timer.S
rename to bsps/mips/shared/clock/mips_timer.S
diff --git a/c/src/lib/libbsp/nios2/nios2_iss/clock/clock.c b/bsps/nios2/nios2_iss/clock/clock.c
similarity index 96%
rename from c/src/lib/libbsp/nios2/nios2_iss/clock/clock.c
rename to bsps/nios2/nios2_iss/clock/clock.c
index 80d91fe4f3..0ec0a71c71 100644
--- a/c/src/lib/libbsp/nios2/nios2_iss/clock/clock.c
+++ b/bsps/nios2/nios2_iss/clock/clock.c
@@ -51,5 +51,5 @@ static void Clock_driver_support_initialize_hardware(void)
#define CLOCK_DRIVER_USE_DUMMY_TIMECOUNTER
-#include "../../../shared/clockdrv_shell.h"
+#include "../../../shared/dev/clock/clockimpl.h"
diff --git a/c/src/lib/libbsp/no_cpu/no_bsp/clock/ckinit.c b/bsps/no_cpu/no_bsp/clock/ckinit.c
similarity index 97%
rename from c/src/lib/libbsp/no_cpu/no_bsp/clock/ckinit.c
rename to bsps/no_cpu/no_bsp/clock/ckinit.c
index fbfe541e27..eb0867a895 100644
--- a/c/src/lib/libbsp/no_cpu/no_bsp/clock/ckinit.c
+++ b/bsps/no_cpu/no_bsp/clock/ckinit.c
@@ -1,7 +1,7 @@
/*
* This file provides a template for the clock device driver initialization.
*
- * If possible, please use the clockdrv_shell.h method for instantiating
+ * If possible, please use the dev/clock/clockimpl.h method for instantiating
* a clock driver.
*/
diff --git a/c/src/lib/libbsp/or1k/generic_or1k/clock/clockdrv.c b/bsps/or1k/generic_or1k/clock/clockdrv.c
similarity index 98%
rename from c/src/lib/libbsp/or1k/generic_or1k/clock/clockdrv.c
rename to bsps/or1k/generic_or1k/clock/clockdrv.c
index 212737b506..569421da6f 100644
--- a/c/src/lib/libbsp/or1k/generic_or1k/clock/clockdrv.c
+++ b/bsps/or1k/generic_or1k/clock/clockdrv.c
@@ -144,4 +144,4 @@ CPU_Counter_ticks _CPU_Counter_difference(
#define Clock_driver_support_shutdown_hardware() generic_or1k_clock_cleanup()
-#include "../../../shared/clockdrv_shell.h"
+#include "../../../shared/dev/clock/clockimpl.h"
diff --git a/c/src/lib/libbsp/powerpc/mpc55xxevb/clock/clock-config.c b/bsps/powerpc/mpc55xxevb/clock/clock-config.c
similarity index 99%
rename from c/src/lib/libbsp/powerpc/mpc55xxevb/clock/clock-config.c
rename to bsps/powerpc/mpc55xxevb/clock/clock-config.c
index c712d80745..b337845f7e 100644
--- a/c/src/lib/libbsp/powerpc/mpc55xxevb/clock/clock-config.c
+++ b/bsps/powerpc/mpc55xxevb/clock/clock-config.c
@@ -254,4 +254,4 @@ static void mpc55xx_clock_cleanup(void)
mpc55xx_clock_cleanup()
/* Include shared source clock driver code */
-#include "../../../../libbsp/shared/clockdrv_shell.h"
+#include "../../../../libbsp/shared/dev/clock/clockimpl.h"
diff --git a/c/src/lib/libbsp/powerpc/mpc8260ads/clock/p_clock.c b/bsps/powerpc/mpc8260ads/clock/p_clock.c
similarity index 100%
rename from c/src/lib/libbsp/powerpc/mpc8260ads/clock/p_clock.c
rename to bsps/powerpc/mpc8260ads/clock/p_clock.c
diff --git a/c/src/lib/libbsp/powerpc/qoriq/clock/clock-config.c b/bsps/powerpc/qoriq/clock/clock-config.c
similarity index 97%
rename from c/src/lib/libbsp/powerpc/qoriq/clock/clock-config.c
rename to bsps/powerpc/qoriq/clock/clock-config.c
index 82d8b8c57f..335b1564ab 100644
--- a/c/src/lib/libbsp/powerpc/qoriq/clock/clock-config.c
+++ b/bsps/powerpc/qoriq/clock/clock-config.c
@@ -28,7 +28,7 @@
#include <bsp/qoriq.h>
#include <bsp/irq.h>
-/* This is defined in clockdrv_shell.h */
+/* This is defined in dev/clock/clockimpl.h */
static rtems_isr Clock_isr(void *arg);
static struct timecounter qoriq_clock_tc;
@@ -175,4 +175,4 @@ static void qoriq_clock_cleanup(void)
qoriq_clock_initialize()
/* Include shared source clock driver code */
-#include "../../../shared/clockdrv_shell.h"
+#include "../../../shared/dev/clock/clockimpl.h"
diff --git a/c/src/lib/libbsp/powerpc/shared/clock/clock.c b/bsps/powerpc/shared/clock/clock.c
similarity index 100%
rename from c/src/lib/libbsp/powerpc/shared/clock/clock.c
rename to bsps/powerpc/shared/clock/clock.c
diff --git a/c/src/lib/libbsp/powerpc/shared/clock/p_clock.c b/bsps/powerpc/shared/clock/p_clock.c
similarity index 100%
rename from c/src/lib/libbsp/powerpc/shared/clock/p_clock.c
rename to bsps/powerpc/shared/clock/p_clock.c
diff --git a/c/src/lib/libbsp/powerpc/ss555/clock/p_clock.c b/bsps/powerpc/ss555/clock/p_clock.c
similarity index 100%
rename from c/src/lib/libbsp/powerpc/ss555/clock/p_clock.c
rename to bsps/powerpc/ss555/clock/p_clock.c
diff --git a/c/src/lib/libbsp/powerpc/t32mppc/clock/clock-config.c b/bsps/powerpc/t32mppc/clock/clock-config.c
similarity index 94%
rename from c/src/lib/libbsp/powerpc/t32mppc/clock/clock-config.c
rename to bsps/powerpc/t32mppc/clock/clock-config.c
index 7cdc37b24f..799de19a6b 100644
--- a/c/src/lib/libbsp/powerpc/t32mppc/clock/clock-config.c
+++ b/bsps/powerpc/t32mppc/clock/clock-config.c
@@ -19,7 +19,7 @@
#include <bsp.h>
#include <bsp/irq.h>
-/* This is defined in clockdrv_shell.h */
+/* This is defined in dev/clock/clockimpl.h */
static rtems_isr Clock_isr(void *arg);
static struct timecounter t32mppc_clock_tc;
@@ -61,4 +61,4 @@ static void t32mppc_clock_initialize(void)
t32mppc_clock_initialize()
/* Include shared source clock driver code */
-#include "../../../shared/clockdrv_shell.h"
+#include "../../../shared/dev/clock/clockimpl.h"
diff --git a/c/src/lib/libbsp/powerpc/tqm8xx/clock/p_clock.c b/bsps/powerpc/tqm8xx/clock/p_clock.c
similarity index 100%
rename from c/src/lib/libbsp/powerpc/tqm8xx/clock/p_clock.c
rename to bsps/powerpc/tqm8xx/clock/p_clock.c
diff --git a/c/src/lib/libbsp/riscv/riscv_generic/clock/clockdrv.c b/bsps/riscv/riscv_generic/clock/clockdrv.c
similarity index 98%
rename from c/src/lib/libbsp/riscv/riscv_generic/clock/clockdrv.c
rename to bsps/riscv/riscv_generic/clock/clockdrv.c
index 974ada0fd3..8ae50f9657 100644
--- a/c/src/lib/libbsp/riscv/riscv_generic/clock/clockdrv.c
+++ b/bsps/riscv/riscv_generic/clock/clockdrv.c
@@ -128,4 +128,4 @@ CPU_Counter_ticks _CPU_Counter_difference(
#define Clock_driver_support_shutdown_hardware() riscv_generic_clock_cleanup()
-#include "../../../shared/clockdrv_shell.h"
+#include "../../../shared/dev/clock/clockimpl.h"
diff --git a/c/src/lib/libbsp/sh/gensh1/clock/ckinit.c b/bsps/sh/gensh1/clock/ckinit.c
similarity index 100%
rename from c/src/lib/libbsp/sh/gensh1/clock/ckinit.c
rename to bsps/sh/gensh1/clock/ckinit.c
diff --git a/c/src/lib/libbsp/sh/gensh1/clock/delay.c b/bsps/sh/gensh1/clock/delay.c
similarity index 100%
rename from c/src/lib/libbsp/sh/gensh1/clock/delay.c
rename to bsps/sh/gensh1/clock/delay.c
diff --git a/c/src/lib/libbsp/sh/gensh2/clock/ckinit.c b/bsps/sh/gensh2/clock/ckinit.c
similarity index 100%
rename from c/src/lib/libbsp/sh/gensh2/clock/ckinit.c
rename to bsps/sh/gensh2/clock/ckinit.c
diff --git a/c/src/lib/libbsp/sh/gensh4/clock/ckinit.c b/bsps/sh/gensh4/clock/ckinit.c
similarity index 100%
rename from c/src/lib/libbsp/sh/gensh4/clock/ckinit.c
rename to bsps/sh/gensh4/clock/ckinit.c
diff --git a/bsps/shared/dev/clock/clock-simidle.c b/bsps/shared/dev/clock/clock-simidle.c
index 1b1cb6e55a..def406a1df 100644
--- a/bsps/shared/dev/clock/clock-simidle.c
+++ b/bsps/shared/dev/clock/clock-simidle.c
@@ -25,7 +25,7 @@ volatile bool clock_driver_enabled;
#define CLOCK_DRIVER_USE_DUMMY_TIMECOUNTER
-#include "clockdrv_shell.h"
+#include "clockimpl.h"
/*
* If this is defined, then the BSP has defined a delay of some sort so
diff --git a/c/src/lib/libbsp/shared/clockdrv_shell.h b/bsps/shared/dev/clock/clockimpl.h
similarity index 98%
rename from c/src/lib/libbsp/shared/clockdrv_shell.h
rename to bsps/shared/dev/clock/clockimpl.h
index ddc66b049d..6eaa6c94e5 100644
--- a/c/src/lib/libbsp/shared/clockdrv_shell.h
+++ b/bsps/shared/dev/clock/clockimpl.h
@@ -36,7 +36,7 @@
*
*/
#if CLOCK_DRIVER_USE_FAST_IDLE && CLOCK_DRIVER_ISRS_PER_TICK
-#error "clockdrv_shell.h: Fast Idle PLUS n ISRs per tick is not supported"
+#error "Fast Idle PLUS n ISRs per tick is not supported"
#endif
/**
diff --git a/c/src/lib/libbsp/sparc/erc32/clock/ckinit.c b/bsps/sparc/erc32/clock/ckinit.c
similarity index 98%
rename from c/src/lib/libbsp/sparc/erc32/clock/ckinit.c
rename to bsps/sparc/erc32/clock/ckinit.c
index 38542c0a41..7f8c0f5aad 100644
--- a/c/src/lib/libbsp/sparc/erc32/clock/ckinit.c
+++ b/bsps/sparc/erc32/clock/ckinit.c
@@ -126,6 +126,6 @@ static void erc32_counter_initialize( uint32_t frequency )
); \
} while (0)
-#include "../../../shared/clockdrv_shell.h"
+#include "../../../shared/dev/clock/clockimpl.h"
SPARC_COUNTER_DEFINITION;
diff --git a/c/src/lib/libbsp/sparc/leon2/clock/ckinit.c b/bsps/sparc/leon2/clock/ckinit.c
similarity index 98%
rename from c/src/lib/libbsp/sparc/leon2/clock/ckinit.c
rename to bsps/sparc/leon2/clock/ckinit.c
index 84577d4b57..a1dfc12806 100644
--- a/c/src/lib/libbsp/sparc/leon2/clock/ckinit.c
+++ b/bsps/sparc/leon2/clock/ckinit.c
@@ -99,6 +99,6 @@ extern int CLOCK_SPEED;
#define Clock_driver_timecounter_tick() leon2_tc_tick()
-#include "../../../shared/clockdrv_shell.h"
+#include "../../../shared/dev/clock/clockimpl.h"
SPARC_COUNTER_DEFINITION;
diff --git a/c/src/lib/libbsp/sparc/leon3/clock/ckinit.c b/bsps/sparc/leon3/clock/ckinit.c
similarity index 99%
rename from c/src/lib/libbsp/sparc/leon3/clock/ckinit.c
rename to bsps/sparc/leon3/clock/ckinit.c
index fd699a435d..fd194aba21 100644
--- a/c/src/lib/libbsp/sparc/leon3/clock/ckinit.c
+++ b/bsps/sparc/leon3/clock/ckinit.c
@@ -275,6 +275,6 @@ static void leon3_clock_initialize(void)
#define Clock_driver_timecounter_tick() leon3_tc_do_tick()
-#include "../../../shared/clockdrv_shell.h"
+#include "../../../shared/dev/clock/clockimpl.h"
#endif
diff --git a/c/src/lib/libbsp/sparc64/shared/clock/ckinit.c b/bsps/sparc64/shared/clock/ckinit.c
similarity index 98%
rename from c/src/lib/libbsp/sparc64/shared/clock/ckinit.c
rename to bsps/sparc64/shared/clock/ckinit.c
index c014a73b9e..6a82806b31 100644
--- a/c/src/lib/libbsp/sparc64/shared/clock/ckinit.c
+++ b/bsps/sparc64/shared/clock/ckinit.c
@@ -118,5 +118,5 @@ static void Clock_driver_support_initialize_hardware(void)
#define CLOCK_DRIVER_USE_DUMMY_TIMECOUNTER
-#include "../../../shared/clockdrv_shell.h"
+#include "../../../shared/dev/clock/clockimpl.h"
diff --git a/c/src/lib/libbsp/arm/atsam/Makefile.am b/c/src/lib/libbsp/arm/atsam/Makefile.am
index e875c31a81..69e1c002dc 100644
--- a/c/src/lib/libbsp/arm/atsam/Makefile.am
+++ b/c/src/lib/libbsp/arm/atsam/Makefile.am
@@ -118,8 +118,8 @@ librtemsbsp_a_SOURCES += console/console.c
librtemsbsp_a_SOURCES += console/debug-console.c
# Clock
-librtemsbsp_a_SOURCES += ../shared/armv7m/clock/armv7m-clock-config.c
-librtemsbsp_a_SOURCES += clock/systick-freq.c
+librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/shared/clock/clock-armv7m.c
+librtemsbsp_a_SOURCES +=../../../../../../bsps/arm/atsam/clock/systick-freq.c
# Timer
librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/dev/btimer/btimer-stub.c
diff --git a/c/src/lib/libbsp/arm/beagle/clock.c b/c/src/lib/libbsp/arm/beagle/clock.c
index ec35f1505e..d8b2062e80 100644
--- a/c/src/lib/libbsp/arm/beagle/clock.c
+++ b/c/src/lib/libbsp/arm/beagle/clock.c
@@ -320,4 +320,4 @@ static void beagle_clock_cleanup(void)
#define Clock_driver_support_shutdown_hardware() beagle_clock_cleanup()
/* Include shared source clock driver code */
-#include "../../shared/clockdrv_shell.h"
+#include "../../shared/dev/clock/clockimpl.h"
diff --git a/c/src/lib/libbsp/arm/csb336/Makefile.am b/c/src/lib/libbsp/arm/csb336/Makefile.am
index 9c4ae609fe..04deee4f90 100644
--- a/c/src/lib/libbsp/arm/csb336/Makefile.am
+++ b/c/src/lib/libbsp/arm/csb336/Makefile.am
@@ -27,7 +27,7 @@ librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/dev/getentropy/getentropy
librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/sbrk.c
librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/dev/cpucounter/cpucounterread.c
librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/dev/cpucounter/cpucounterdiff.c
-librtemsbsp_a_SOURCES += clock/clockdrv.c
+librtemsbsp_a_SOURCES +=../../../../../../bsps/arm/csb336/clock/clockdrv.c
librtemsbsp_a_SOURCES += timer/timer.c
# console
librtemsbsp_a_SOURCES += console/uart.c
diff --git a/c/src/lib/libbsp/arm/csb337/Makefile.am b/c/src/lib/libbsp/arm/csb337/Makefile.am
index fcf4774221..23a87975bb 100644
--- a/c/src/lib/libbsp/arm/csb337/Makefile.am
+++ b/c/src/lib/libbsp/arm/csb337/Makefile.am
@@ -37,7 +37,7 @@ librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/dev/getentropy/getentropy
librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/dev/cpucounter/cpucounterread.c
librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/dev/cpucounter/cpucounterdiff.c
librtemsbsp_a_SOURCES += startup/pmc.c
-librtemsbsp_a_SOURCES += clock/clock.c
+librtemsbsp_a_SOURCES +=../../../../../../bsps/arm/csb337/clock/clock.c
librtemsbsp_a_SOURCES += timer/timer.c
# console
librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/dev/serial/legacy-console.c
diff --git a/c/src/lib/libbsp/arm/edb7312/Makefile.am b/c/src/lib/libbsp/arm/edb7312/Makefile.am
index 4aafdd2c63..612afe1f99 100644
--- a/c/src/lib/libbsp/arm/edb7312/Makefile.am
+++ b/c/src/lib/libbsp/arm/edb7312/Makefile.am
@@ -27,7 +27,7 @@ librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/dev/cpucounter/cpucounter
librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/dev/cpucounter/cpucounterdiff.c
# clock
-librtemsbsp_a_SOURCES += clock/clockdrv.c
+librtemsbsp_a_SOURCES +=../../../../../../bsps/arm/edb7312/clock/clockdrv.c
# console
librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/dev/serial/legacy-console.c
librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/dev/serial/legacy-console-control.c
diff --git a/c/src/lib/libbsp/arm/gumstix/Makefile.am b/c/src/lib/libbsp/arm/gumstix/Makefile.am
index 8f9b9c8d97..ec5d8c910e 100644
--- a/c/src/lib/libbsp/arm/gumstix/Makefile.am
+++ b/c/src/lib/libbsp/arm/gumstix/Makefile.am
@@ -26,7 +26,7 @@ librtemsbsp_a_SOURCES += startup/bspreset.c
librtemsbsp_a_SOURCES += startup/memmap.c
librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/dev/cpucounter/cpucounterread.c
librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/dev/cpucounter/cpucounterdiff.c
-librtemsbsp_a_SOURCES += clock/clock.c
+librtemsbsp_a_SOURCES +=../../../../../../bsps/arm/gumstix/clock/clock.c
librtemsbsp_a_SOURCES += timer/timer.c
#console
diff --git a/c/src/lib/libbsp/arm/lm3s69xx/Makefile.am b/c/src/lib/libbsp/arm/lm3s69xx/Makefile.am
index d2f4d69249..31ee769f16 100644
--- a/c/src/lib/libbsp/arm/lm3s69xx/Makefile.am
+++ b/c/src/lib/libbsp/arm/lm3s69xx/Makefile.am
@@ -60,7 +60,7 @@ librtemsbsp_a_SOURCES += console/console-config.c
librtemsbsp_a_SOURCES += console/uart.c
# Clock
-librtemsbsp_a_SOURCES += ../shared/armv7m/clock/armv7m-clock-config.c
+librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/shared/clock/clock-armv7m.c
# Timer
librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/dev/btimer/btimer-stub.c
diff --git a/c/src/lib/libbsp/arm/lpc176x/Makefile.am b/c/src/lib/libbsp/arm/lpc176x/Makefile.am
index 618d22f9f3..cebcce9473 100644
--- a/c/src/lib/libbsp/arm/lpc176x/Makefile.am
+++ b/c/src/lib/libbsp/arm/lpc176x/Makefile.am
@@ -64,8 +64,8 @@ librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/dev/serial/console-termio
librtemsbsp_a_SOURCES += console/console-config.c
# Clock
-librtemsbsp_a_SOURCES += ../shared/lpc/clock/lpc-clock-config.c
-librtemsbsp_a_SOURCES += ../shared/armv7m/clock/armv7m-clock-config.c
+librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/shared/clock/clock-nxp-lpc.c
+librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/shared/clock/clock-armv7m.c
# RTC
librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/dev/rtc/rtc-support.c
diff --git a/c/src/lib/libbsp/arm/lpc24xx/Makefile.am b/c/src/lib/libbsp/arm/lpc24xx/Makefile.am
index 928be1f86d..2238308fb9 100644
--- a/c/src/lib/libbsp/arm/lpc24xx/Makefile.am
+++ b/c/src/lib/libbsp/arm/lpc24xx/Makefile.am
@@ -79,8 +79,8 @@ librtemsbsp_a_SOURCES += console/uart-probe-2.c
librtemsbsp_a_SOURCES += console/uart-probe-3.c
# Clock
-librtemsbsp_a_SOURCES += ../shared/lpc/clock/lpc-clock-config.c
-librtemsbsp_a_SOURCES += ../shared/armv7m/clock/armv7m-clock-config.c
+librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/shared/clock/clock-nxp-lpc.c
+librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/shared/clock/clock-armv7m.c
# RTC
librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/dev/rtc/rtc-support.c
diff --git a/c/src/lib/libbsp/arm/lpc32xx/Makefile.am b/c/src/lib/libbsp/arm/lpc32xx/Makefile.am
index 1ca565ae96..a76bf8f8ca 100644
--- a/c/src/lib/libbsp/arm/lpc32xx/Makefile.am
+++ b/c/src/lib/libbsp/arm/lpc32xx/Makefile.am
@@ -65,7 +65,7 @@ librtemsbsp_a_SOURCES += console/console-config.c
librtemsbsp_a_SOURCES += console/hsu.c
# Clock
-librtemsbsp_a_SOURCES += ../shared/lpc/clock/lpc-clock-config.c
+librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/shared/clock/clock-nxp-lpc.c
# RTC
librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/dev/rtc/rtc-support.c
diff --git a/c/src/lib/libbsp/arm/raspberrypi/Makefile.am b/c/src/lib/libbsp/arm/raspberrypi/Makefile.am
index 38d9d666cd..58cfe1f237 100644
--- a/c/src/lib/libbsp/arm/raspberrypi/Makefile.am
+++ b/c/src/lib/libbsp/arm/raspberrypi/Makefile.am
@@ -82,7 +82,7 @@ librtemsbsp_a_SOURCES += misc/mailbox.c
librtemsbsp_a_SOURCES += misc/vc.c
# clock
-librtemsbsp_a_SOURCES += clock/clockdrv.c
+librtemsbsp_a_SOURCES +=../../../../../../bsps/arm/raspberrypi/clock/clockdrv.c
# Timer
librtemsbsp_a_SOURCES += misc/timer.c
diff --git a/c/src/lib/libbsp/arm/rtl22xx/Makefile.am b/c/src/lib/libbsp/arm/rtl22xx/Makefile.am
index ee4fdf0230..da8ef3aef1 100644
--- a/c/src/lib/libbsp/arm/rtl22xx/Makefile.am
+++ b/c/src/lib/libbsp/arm/rtl22xx/Makefile.am
@@ -28,7 +28,7 @@ librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/dev/getentropy/getentropy
librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/dev/cpucounter/cpucounterread.c
librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/dev/cpucounter/cpucounterdiff.c
librtemsbsp_a_SOURCES += timer/timer.c
-librtemsbsp_a_SOURCES += clock/clockdrv.c
+librtemsbsp_a_SOURCES +=../../../../../../bsps/arm/rtl22xx/clock/clockdrv.c
# console
librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/dev/serial/legacy-console.c
librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/dev/serial/legacy-console-control.c
diff --git a/c/src/lib/libbsp/arm/shared/arm-a9mpcore-clock-config.c b/c/src/lib/libbsp/arm/shared/arm-a9mpcore-clock-config.c
index 09516b4905..f9b2d08c9b 100644
--- a/c/src/lib/libbsp/arm/shared/arm-a9mpcore-clock-config.c
+++ b/c/src/lib/libbsp/arm/shared/arm-a9mpcore-clock-config.c
@@ -25,7 +25,7 @@
static struct timecounter a9mpcore_tc;
-/* This is defined in clockdrv_shell.h */
+/* This is defined in dev/clock/clockimpl.h */
void Clock_isr(rtems_irq_hdl_param arg);
__attribute__ ((weak)) uint32_t a9mpcore_clock_periphclk(void)
@@ -209,4 +209,4 @@ static void a9mpcore_clock_cleanup(void)
a9mpcore_clock_cleanup()
/* Include shared source clock driver code */
-#include "../../shared/clockdrv_shell.h"
+#include "../../shared/dev/clock/clockimpl.h"
diff --git a/c/src/lib/libbsp/arm/shared/arm-generic-timer-clock-config.c b/c/src/lib/libbsp/arm/shared/arm-generic-timer-clock-config.c
index 21ba3f1e97..8a992d44f4 100644
--- a/c/src/lib/libbsp/arm/shared/arm-generic-timer-clock-config.c
+++ b/c/src/lib/libbsp/arm/shared/arm-generic-timer-clock-config.c
@@ -42,7 +42,7 @@ typedef struct {
static arm_gt_clock_context arm_gt_clock_instance;
-/* This is defined in clockdrv_shell.h */
+/* This is defined in dev/clock/clockimpl.h */
void Clock_isr(rtems_irq_hdl_param arg);
static inline uint64_t arm_gt_clock_get_compare_value(void)
@@ -199,4 +199,4 @@ RTEMS_SYSINIT_ITEM(
arm_gt_clock_handler_install()
/* Include shared source clock driver code */
-#include "../../shared/clockdrv_shell.h"
+#include "../../shared/dev/clock/clockimpl.h"
diff --git a/c/src/lib/libbsp/arm/smdk2410/Makefile.am b/c/src/lib/libbsp/arm/smdk2410/Makefile.am
index 326cf4c521..a9c43789f4 100644
--- a/c/src/lib/libbsp/arm/smdk2410/Makefile.am
+++ b/c/src/lib/libbsp/arm/smdk2410/Makefile.am
@@ -28,8 +28,8 @@ librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/bspgetworkarea-defa
librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/dev/cpucounter/cpucounterread.c
librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/dev/cpucounter/cpucounterdiff.c
librtemsbsp_a_SOURCES += timer/timer.c
-librtemsbsp_a_SOURCES += clock/clockdrv.c
-librtemsbsp_a_SOURCES += clock/support.c
+librtemsbsp_a_SOURCES +=../../../../../../bsps/arm/smdk2410/clock/clockdrv.c
+librtemsbsp_a_SOURCES +=../../../../../../bsps/arm/smdk2410/clock/support.c
# console
librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/dev/serial/legacy-console.c
librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/dev/serial/legacy-console-control.c
diff --git a/c/src/lib/libbsp/arm/stm32f4/Makefile.am b/c/src/lib/libbsp/arm/stm32f4/Makefile.am
index 6201008593..640cb59adf 100644
--- a/c/src/lib/libbsp/arm/stm32f4/Makefile.am
+++ b/c/src/lib/libbsp/arm/stm32f4/Makefile.am
@@ -64,7 +64,7 @@ librtemsbsp_a_SOURCES += i2c/i2c.c
librtemsbsp_a_SOURCES += i2c/i2c-config.c
# Clock
-librtemsbsp_a_SOURCES += ../shared/armv7m/clock/armv7m-clock-config.c
+librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/shared/clock/clock-armv7m.c
# Timer
librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/dev/btimer/btimer-stub.c
diff --git a/c/src/lib/libbsp/arm/tms570/Makefile.am b/c/src/lib/libbsp/arm/tms570/Makefile.am
index 920fb7fd1c..b9bb805b83 100644
--- a/c/src/lib/libbsp/arm/tms570/Makefile.am
+++ b/c/src/lib/libbsp/arm/tms570/Makefile.am
@@ -67,7 +67,7 @@ librtemsbsp_a_SOURCES += console/printk-support.c
librtemsbsp_a_SOURCES += console/tms570-sci.c
# Clock
-librtemsbsp_a_SOURCES += clock/clock.c
+librtemsbsp_a_SOURCES +=../../../../../../bsps/arm/tms570/clock/clock.c
# RTC
diff --git a/c/src/lib/libbsp/i386/pc386/Makefile.am b/c/src/lib/libbsp/i386/pc386/Makefile.am
index 58fcf44983..37a7203ea6 100644
--- a/c/src/lib/libbsp/i386/pc386/Makefile.am
+++ b/c/src/lib/libbsp/i386/pc386/Makefile.am
@@ -48,8 +48,8 @@ project_lib_LIBRARIES = librtemsbsp.a
librtemsbsp_a_SOURCES =
# clock
-librtemsbsp_a_SOURCES += clock/ckinit.c
-librtemsbsp_a_SOURCES += clock/todcfg.c
+librtemsbsp_a_SOURCES +=../../../../../../bsps/i386/pc386/clock/ckinit.c
+librtemsbsp_a_SOURCES +=../../../../../../bsps/i386/pc386/clock/todcfg.c
librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/dev/rtc/rtc-support.c
if RTEMS_VGA
diff --git a/c/src/lib/libbsp/lm32/lm32_evr/Makefile.am b/c/src/lib/libbsp/lm32/lm32_evr/Makefile.am
index f0b47d8415..20102dac31 100644
--- a/c/src/lib/libbsp/lm32/lm32_evr/Makefile.am
+++ b/c/src/lib/libbsp/lm32/lm32_evr/Makefile.am
@@ -28,7 +28,7 @@ librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/sbrk.c
librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/setvec.c
librtemsbsp_a_SOURCES += ../shared/startup/bspreset.c
# clock
-librtemsbsp_a_SOURCES += ../shared/clock/ckinit.c
+librtemsbsp_a_SOURCES +=../../../../../../bsps/lm32/shared/clock/ckinit.c
# console
librtemsbsp_a_SOURCES += ../shared/console/console.c
librtemsbsp_a_SOURCES += ../shared/console/uart.c
diff --git a/c/src/lib/libbsp/lm32/shared/milkymist_clock/ckinit.c b/c/src/lib/libbsp/lm32/shared/milkymist_clock/ckinit.c
index bc9821d1bc..c138309982 100644
--- a/c/src/lib/libbsp/lm32/shared/milkymist_clock/ckinit.c
+++ b/c/src/lib/libbsp/lm32/shared/milkymist_clock/ckinit.c
@@ -49,4 +49,4 @@ static void Clock_driver_support_initialize_hardware(void)
#define CLOCK_DRIVER_USE_DUMMY_TIMECOUNTER
-#include "../../../shared/clockdrv_shell.h"
+#include "../../../shared/dev/clock/clockimpl.h"
diff --git a/c/src/lib/libbsp/m68k/av5282/Makefile.am b/c/src/lib/libbsp/m68k/av5282/Makefile.am
index 8acc2041d7..c96fe93459 100644
--- a/c/src/lib/libbsp/m68k/av5282/Makefile.am
+++ b/c/src/lib/libbsp/m68k/av5282/Makefile.am
@@ -27,7 +27,7 @@ librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/dev/getentropy/getentropy
librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/sbrk.c
librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/setvec.c
# clock
-librtemsbsp_a_SOURCES += clock/clock.c
+librtemsbsp_a_SOURCES +=../../../../../../bsps/m68k/av5282/clock/clock.c
# console
librtemsbsp_a_SOURCES += console/console.c
# timer
diff --git a/c/src/lib/libbsp/m68k/gen68340/Makefile.am b/c/src/lib/libbsp/m68k/gen68340/Makefile.am
index f1ae752a40..700c6e28a8 100644
--- a/c/src/lib/libbsp/m68k/gen68340/Makefile.am
+++ b/c/src/lib/libbsp/m68k/gen68340/Makefile.am
@@ -28,7 +28,7 @@ librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/setvec.c
librtemsbsp_a_SOURCES += startup/dumpanic.c
librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/bspreset-empty.c
# clock
-librtemsbsp_a_SOURCES += clock/ckinit.c
+librtemsbsp_a_SOURCES +=../../../../../../bsps/m68k/gen68340/clock/ckinit.c
# console
librtemsbsp_a_SOURCES += console/console.c
librtemsbsp_a_SOURCES += console/m340uart.c
diff --git a/c/src/lib/libbsp/m68k/gen68360/Makefile.am b/c/src/lib/libbsp/m68k/gen68360/Makefile.am
index 89e1320a0f..b03f082b7c 100644
--- a/c/src/lib/libbsp/m68k/gen68360/Makefile.am
+++ b/c/src/lib/libbsp/m68k/gen68360/Makefile.am
@@ -30,7 +30,7 @@ librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/sbrk.c
librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/setvec.c
librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/bspreset-empty.c
# clock
-librtemsbsp_a_SOURCES += clock/clock.c
+librtemsbsp_a_SOURCES +=../../../../../../bsps/m68k/gen68360/clock/clock.c
# console
librtemsbsp_a_SOURCES += console/console.c
librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/dev/serial/printk-dummy.c
diff --git a/c/src/lib/libbsp/m68k/genmcf548x/Makefile.am b/c/src/lib/libbsp/m68k/genmcf548x/Makefile.am
index e83000517f..a20f56ad89 100644
--- a/c/src/lib/libbsp/m68k/genmcf548x/Makefile.am
+++ b/c/src/lib/libbsp/m68k/genmcf548x/Makefile.am
@@ -31,7 +31,7 @@ librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/sbrk.c
librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/setvec.c
librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/dev/getentropy/getentropy-cpucounter.c
# clock
-librtemsbsp_a_SOURCES += clock/clock.c
+librtemsbsp_a_SOURCES +=../../../../../../bsps/m68k/genmcf548x/clock/clock.c
# console
librtemsbsp_a_SOURCES += console/console.c
# timer
diff --git a/c/src/lib/libbsp/m68k/mcf52235/Makefile.am b/c/src/lib/libbsp/m68k/mcf52235/Makefile.am
index 85dd4a4c60..98b8993521 100644
--- a/c/src/lib/libbsp/m68k/mcf52235/Makefile.am
+++ b/c/src/lib/libbsp/m68k/mcf52235/Makefile.am
@@ -29,7 +29,7 @@ librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/dev/getentropy/getentropy
librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/sbrk.c
librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/setvec.c
# clock
-librtemsbsp_a_SOURCES += clock/clock.c
+librtemsbsp_a_SOURCES +=../../../../../../bsps/m68k/mcf52235/clock/clock.c
# console
librtemsbsp_a_SOURCES += console/console.c
# debugio
diff --git a/c/src/lib/libbsp/m68k/mcf5225x/Makefile.am b/c/src/lib/libbsp/m68k/mcf5225x/Makefile.am
index d069c37725..99b996c1f4 100644
--- a/c/src/lib/libbsp/m68k/mcf5225x/Makefile.am
+++ b/c/src/lib/libbsp/m68k/mcf5225x/Makefile.am
@@ -23,7 +23,7 @@ librtemsbsp_a_SOURCES += startup/bspstart.c
librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/dev/getentropy/getentropy-cpucounter.c
librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/sbrk.c
librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/setvec.c
-librtemsbsp_a_SOURCES += clock/clock.c
+librtemsbsp_a_SOURCES +=../../../../../../bsps/m68k/mcf5225x/clock/clock.c
librtemsbsp_a_SOURCES += console/console.c
librtemsbsp_a_SOURCES += console/debugio.c
librtemsbsp_a_SOURCES += timer/timer.c
diff --git a/c/src/lib/libbsp/m68k/mcf5235/Makefile.am b/c/src/lib/libbsp/m68k/mcf5235/Makefile.am
index 425178f162..c4caf60792 100644
--- a/c/src/lib/libbsp/m68k/mcf5235/Makefile.am
+++ b/c/src/lib/libbsp/m68k/mcf5235/Makefile.am
@@ -31,7 +31,7 @@ librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/setvec.c
librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/dev/getentropy/getentropy-cpucounter.c
librtemsbsp_a_SOURCES += startup/copyvectors.c
# clock
-librtemsbsp_a_SOURCES += clock/clock.c
+librtemsbsp_a_SOURCES +=../../../../../../bsps/m68k/mcf5235/clock/clock.c
# console
librtemsbsp_a_SOURCES += console/console.c
# timer
diff --git a/c/src/lib/libbsp/m68k/mcf5329/Makefile.am b/c/src/lib/libbsp/m68k/mcf5329/Makefile.am
index 56a0a545a7..5a82f8849f 100644
--- a/c/src/lib/libbsp/m68k/mcf5329/Makefile.am
+++ b/c/src/lib/libbsp/m68k/mcf5329/Makefile.am
@@ -29,7 +29,7 @@ librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/dev/getentropy/getentropy
librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/sbrk.c
librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/setvec.c
# clock
-librtemsbsp_a_SOURCES += clock/clock.c
+librtemsbsp_a_SOURCES +=../../../../../../bsps/m68k/mcf5329/clock/clock.c
# console
librtemsbsp_a_SOURCES += console/console.c
# timer
diff --git a/c/src/lib/libbsp/m68k/mrm332/Makefile.am b/c/src/lib/libbsp/m68k/mrm332/Makefile.am
index 6bf5360fb7..462628eba3 100644
--- a/c/src/lib/libbsp/m68k/mrm332/Makefile.am
+++ b/c/src/lib/libbsp/m68k/mrm332/Makefile.am
@@ -27,7 +27,7 @@ librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/setvec.c
librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/bspgetworkarea-default.c
librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/bspreset-empty.c
# clock
-librtemsbsp_a_SOURCES += clock/ckinit.c
+librtemsbsp_a_SOURCES +=../../../../../../bsps/m68k/mrm332/clock/ckinit.c
# console
librtemsbsp_a_SOURCES += console/console.c
librtemsbsp_a_SOURCES += console/sci.c
diff --git a/c/src/lib/libbsp/m68k/mvme147/Makefile.am b/c/src/lib/libbsp/m68k/mvme147/Makefile.am
index cff4b359b0..9672276bf7 100644
--- a/c/src/lib/libbsp/m68k/mvme147/Makefile.am
+++ b/c/src/lib/libbsp/m68k/mvme147/Makefile.am
@@ -28,7 +28,7 @@ librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/sbrk.c
librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/setvec.c
librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/bspreset-empty.c
# clock
-librtemsbsp_a_SOURCES += clock/ckinit.c
+librtemsbsp_a_SOURCES +=../../../../../../bsps/m68k/mvme147/clock/ckinit.c
# console
librtemsbsp_a_SOURCES += console/console.c
librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/dev/serial/printk-dummy.c
diff --git a/c/src/lib/libbsp/m68k/mvme147s/Makefile.am b/c/src/lib/libbsp/m68k/mvme147s/Makefile.am
index 574ef84773..f985e5454a 100644
--- a/c/src/lib/libbsp/m68k/mvme147s/Makefile.am
+++ b/c/src/lib/libbsp/m68k/mvme147s/Makefile.am
@@ -29,7 +29,7 @@ librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/setvec.c
librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/sbrk.c
librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/bspreset-empty.c
# clock
-librtemsbsp_a_SOURCES += ../mvme147/clock/ckinit.c
+librtemsbsp_a_SOURCES += ../../../../../../bsps/m68k/mvme147/clock/ckinit.c
# console
librtemsbsp_a_SOURCES += ../mvme147/console/console.c
librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/dev/serial/printk-dummy.c
diff --git a/c/src/lib/libbsp/m68k/mvme162/Makefile.am b/c/src/lib/libbsp/m68k/mvme162/Makefile.am
index 61d284211d..8af4d1d415 100644
--- a/c/src/lib/libbsp/m68k/mvme162/Makefile.am
+++ b/c/src/lib/libbsp/m68k/mvme162/Makefile.am
@@ -29,7 +29,7 @@ librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/sbrk.c
librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/setvec.c
librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/bspreset-empty.c
# clock
-librtemsbsp_a_SOURCES += clock/ckinit.c
+librtemsbsp_a_SOURCES +=../../../../../../bsps/m68k/mvme162/clock/ckinit.c
# console
librtemsbsp_a_SOURCES += console/console.c
# timer
diff --git a/c/src/lib/libbsp/m68k/mvme167/Makefile.am b/c/src/lib/libbsp/m68k/mvme167/Makefile.am
index 72f88a5b14..1632a35b8b 100644
--- a/c/src/lib/libbsp/m68k/mvme167/Makefile.am
+++ b/c/src/lib/libbsp/m68k/mvme167/Makefile.am
@@ -27,7 +27,7 @@ librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/sbrk.c
librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/setvec.c
librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/bspreset-empty.c
# clock
-librtemsbsp_a_SOURCES += clock/ckinit.c
+librtemsbsp_a_SOURCES +=../../../../../../bsps/m68k/mvme167/clock/ckinit.c
# console
librtemsbsp_a_SOURCES += console/console.c
# timer
diff --git a/c/src/lib/libbsp/m68k/uC5282/Makefile.am b/c/src/lib/libbsp/m68k/uC5282/Makefile.am
index 755fe6993f..237e2096c1 100644
--- a/c/src/lib/libbsp/m68k/uC5282/Makefile.am
+++ b/c/src/lib/libbsp/m68k/uC5282/Makefile.am
@@ -27,7 +27,7 @@ librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/dev/getentropy/getentropy
librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/sbrk.c
librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/setvec.c
# clock
-librtemsbsp_a_SOURCES += clock/clock.c
+librtemsbsp_a_SOURCES +=../../../../../../bsps/m68k/uC5282/clock/clock.c
# console
librtemsbsp_a_SOURCES += console/console.c
# timer
diff --git a/c/src/lib/libbsp/mips/csb350/Makefile.am b/c/src/lib/libbsp/mips/csb350/Makefile.am
index 7bb6d0a39e..836784fa41 100644
--- a/c/src/lib/libbsp/mips/csb350/Makefile.am
+++ b/c/src/lib/libbsp/mips/csb350/Makefile.am
@@ -26,7 +26,7 @@ librtemsbsp_a_SOURCES += startup/bspstart.c
librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/dev/getentropy/getentropy-cpucounter.c
librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/sbrk.c
# clock
-librtemsbsp_a_SOURCES += clock/clockdrv.c
+librtemsbsp_a_SOURCES +=../../../../../../bsps/mips/csb350/clock/clockdrv.c
# console
librtemsbsp_a_SOURCES += console/console-io.c
librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/dev/serial/console-polled.c
diff --git a/c/src/lib/libbsp/mips/hurricane/Makefile.am b/c/src/lib/libbsp/mips/hurricane/Makefile.am
index 4c1883de13..f789d0835e 100644
--- a/c/src/lib/libbsp/mips/hurricane/Makefile.am
+++ b/c/src/lib/libbsp/mips/hurricane/Makefile.am
@@ -31,7 +31,7 @@ librtemsbsp_a_SOURCES += ../shared/startup/idttlb.S
librtemsbsp_a_SOURCES += ../shared/irq/exception.S
librtemsbsp_a_SOURCES += startup/usc.S
# clock
-librtemsbsp_a_SOURCES += clock/ckinit.c
+librtemsbsp_a_SOURCES +=../../../../../../bsps/mips/hurricane/clock/ckinit.c
# console
librtemsbsp_a_SOURCES += console/console.c
diff --git a/c/src/lib/libbsp/mips/jmr3904/Makefile.am b/c/src/lib/libbsp/mips/jmr3904/Makefile.am
index ff11c4c5f8..fe4b43238a 100644
--- a/c/src/lib/libbsp/mips/jmr3904/Makefile.am
+++ b/c/src/lib/libbsp/mips/jmr3904/Makefile.am
@@ -25,7 +25,7 @@ librtemsbsp_a_SOURCES += startup/bspstart.c
librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/dev/getentropy/getentropy-cpucounter.c
librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/sbrk.c
# clock
-librtemsbsp_a_SOURCES += clock/clockdrv.c
+librtemsbsp_a_SOURCES +=../../../../../../bsps/mips/jmr3904/clock/clockdrv.c
# console
librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/dev/serial/console-polled.c
librtemsbsp_a_SOURCES += console/console-io.c
diff --git a/c/src/lib/libbsp/mips/malta/Makefile.am b/c/src/lib/libbsp/mips/malta/Makefile.am
index bb0b991f9c..c875d4b09c 100644
--- a/c/src/lib/libbsp/mips/malta/Makefile.am
+++ b/c/src/lib/libbsp/mips/malta/Makefile.am
@@ -34,8 +34,8 @@ librtemsbsp_a_SOURCES += startup/inittlb.c
librtemsbsp_a_SOURCES += ../shared/startup/idttlb.S
# clock
-librtemsbsp_a_SOURCES += ../shared/clock/clockdrv.c
-librtemsbsp_a_SOURCES += ../shared/clock/mips_timer.S
+librtemsbsp_a_SOURCES +=../../../../../../bsps/mips/shared/clock/clockdrv.c
+librtemsbsp_a_SOURCES +=../../../../../../bsps/mips/shared/clock/mips_timer.S
# console
librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/dev/serial/legacy-console.c
diff --git a/c/src/lib/libbsp/mips/rbtx4925/Makefile.am b/c/src/lib/libbsp/mips/rbtx4925/Makefile.am
index 46e51584ad..fbf3027670 100644
--- a/c/src/lib/libbsp/mips/rbtx4925/Makefile.am
+++ b/c/src/lib/libbsp/mips/rbtx4925/Makefile.am
@@ -31,7 +31,7 @@ librtemsbsp_a_SOURCES += ../shared/startup/idttlb.S
librtemsbsp_a_SOURCES += ../shared/startup/idtmem.S
librtemsbsp_a_SOURCES += ../shared/irq/exception.S
# clock
-librtemsbsp_a_SOURCES += clock/clockdrv.c
+librtemsbsp_a_SOURCES +=../../../../../../bsps/mips/rbtx4925/clock/clockdrv.c
# console
librtemsbsp_a_SOURCES += console/console-io.c
# liblnk
diff --git a/c/src/lib/libbsp/mips/rbtx4938/Makefile.am b/c/src/lib/libbsp/mips/rbtx4938/Makefile.am
index 00bb39d049..6061fe10df 100644
--- a/c/src/lib/libbsp/mips/rbtx4938/Makefile.am
+++ b/c/src/lib/libbsp/mips/rbtx4938/Makefile.am
@@ -32,7 +32,7 @@ librtemsbsp_a_SOURCES += ../shared/startup/idttlb.S
librtemsbsp_a_SOURCES += ../shared/startup/idtmem.S
librtemsbsp_a_SOURCES += ../shared/irq/exception.S
# clock
-librtemsbsp_a_SOURCES += clock/clockdrv.c
+librtemsbsp_a_SOURCES +=../../../../../../bsps/mips/rbtx4938/clock/clockdrv.c
# console
librtemsbsp_a_SOURCES += console/console-io.c
# liblnk
diff --git a/c/src/lib/libbsp/nios2/nios2_iss/Makefile.am b/c/src/lib/libbsp/nios2/nios2_iss/Makefile.am
index 38032bca87..9c27dd729e 100644
--- a/c/src/lib/libbsp/nios2/nios2_iss/Makefile.am
+++ b/c/src/lib/libbsp/nios2/nios2_iss/Makefile.am
@@ -29,7 +29,7 @@ librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/sbrk.c
librtemsbsp_a_SOURCES += startup/setvec.c
# clock
-librtemsbsp_a_SOURCES += clock/clock.c
+librtemsbsp_a_SOURCES +=../../../../../../bsps/nios2/nios2_iss/clock/clock.c
# console
librtemsbsp_a_SOURCES += console/console.c
librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/dev/serial/console-polled.c
diff --git a/c/src/lib/libbsp/no_cpu/no_bsp/Makefile.am b/c/src/lib/libbsp/no_cpu/no_bsp/Makefile.am
index 4377484d6d..6ce91f2d65 100644
--- a/c/src/lib/libbsp/no_cpu/no_bsp/Makefile.am
+++ b/c/src/lib/libbsp/no_cpu/no_bsp/Makefile.am
@@ -21,7 +21,7 @@ librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/dev/getentropy/getentropy
librtemsbsp_a_SOURCES += startup/setvec.c
librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/bspreset-empty.c
# clock
-librtemsbsp_a_SOURCES += clock/ckinit.c
+librtemsbsp_a_SOURCES +=../../../../../../bsps/no_cpu/no_bsp/clock/ckinit.c
# console
librtemsbsp_a_SOURCES += console/console.c
# timer
diff --git a/c/src/lib/libbsp/or1k/generic_or1k/Makefile.am b/c/src/lib/libbsp/or1k/generic_or1k/Makefile.am
index df69ff7944..4f1fbe083b 100644
--- a/c/src/lib/libbsp/or1k/generic_or1k/Makefile.am
+++ b/c/src/lib/libbsp/or1k/generic_or1k/Makefile.am
@@ -58,7 +58,7 @@ librtemsbsp_a_SOURCES += console/uart.c
librtemsbsp_a_SOURCES += timer/timer.c
# clock
-librtemsbsp_a_SOURCES += clock/clockdrv.c
+librtemsbsp_a_SOURCES +=../../../../../../bsps/or1k/generic_or1k/clock/clockdrv.c
# IRQ
librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/irq/irq-default-handler.c
diff --git a/c/src/lib/libbsp/powerpc/beatnik/Makefile.am b/c/src/lib/libbsp/powerpc/beatnik/Makefile.am
index 2101af1654..5a0f20b600 100644
--- a/c/src/lib/libbsp/powerpc/beatnik/Makefile.am
+++ b/c/src/lib/libbsp/powerpc/beatnik/Makefile.am
@@ -55,7 +55,7 @@ librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/dev/getentropy/getentropy
librtemsbsp_a_SOURCES += startup/bspclean.c
#pclock
-librtemsbsp_a_SOURCES += ../shared/clock/p_clock.c
+librtemsbsp_a_SOURCES +=../../../../../../bsps/powerpc/shared/clock/p_clock.c
#console
librtemsbsp_a_SOURCES += ../shared/console/uart.c
diff --git a/c/src/lib/libbsp/powerpc/gen5200/Makefile.am b/c/src/lib/libbsp/powerpc/gen5200/Makefile.am
index 67132857a1..d17a851919 100644
--- a/c/src/lib/libbsp/powerpc/gen5200/Makefile.am
+++ b/c/src/lib/libbsp/powerpc/gen5200/Makefile.am
@@ -54,7 +54,7 @@ librtemsbsp_a_SOURCES += bestcomm/tasksetup_pci_rx.c
librtemsbsp_a_SOURCES += bestcomm/tasksetup_pci_tx.c
# clock
# clock
-librtemsbsp_a_SOURCES += ../shared/clock/clock.c
+librtemsbsp_a_SOURCES +=../../../../../../bsps/powerpc/shared/clock/clock.c
# console
librtemsbsp_a_SOURCES += console/console.c
# i2c
diff --git a/c/src/lib/libbsp/powerpc/gen83xx/Makefile.am b/c/src/lib/libbsp/powerpc/gen83xx/Makefile.am
index 9c865c44fd..4f4624392e 100644
--- a/c/src/lib/libbsp/powerpc/gen83xx/Makefile.am
+++ b/c/src/lib/libbsp/powerpc/gen83xx/Makefile.am
@@ -44,7 +44,7 @@ librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/bsp-uboot-board-inf
librtemsbsp_a_SOURCES += ../shared/uboot_getenv.c
# clock
-librtemsbsp_a_SOURCES += ../shared/clock/clock.c
+librtemsbsp_a_SOURCES +=../../../../../../bsps/powerpc/shared/clock/clock.c
# irq
librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/irq/irq-default-handler.c
diff --git a/c/src/lib/libbsp/powerpc/motorola_powerpc/Makefile.am b/c/src/lib/libbsp/powerpc/motorola_powerpc/Makefile.am
index c5c507a452..225b37a5f8 100644
--- a/c/src/lib/libbsp/powerpc/motorola_powerpc/Makefile.am
+++ b/c/src/lib/libbsp/powerpc/motorola_powerpc/Makefile.am
@@ -51,7 +51,7 @@ librtemsbsp_a_SOURCES += startup/bspreset.c
librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/dev/rtc/rtc-support.c
librtemsbsp_a_SOURCES += ../shared/tod/todcfg.c
# pclock
-librtemsbsp_a_SOURCES += ../shared/clock/p_clock.c
+librtemsbsp_a_SOURCES +=../../../../../../bsps/powerpc/shared/clock/p_clock.c
# console
librtemsbsp_a_SOURCES += ../../../../../../bsps/powerpc/motorola_powerpc/dev/polled_io.c
diff --git a/c/src/lib/libbsp/powerpc/mpc55xxevb/Makefile.am b/c/src/lib/libbsp/powerpc/mpc55xxevb/Makefile.am
index 6a06edf742..551d9727ce 100644
--- a/c/src/lib/libbsp/powerpc/mpc55xxevb/Makefile.am
+++ b/c/src/lib/libbsp/powerpc/mpc55xxevb/Makefile.am
@@ -69,7 +69,7 @@ librtemsbsp_a_SOURCES += startup/start-flash.S
librtemsbsp_a_SOURCES += startup/start-watchdog.c
# clock
-librtemsbsp_a_SOURCES += clock/clock-config.c
+librtemsbsp_a_SOURCES +=../../../../../../bsps/powerpc/mpc55xxevb/clock/clock-config.c
# console
librtemsbsp_a_SOURCES += console/console-config.c
diff --git a/c/src/lib/libbsp/powerpc/mpc8260ads/Makefile.am b/c/src/lib/libbsp/powerpc/mpc8260ads/Makefile.am
index 2ca4171cfa..785bf3ddd5 100644
--- a/c/src/lib/libbsp/powerpc/mpc8260ads/Makefile.am
+++ b/c/src/lib/libbsp/powerpc/mpc8260ads/Makefile.am
@@ -22,7 +22,7 @@ project_lib_LIBRARIES = librtemsbsp.a
librtemsbsp_a_SOURCES =
# clock
-librtemsbsp_a_SOURCES += ../shared/clock/clock.c
+librtemsbsp_a_SOURCES +=../../../../../../bsps/powerpc/shared/clock/clock.c
# console
librtemsbsp_a_SOURCES += console/console.c
diff --git a/c/src/lib/libbsp/powerpc/mvme3100/Makefile.am b/c/src/lib/libbsp/powerpc/mvme3100/Makefile.am
index 04f0f83cac..644446e3ac 100644
--- a/c/src/lib/libbsp/powerpc/mvme3100/Makefile.am
+++ b/c/src/lib/libbsp/powerpc/mvme3100/Makefile.am
@@ -49,7 +49,7 @@ librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/bspreset-empty.c
librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/dev/rtc/rtc-support.c
librtemsbsp_a_SOURCES += tod/todcfg.c
# pclock
-librtemsbsp_a_SOURCES += ../shared/clock/p_clock.c
+librtemsbsp_a_SOURCES +=../../../../../../bsps/powerpc/shared/clock/p_clock.c
# console
librtemsbsp_a_SOURCES += ../shared/console/uart.c
diff --git a/c/src/lib/libbsp/powerpc/mvme5500/Makefile.am b/c/src/lib/libbsp/powerpc/mvme5500/Makefile.am
index 2876afb720..094c29d30c 100644
--- a/c/src/lib/libbsp/powerpc/mvme5500/Makefile.am
+++ b/c/src/lib/libbsp/powerpc/mvme5500/Makefile.am
@@ -26,7 +26,7 @@ librtemsbsp_a_SOURCES += startup/bspreset.c
librtemsbsp_a_SOURCES += ../shared/startup/probeMemEnd.c
# pclock
-librtemsbsp_a_SOURCES += ../shared/clock/p_clock.c
+librtemsbsp_a_SOURCES +=../../../../../../bsps/powerpc/shared/clock/p_clock.c
# console
librtemsbsp_a_SOURCES += ../shared/console/uart.c
diff --git a/c/src/lib/libbsp/powerpc/psim/Makefile.am b/c/src/lib/libbsp/powerpc/psim/Makefile.am
index abe572f93a..f803b8c3c9 100644
--- a/c/src/lib/libbsp/powerpc/psim/Makefile.am
+++ b/c/src/lib/libbsp/powerpc/psim/Makefile.am
@@ -30,7 +30,7 @@ librtemsbsp_a_SOURCES += ../shared/startup/sbrk.c
librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/bspreset-empty.c
# pclock
-librtemsbsp_a_SOURCES += ../shared/clock/p_clock.c
+librtemsbsp_a_SOURCES +=../../../../../../bsps/powerpc/shared/clock/p_clock.c
# console
librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/dev/serial/console-polled.c
# debugio
diff --git a/c/src/lib/libbsp/powerpc/qemuppc/Makefile.am b/c/src/lib/libbsp/powerpc/qemuppc/Makefile.am
index fb24188f1f..f9db915786 100644
--- a/c/src/lib/libbsp/powerpc/qemuppc/Makefile.am
+++ b/c/src/lib/libbsp/powerpc/qemuppc/Makefile.am
@@ -29,7 +29,7 @@ librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/dev/getentropy/getentropy
librtemsbsp_a_SOURCES += startup/cmain.c
librtemsbsp_a_SOURCES += startup/bspstart.c
# pclock
-librtemsbsp_a_SOURCES += ../shared/clock/clock.c
+librtemsbsp_a_SOURCES +=../../../../../../bsps/powerpc/shared/clock/clock.c
# console
librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/dev/serial/console-polled.c
librtemsbsp_a_SOURCES += console/console-io.c
diff --git a/c/src/lib/libbsp/powerpc/qoriq/Makefile.am b/c/src/lib/libbsp/powerpc/qoriq/Makefile.am
index 1177f0bd42..50d6d59e28 100644
--- a/c/src/lib/libbsp/powerpc/qoriq/Makefile.am
+++ b/c/src/lib/libbsp/powerpc/qoriq/Makefile.am
@@ -55,7 +55,7 @@ librtemsbsp_a_SOURCES += startup/bspreset.c
librtemsbsp_a_SOURCES += startup/bsprestart.c
# Clock
-librtemsbsp_a_SOURCES += clock/clock-config.c
+librtemsbsp_a_SOURCES +=../../../../../../bsps/powerpc/qoriq/clock/clock-config.c
# Timer
librtemsbsp_a_SOURCES += timer/timer.c
diff --git a/c/src/lib/libbsp/powerpc/ss555/Makefile.am b/c/src/lib/libbsp/powerpc/ss555/Makefile.am
index b8911c7dc4..00caab41e6 100644
--- a/c/src/lib/libbsp/powerpc/ss555/Makefile.am
+++ b/c/src/lib/libbsp/powerpc/ss555/Makefile.am
@@ -17,7 +17,7 @@ project_lib_LIBRARIES = librtemsbsp.a
librtemsbsp_a_SOURCES =
# pclock
-librtemsbsp_a_SOURCES += clock/p_clock.c
+librtemsbsp_a_SOURCES +=../../../../../../bsps/powerpc/ss555/clock/p_clock.c
# console
librtemsbsp_a_SOURCES += console/console.c
# startup
diff --git a/c/src/lib/libbsp/powerpc/t32mppc/Makefile.am b/c/src/lib/libbsp/powerpc/t32mppc/Makefile.am
index b2b97efa6d..b51a27f308 100644
--- a/c/src/lib/libbsp/powerpc/t32mppc/Makefile.am
+++ b/c/src/lib/libbsp/powerpc/t32mppc/Makefile.am
@@ -37,7 +37,7 @@ librtemsbsp_a_SOURCES += startup/bspstart.c
librtemsbsp_a_SOURCES += startup/bspreset.c
# Clock
-librtemsbsp_a_SOURCES += clock/clock-config.c
+librtemsbsp_a_SOURCES +=../../../../../../bsps/powerpc/t32mppc/clock/clock-config.c
# Timer
librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/dev/btimer/btimer-stub.c
diff --git a/c/src/lib/libbsp/powerpc/tqm8xx/Makefile.am b/c/src/lib/libbsp/powerpc/tqm8xx/Makefile.am
index 79d29d3b8b..0f0af602e9 100644
--- a/c/src/lib/libbsp/powerpc/tqm8xx/Makefile.am
+++ b/c/src/lib/libbsp/powerpc/tqm8xx/Makefile.am
@@ -28,8 +28,8 @@ librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/irq/irq-default-handler.c
librtemsbsp_a_SOURCES += irq/irq.c
# clock
-librtemsbsp_a_SOURCES += ../shared/clock/clock.c
-librtemsbsp_a_SOURCES += clock/p_clock.c
+librtemsbsp_a_SOURCES +=../../../../../../bsps/powerpc/shared/clock/clock.c
+librtemsbsp_a_SOURCES +=../../../../../../bsps/powerpc/tqm8xx/clock/p_clock.c
# console
librtemsbsp_a_SOURCES += console/console.c
diff --git a/c/src/lib/libbsp/powerpc/virtex/Makefile.am b/c/src/lib/libbsp/powerpc/virtex/Makefile.am
index cf970610dd..a999d0f3d6 100644
--- a/c/src/lib/libbsp/powerpc/virtex/Makefile.am
+++ b/c/src/lib/libbsp/powerpc/virtex/Makefile.am
@@ -48,7 +48,7 @@ librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/irq/irq-default-handler.c
librtemsbsp_a_SOURCES += irq/irq_init.c
# clock
-librtemsbsp_a_SOURCES += ../shared/clock/clock.c
+librtemsbsp_a_SOURCES +=../../../../../../bsps/powerpc/shared/clock/clock.c
if HAS_NETWORKING
librtemsbsp_a_SOURCES += =
diff --git a/c/src/lib/libbsp/powerpc/virtex5/Makefile.am b/c/src/lib/libbsp/powerpc/virtex5/Makefile.am
index 464f466914..5e56ff989e 100644
--- a/c/src/lib/libbsp/powerpc/virtex5/Makefile.am
+++ b/c/src/lib/libbsp/powerpc/virtex5/Makefile.am
@@ -30,7 +30,7 @@ librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/bspreset-empty.c
librtemsbsp_a_SOURCES += start/start.S
# clock & timer
-librtemsbsp_a_SOURCES += ../shared/clock/p_clock.c
+librtemsbsp_a_SOURCES +=../../../../../../bsps/powerpc/shared/clock/p_clock.c
# console
librtemsbsp_a_SOURCES += startup/dummy_console.c
diff --git a/c/src/lib/libbsp/riscv/riscv_generic/Makefile.am b/c/src/lib/libbsp/riscv/riscv_generic/Makefile.am
index 7eba19cdc5..4d93551da3 100644
--- a/c/src/lib/libbsp/riscv/riscv_generic/Makefile.am
+++ b/c/src/lib/libbsp/riscv/riscv_generic/Makefile.am
@@ -42,7 +42,7 @@ librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/stackalloc.c
librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/bspgetworkarea-default.c
# clock
-librtemsbsp_a_SOURCES += clock/clockdrv.c
+librtemsbsp_a_SOURCES +=../../../../../../bsps/riscv/riscv_generic/clock/clockdrv.c
# Timer
librtemsbsp_a_SOURCES += timer/timer.c
diff --git a/c/src/lib/libbsp/sh/gensh1/Makefile.am b/c/src/lib/libbsp/sh/gensh1/Makefile.am
index fc2173f4b2..ad794c9f7c 100644
--- a/c/src/lib/libbsp/sh/gensh1/Makefile.am
+++ b/c/src/lib/libbsp/sh/gensh1/Makefile.am
@@ -31,8 +31,8 @@ librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/bspgetworkarea-defa
librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/sbrk.c
librtemsbsp_a_SOURCES += ../shared/bsphwinit.c
librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/dev/getentropy/getentropy-cpucounter.c
-librtemsbsp_a_SOURCES += clock/ckinit.c
-librtemsbsp_a_SOURCES += clock/delay.c
+librtemsbsp_a_SOURCES +=../../../../../../bsps/sh/gensh1/clock/ckinit.c
+librtemsbsp_a_SOURCES +=../../../../../../bsps/sh/gensh1/clock/delay.c
librtemsbsp_a_SOURCES += startup/cpu_asm.c
librtemsbsp_a_SOURCES += startup/ispsh7032.c
librtemsbsp_a_SOURCES += timer/timer.c
diff --git a/c/src/lib/libbsp/sh/gensh2/Makefile.am b/c/src/lib/libbsp/sh/gensh2/Makefile.am
index ad36b46ebd..7097567336 100644
--- a/c/src/lib/libbsp/sh/gensh2/Makefile.am
+++ b/c/src/lib/libbsp/sh/gensh2/Makefile.am
@@ -34,7 +34,7 @@ librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/dev/getentropy/getentropy
librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/bspfatal-default.c
librtemsbsp_a_SOURCES += ../shared/bsphwinit.c
librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/bspreset-empty.c
-librtemsbsp_a_SOURCES += clock/ckinit.c
+librtemsbsp_a_SOURCES +=../../../../../../bsps/sh/gensh2/clock/ckinit.c
librtemsbsp_a_SOURCES += startup/cpu_asm.c
librtemsbsp_a_SOURCES += startup/ispsh7045.c
librtemsbsp_a_SOURCES += timer/timer.c
diff --git a/c/src/lib/libbsp/sh/gensh4/Makefile.am b/c/src/lib/libbsp/sh/gensh4/Makefile.am
index 02943c1fe7..f2108dae0b 100644
--- a/c/src/lib/libbsp/sh/gensh4/Makefile.am
+++ b/c/src/lib/libbsp/sh/gensh4/Makefile.am
@@ -27,7 +27,7 @@ librtemsbsp_a_SOURCES += ../shared/bsphwinit.c
librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/bspreset-empty.c
librtemsbsp_a_SOURCES += startup/cpu_asm.c
librtemsbsp_a_SOURCES += startup/ispsh7750.c
-librtemsbsp_a_SOURCES += clock/ckinit.c
+librtemsbsp_a_SOURCES +=../../../../../../bsps/sh/gensh4/clock/ckinit.c
librtemsbsp_a_SOURCES += timer/timer.c
# console
librtemsbsp_a_SOURCES += console/console.c
diff --git a/c/src/lib/libbsp/sparc/erc32/Makefile.am b/c/src/lib/libbsp/sparc/erc32/Makefile.am
index 887ebead0a..89c7cd642b 100644
--- a/c/src/lib/libbsp/sparc/erc32/Makefile.am
+++ b/c/src/lib/libbsp/sparc/erc32/Makefile.am
@@ -48,7 +48,7 @@ librtemsbsp_a_SOURCES += console/erc32_console.c
# debugio
librtemsbsp_a_SOURCES += console/debugputs.c
# clock
-librtemsbsp_a_SOURCES += clock/ckinit.c
+librtemsbsp_a_SOURCES +=../../../../../../bsps/sparc/erc32/clock/ckinit.c
# timer
librtemsbsp_a_SOURCES += timer/timer.c
diff --git a/c/src/lib/libbsp/sparc/leon2/Makefile.am b/c/src/lib/libbsp/sparc/leon2/Makefile.am
index 109201561d..4df4cd917f 100644
--- a/c/src/lib/libbsp/sparc/leon2/Makefile.am
+++ b/c/src/lib/libbsp/sparc/leon2/Makefile.am
@@ -45,7 +45,7 @@ librtemsbsp_a_SOURCES += ../shared/gnatcommon.c
librtemsbsp_a_SOURCES += console/console.c
librtemsbsp_a_SOURCES += console/debugputs.c
# clock
-librtemsbsp_a_SOURCES += clock/ckinit.c
+librtemsbsp_a_SOURCES +=../../../../../../bsps/sparc/leon2/clock/ckinit.c
# IRQ
librtemsbsp_a_SOURCES += ../shared/irq/genirq.c
librtemsbsp_a_SOURCES += ../shared/irq/irq-shared.c
diff --git a/c/src/lib/libbsp/sparc/leon3/Makefile.am b/c/src/lib/libbsp/sparc/leon3/Makefile.am
index cdcc7fe993..dc12458b0b 100644
--- a/c/src/lib/libbsp/sparc/leon3/Makefile.am
+++ b/c/src/lib/libbsp/sparc/leon3/Makefile.am
@@ -64,7 +64,7 @@ librtemsbsp_a_SOURCES += ../shared/timer/gptimer.c
librtemsbsp_a_SOURCES += ../shared/timer/tlib.c
librtemsbsp_a_SOURCES += ../shared/timer/tlib_ckinit.c
# non-Driver Manager Clock Implementation
-librtemsbsp_a_SOURCES += clock/ckinit.c
+librtemsbsp_a_SOURCES +=../../../../../../bsps/sparc/leon3/clock/ckinit.c
# console
librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/dev/serial/console-termios.c
diff --git a/c/src/lib/libbsp/sparc/shared/timer/tlib_ckinit.c b/c/src/lib/libbsp/sparc/shared/timer/tlib_ckinit.c
index af4d34b259..3f56d725d9 100644
--- a/c/src/lib/libbsp/sparc/shared/timer/tlib_ckinit.c
+++ b/c/src/lib/libbsp/sparc/shared/timer/tlib_ckinit.c
@@ -401,7 +401,7 @@ static const struct ops ops_irqamp = {
};
#endif
-/** Interface to the Clock Driver Shell (clockdrv_shell.h) **/
+/** Interface to the Clock Driver Shell (dev/clock/clockimpl.h) **/
#define Clock_driver_support_find_timer() \
do { \
rtems_device_driver ret; \
@@ -447,7 +447,7 @@ static const struct ops ops_irqamp = {
} \
} while (0)
-#include "../../../shared/clockdrv_shell.h"
+#include "../../../shared/dev/clock/clockimpl.h"
#endif /* RTEMS_DRVMGR_STARTUP */
diff --git a/c/src/lib/libbsp/sparc64/niagara/Makefile.am b/c/src/lib/libbsp/sparc64/niagara/Makefile.am
index 011fa14549..7ff741fe12 100644
--- a/c/src/lib/libbsp/sparc64/niagara/Makefile.am
+++ b/c/src/lib/libbsp/sparc64/niagara/Makefile.am
@@ -35,7 +35,7 @@ librtemsbsp_a_SOURCES += ../shared/helenos/boot/sparc64/loader/ofwasm.S
librtemsbsp_a_SOURCES += start/bspinit.S
librtemsbsp_a_SOURCES += ../shared/asm/asm.S
-librtemsbsp_a_SOURCES += ../shared/clock/ckinit.c
+librtemsbsp_a_SOURCES +=../../../../../../bsps/sparc64/shared/clock/ckinit.c
librtemsbsp_a_SOURCES += ../shared/console/conscfg.c
librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/dev/serial/legacy-console.c
diff --git a/c/src/lib/libbsp/sparc64/usiii/Makefile.am b/c/src/lib/libbsp/sparc64/usiii/Makefile.am
index 1572e436d8..1e7c503ea0 100644
--- a/c/src/lib/libbsp/sparc64/usiii/Makefile.am
+++ b/c/src/lib/libbsp/sparc64/usiii/Makefile.am
@@ -46,7 +46,7 @@ librtemsbsp_a_SOURCES += ../shared/helenos/kernel/sparc64/src/cache.S
librtemsbsp_a_SOURCES += ../shared/helenos/kernel/sparc64/src/sun4u/takemmu.S
librtemsbsp_a_SOURCES += ../shared/start/trap_table.S
-librtemsbsp_a_SOURCES += ../shared/clock/ckinit.c
+librtemsbsp_a_SOURCES +=../../../../../../bsps/sparc64/shared/clock/ckinit.c
librtemsbsp_a_SOURCES += ../shared/console/conscfg.c
librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/dev/serial/legacy-console.c
--
2.12.3
More information about the devel
mailing list