summaryrefslogtreecommitdiff
path: root/uisimulator/sdl/system-sdl.h
diff options
context:
space:
mode:
authorMichael Sevakis <jethead71@rockbox.org>2007-10-26 23:16:41 +0000
committerMichael Sevakis <jethead71@rockbox.org>2007-10-26 23:16:41 +0000
commitc935ed5112a0d7b400d8ae4ff974ff606b84c407 (patch)
tree6e1fdf6d552915046cb198b6beab5dd43a483b88 /uisimulator/sdl/system-sdl.h
parentd6af28739747099f98f541d1b76ba501882e113c (diff)
Argh. Forgot to 'svn add' as usual.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15322 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'uisimulator/sdl/system-sdl.h')
-rw-r--r--uisimulator/sdl/system-sdl.h32
1 files changed, 32 insertions, 0 deletions
diff --git a/uisimulator/sdl/system-sdl.h b/uisimulator/sdl/system-sdl.h
new file mode 100644
index 0000000000..2197a014c3
--- /dev/null
+++ b/uisimulator/sdl/system-sdl.h
@@ -0,0 +1,32 @@
+/***************************************************************************
+ * __________ __ ___.
+ * Open \______ \ ____ ____ | | _\_ |__ _______ ___
+ * Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ /
+ * Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < <
+ * Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \
+ * \/ \/ \/ \/ \/
+ * $Id$
+ *
+ * Copyright (C) 2007 by Michael Sevakis
+ *
+ * All files in this archive are subject to the GNU General Public License.
+ * See the file COPYING in the source tree root for full license agreement.
+ *
+ * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
+ * KIND, either express or implied.
+ *
+ ****************************************************************************/
+#ifndef _SYSTEM_SDL_H_
+#define _SYSTEM_SDL_H_
+
+#include <stdbool.h>
+
+#define HIGHEST_IRQ_LEVEL 1
+
+int set_irq_level(int level);
+void sim_enter_irq_handler(void);
+void sim_exit_irq_handler(void);
+bool sim_kernel_init(void);
+void sim_kernel_shutdown(void);
+
+#endif /* _SYSTEM_SDL_H_ */