diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 2000-07-31 18:29:37 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 2000-07-31 18:29:37 +0000 |
commit | caf8869939b50ffc4e3e090b3572935e21327ae8 (patch) | |
tree | bd59aef32f9aeba0762726ca85aa95d54f6ce3ae /c/src/lib/libbsp/arm/armulator/clock/clockdrv.c | |
parent | Patch rtems-rc-20000713-1-cvs.diff from Ralf Corsepius <corsepiu@faw.uni-ulm.de> (diff) | |
download | rtems-caf8869939b50ffc4e3e090b3572935e21327ae8.tar.bz2 |
New bsp for simulator in gdb. Does not work yet.
Diffstat (limited to 'c/src/lib/libbsp/arm/armulator/clock/clockdrv.c')
-rw-r--r-- | c/src/lib/libbsp/arm/armulator/clock/clockdrv.c | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/c/src/lib/libbsp/arm/armulator/clock/clockdrv.c b/c/src/lib/libbsp/arm/armulator/clock/clockdrv.c new file mode 100644 index 0000000000..c49150fba6 --- /dev/null +++ b/c/src/lib/libbsp/arm/armulator/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" |