diff options
author | Linus Nielsen Feltzing <linus@haxx.se> | 2002-08-01 08:14:01 +0000 |
---|---|---|
committer | Linus Nielsen Feltzing <linus@haxx.se> | 2002-08-01 08:14:01 +0000 |
commit | 1f4613df6cabc862d957631ed99706b03c8350f2 (patch) | |
tree | 418ecaeccd89cb61afe7fb99c3631a34dd1e698f | |
parent | 2d461156bd6173b1062642f1c196df42bfdb6ff8 (diff) | |
download | rockbox-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.c | 3 |
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); | |||
34 | static struct event_queue *all_queues[32]; | 34 | static struct event_queue *all_queues[32]; |
35 | static int num_queues; | 35 | static int num_queues; |
36 | 36 | ||
37 | void sleep(int ticks) __attribute__ ((section(".icode"))); | ||
38 | void 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 | ****************************************************************************/ |