2000-11-13 Joel Sherrill <joel@OARcorp.com>

* clock_driver_stub.c: This is a stub of a clock driver that
	is sufficient for linking the ticker application.  Some
	simulators do not have a soruce for a clock tick.  Also
	this can be used while constructing a BSP so everything links.
This commit is contained in:
Joel Sherrill
2000-11-13 14:59:22 +00:00
parent 7cc96f530f
commit 7f5213d042
2 changed files with 29 additions and 0 deletions

View File

@@ -1,3 +1,10 @@
2000-11-13 Joel Sherrill <joel@OARcorp.com>
* clock_driver_stub.c: This is a stub of a clock driver that
is sufficient for linking the ticker application. Some
simulators do not have a soruce for a clock tick. Also
this can be used while constructing a BSP so everything links.
2000-11-01 Joel Sherrill <joel@OARcorp.com>
* bsplibc.c: assoc.h, error.h, libio_.h, libio.h, and

View File

@@ -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 "clockdrv_shell.c"