diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 2000-07-27 06:17:44 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 2000-07-27 06:17:44 +0000 |
commit | 2d354ea6a562761a1417bed71dfe8e722ef16409 (patch) | |
tree | 85f2250aac8208be0365caae8e27cfc583fa67ca /c/src/lib/libbsp/arm/arm_bare_bsp/clock/clockdrv.c | |
parent | Port of RTEMS to the ARM processor family by Eric Valette (diff) | |
download | rtems-2d354ea6a562761a1417bed71dfe8e722ef16409.tar.bz2 |
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.
Diffstat (limited to 'c/src/lib/libbsp/arm/arm_bare_bsp/clock/clockdrv.c')
-rw-r--r-- | c/src/lib/libbsp/arm/arm_bare_bsp/clock/clockdrv.c | 22 |
1 files changed, 22 insertions, 0 deletions
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" |