From 2d354ea6a562761a1417bed71dfe8e722ef16409 Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Thu, 27 Jul 2000 06:17:44 +0000 Subject: Minor problems addressed with the merger and with the arm_bare_bsp. That BSP now has a stub clock driver so the tests can link even if they won't execute. A handful of Makefiles had to be updated and we had to account for printk.c being a shared file now. --- c/src/lib/libbsp/arm/arm_bare_bsp/clock/clockdrv.c | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 c/src/lib/libbsp/arm/arm_bare_bsp/clock/clockdrv.c (limited to 'c/src/lib/libbsp/arm/arm_bare_bsp/clock/clockdrv.c') diff --git a/c/src/lib/libbsp/arm/arm_bare_bsp/clock/clockdrv.c b/c/src/lib/libbsp/arm/arm_bare_bsp/clock/clockdrv.c new file mode 100644 index 0000000000..c49150fba6 --- /dev/null +++ b/c/src/lib/libbsp/arm/arm_bare_bsp/clock/clockdrv.c @@ -0,0 +1,22 @@ +/* + * Instantiate the clock driver shell. + * + * Since there is no clock source on the simulator, all we do is + * make sure it will build. + * + * $Id$ + */ + +#define CLOCK_VECTOR 0 + +#define Clock_driver_support_at_tick() + +#define Clock_driver_support_install_isr( _new, _old ) \ + do { _old = 0; } while(0) + + +#define Clock_driver_support_initialize_hardware() + +#define Clock_driver_support_shutdown_hardware() + +#include "../../../shared/clockdrv_shell.c" -- cgit v1.2.3