Yellow build
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4315 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
f9c780ccc1
commit
9fefa39fbc
1 changed files with 6 additions and 6 deletions
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue