diff options
| author | Michael Sevakis <jethead71@rockbox.org> | 2007-03-21 22:58:53 +0000 |
|---|---|---|
| committer | Michael Sevakis <jethead71@rockbox.org> | 2007-03-21 22:58:53 +0000 |
| commit | 0caf3b8caec97dd14345565977d040c8b7350ad9 (patch) | |
| tree | 88d0987645099d3903631bbf41b9efc726caacb2 /firmware/export/kernel.h | |
| parent | a83a94ea9c8ca260ed8422d08df0c61f93e7ecf6 (diff) | |
| download | rockbox-0caf3b8caec97dd14345565977d040c8b7350ad9.zip rockbox-0caf3b8caec97dd14345565977d040c8b7350ad9.tar.gz rockbox-0caf3b8caec97dd14345565977d040c8b7350ad9.tar.bz2 rockbox-0caf3b8caec97dd14345565977d040c8b7350ad9.tar.xz | |
Update sync queues to use a statically allocated return value in order to facilitate upcoming COP updates.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12881 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/export/kernel.h')
| -rw-r--r-- | firmware/export/kernel.h | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/firmware/export/kernel.h b/firmware/export/kernel.h index 13e353d..1d27fed 100644 --- a/firmware/export/kernel.h +++ b/firmware/export/kernel.h @@ -57,18 +57,13 @@ struct event }; #ifdef HAVE_EXTENDED_MESSAGING_AND_NAME -struct queue_sender -{ - struct thread_entry *thread; - intptr_t retval; -}; - struct queue_sender_list { /* If non-NULL, there is a thread waiting for the corresponding event */ - struct queue_sender *senders[QUEUE_LENGTH]; + /* Must be statically allocated to put in non-cached ram. */ + struct thread_entry *senders[QUEUE_LENGTH]; /* Send info for last message dequeued or NULL if replied or not sent */ - struct queue_sender *curr_sender; + struct thread_entry *curr_sender; }; #endif /* HAVE_EXTENDED_MESSAGING_AND_NAME */ |