Yellow build

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4315 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Linus Nielsen Feltzing 2004-02-25 13:26:49 +00:00
parent f9c780ccc1
commit 9fefa39fbc

View file

@ -28,6 +28,12 @@
If it does, we should put this within #ifdef __MINGW32__ */
int errno;
int set_irq_level (int level)
{
static int _lv = 0;
return (_lv = level);
}
void sleep(int ticks)
{
Sleep (1000 / HZ * ticks);
@ -98,12 +104,6 @@ void switch_thread (void)
yield ();
}
int set_irq_level (int level)
{
static int _lv = 0;
return (_lv = level);
}
/* TODO: Implement mutexes for win32 */
void mutex_init(struct mutex *m)
{