2007-06-22 Joel Sherrill <joel.sherrill@OARcorp.com>

* console/leds.c, console/mc68ec.c: Rename delay to rtems_bsp_delay to
	avoid conflicts in application space.
This commit is contained in:
Joel Sherrill
2007-06-22 14:07:55 +00:00
parent 3aa0564a40
commit 2395a38cc9
3 changed files with 9 additions and 4 deletions

View File

@@ -1,3 +1,8 @@
2007-06-22 Joel Sherrill <joel.sherrill@OARcorp.com>
* console/leds.c, console/mc68ec.c: Rename delay to rtems_bsp_delay to
avoid conflicts in application space.
2007-05-03 Joel Sherrill <joel@OARcorp.com>
* startup/linkcmds: Handle .data.* sections

View File

@@ -71,12 +71,12 @@ zylons()
{
unsigned char *leds = (unsigned char *)LED_ADDR;
unsigned char curled = 0xfe;
void delay( int );
void rtems_bsp_delay( int );
while (1)
{
*leds = curled;
curled = (curled >> 1) | (curled << 7);
delay ( 8000 );
rtems_bsp_delay ( 8000 );
}
}

View File

@@ -8,10 +8,10 @@
#include "leds.h"
/*
* delay -- delay execution. This is an ugly hack. It should
* rtems_bsp_delay -- delay execution. This is an ugly hack. It should
* use the timer, but I'm waiting for docs. (sigh)
*/
void delay(num)
void rtems_bsp_delay(num)
int num;
{
while (num--)