summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/m68k/idp/console/mc68ec.c
blob: 9041ca527b788f5f355f10a3abc84c51fdd4309c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
/*
 * mc68ec.c -- Low level support for the Motorola mc68ec0x0 board.
 *             Written by rob@cygnus.com (Rob Savoye)
 */

#include <bsp.h>
#include "leds.h"

/*
 * rtems_bsp_delay -- delay execution. This is an ugly hack. It should
 *          use the timer, but I'm waiting for docs. (sigh)
 */
void rtems_bsp_delay(int num)
{
  while (num--)
    {
      __asm__ ("nop");
    }
}