summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLinus Nielsen Feltzing <linus@haxx.se>2002-08-01 08:14:01 +0000
committerLinus Nielsen Feltzing <linus@haxx.se>2002-08-01 08:14:01 +0000
commit1f4613df6cabc862d957631ed99706b03c8350f2 (patch)
tree418ecaeccd89cb61afe7fb99c3631a34dd1e698f
parent2d461156bd6173b1062642f1c196df42bfdb6ff8 (diff)
downloadrockbox-1f4613df6cabc862d957631ed99706b03c8350f2.tar.gz
rockbox-1f4613df6cabc862d957631ed99706b03c8350f2.zip
sleep() and queue_wait() moved to internal RAM
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1499 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r--firmware/kernel.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/firmware/kernel.c b/firmware/kernel.c
index 610ab71644..745b5fba2e 100644
--- a/firmware/kernel.c
+++ b/firmware/kernel.c
@@ -34,6 +34,9 @@ static void tick_start(unsigned int interval_in_ms);
34static struct event_queue *all_queues[32]; 34static struct event_queue *all_queues[32];
35static int num_queues; 35static int num_queues;
36 36
37void sleep(int ticks) __attribute__ ((section(".icode")));
38void queue_wait(struct event_queue *q, struct event *ev) __attribute__ ((section(".icode")));;
39
37/**************************************************************************** 40/****************************************************************************
38 * Standard kernel stuff 41 * Standard kernel stuff
39 ****************************************************************************/ 42 ****************************************************************************/