summaryrefslogtreecommitdiff
path: root/uisimulator/win32/kernel.c
diff options
context:
space:
mode:
authorLinus Nielsen Feltzing <linus@haxx.se>2004-02-25 13:26:49 +0000
committerLinus Nielsen Feltzing <linus@haxx.se>2004-02-25 13:26:49 +0000
commit9fefa39fbcfb66d5e4de7727c3ef3c88f19e3ba1 (patch)
tree81cc5ca0e3471d86426fc6558e33cba2a8af62e4 /uisimulator/win32/kernel.c
parentf9c780ccc146fd883374f8f89c14c9ce5968ee51 (diff)
downloadrockbox-9fefa39fbcfb66d5e4de7727c3ef3c88f19e3ba1.tar.gz
rockbox-9fefa39fbcfb66d5e4de7727c3ef3c88f19e3ba1.zip
Yellow build
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4315 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'uisimulator/win32/kernel.c')
-rw-r--r--uisimulator/win32/kernel.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/uisimulator/win32/kernel.c b/uisimulator/win32/kernel.c
index 7aac99f84a..466950eba0 100644
--- a/uisimulator/win32/kernel.c
+++ b/uisimulator/win32/kernel.c
@@ -28,6 +28,12 @@
28 If it does, we should put this within #ifdef __MINGW32__ */ 28 If it does, we should put this within #ifdef __MINGW32__ */
29int errno; 29int errno;
30 30
31int set_irq_level (int level)
32{
33 static int _lv = 0;
34 return (_lv = level);
35}
36
31void sleep(int ticks) 37void sleep(int ticks)
32{ 38{
33 Sleep (1000 / HZ * ticks); 39 Sleep (1000 / HZ * ticks);
@@ -98,12 +104,6 @@ void switch_thread (void)
98 yield (); 104 yield ();
99} 105}
100 106
101int set_irq_level (int level)
102{
103 static int _lv = 0;
104 return (_lv = level);
105}
106
107/* TODO: Implement mutexes for win32 */ 107/* TODO: Implement mutexes for win32 */
108void mutex_init(struct mutex *m) 108void mutex_init(struct mutex *m)
109{ 109{