source: rtems/c/src/lib/libbsp/shared/clock_driver_stub.c @ 867ab080

4.104.114.84.95
Last change on this file since 867ab080 was 7f5213d, checked in by Joel Sherrill <joel.sherrill@…>, on 11/13/00 at 14:59:22

2000-11-13 Joel Sherrill <joel@…>

  • 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.
  • Property mode set to 100644
File size: 439 bytes
Line 
1/*
2 *  Instantiate the clock driver shell.
3 *
4 *  Since there is no clock source on the simulator, all we do is
5 *  make sure it will build.
6 *
7 *  $Id$
8 */
9
10#define CLOCK_VECTOR 0
11
12#define Clock_driver_support_at_tick()
13
14#define Clock_driver_support_install_isr( _new, _old ) \
15  do { _old = 0; } while(0)
16
17
18#define Clock_driver_support_initialize_hardware()
19
20#define Clock_driver_support_shutdown_hardware()
21
22#include "clockdrv_shell.c"
Note: See TracBrowser for help on using the repository browser.