source:
rtems/c/src/lib/libbsp/m68k/idp/console/mc68ec.c
@
3bba2a9b
Last change on this file since 3bba2a9b was fd36451, checked in by Joel Sherrill <joel.sherrill@…>, on 10/20/14 at 15:57:54 | |
---|---|
|
|
File size: 388 bytes |
Rev | Line | |
---|---|---|
[ac7d5ef0] | 1 | /* |
2 | * mc68ec.c -- Low level support for the Motorola mc68ec0x0 board. | |
3 | * Written by rob@cygnus.com (Rob Savoye) | |
4 | */ | |
[eb5a7e07] | 5 | |
[fd36451] | 6 | #include <bsp.h> |
[ac7d5ef0] | 7 | #include "leds.h" |
8 | ||
9 | /* | |
[2395a38] | 10 | * rtems_bsp_delay -- delay execution. This is an ugly hack. It should |
[ac7d5ef0] | 11 | * use the timer, but I'm waiting for docs. (sigh) |
12 | */ | |
[5df7515e] | 13 | void rtems_bsp_delay(int num) |
[ac7d5ef0] | 14 | { |
15 | while (num--) | |
16 | { | |
[6b51fc10] | 17 | __asm__ ("nop"); |
[ac7d5ef0] | 18 | } |
19 | } |
Note: See TracBrowser
for help on using the repository browser.