summaryrefslogtreecommitdiffstats
path: root/uisimulator/sdl/kernel.c
diff options
context:
space:
mode:
authorMichael Sevakis <jethead71@rockbox.org>2007-03-21 23:33:49 +0000
committerMichael Sevakis <jethead71@rockbox.org>2007-03-21 23:33:49 +0000
commit55392f7d3c00b180e06da16efab53e4e8a79d28c (patch)
tree2a390c491e82834042996e7c79a98c2c696f6514 /uisimulator/sdl/kernel.c
parent0caf3b8caec97dd14345565977d040c8b7350ad9 (diff)
downloadrockbox-55392f7d3c00b180e06da16efab53e4e8a79d28c.tar.gz
rockbox-55392f7d3c00b180e06da16efab53e4e8a79d28c.tar.bz2
rockbox-55392f7d3c00b180e06da16efab53e4e8a79d28c.zip
Perform the obligatory fix-the-sims dance.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12882 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'uisimulator/sdl/kernel.c')
-rw-r--r--uisimulator/sdl/kernel.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/uisimulator/sdl/kernel.c b/uisimulator/sdl/kernel.c
index e01fbe65b9..8918ff7e12 100644
--- a/uisimulator/sdl/kernel.c
+++ b/uisimulator/sdl/kernel.c
@@ -40,7 +40,7 @@ static void queue_fetch_sender(struct queue_sender_list *send,
unsigned int i)
{
int old_level = set_irq_level(15<<4);
- struct queue_sender **spp = &send->senders[i];
+ struct thread_entry **spp = &send->senders[i];
if(*spp)
{
@@ -53,7 +53,7 @@ static void queue_fetch_sender(struct queue_sender_list *send,
/* Puts the specified return value in the waiting thread's return value
and wakes the thread - a sender should be confirmed to exist first */
-static void queue_release_sender(struct queue_sender **sender,
+static void queue_release_sender(struct thread_entry **sender,
intptr_t retval)
{
(*sender)->retval = retval;
@@ -69,7 +69,7 @@ static void queue_release_all_senders(struct event_queue *q)
unsigned int i;
for(i = q->read; i != q->write; i++)
{
- struct queue_sender **spp =
+ struct thread_entry **spp =
&q->send->senders[i & QUEUE_LENGTH_MASK];
if(*spp)
{
@@ -166,7 +166,7 @@ void queue_post(struct event_queue *q, long id, intptr_t data)
#ifdef HAVE_EXTENDED_MESSAGING_AND_NAME
if(q->send)
{
- struct queue_sender **spp = &q->send->senders[wr];
+ struct thread_entry **spp = &q->send->senders[wr];
if(*spp)
{
@@ -190,8 +190,8 @@ intptr_t queue_send(struct event_queue *q, long id, intptr_t data)
if(q->send)
{
- struct queue_sender **spp = &q->send->senders[wr];
- struct queue_sender sender;
+ struct thread_entry **spp = &q->send->senders[wr];
+ struct thread_entry sender;
if(*spp)
{
@@ -266,7 +266,7 @@ void queue_remove_from_head(struct event_queue *q, long id)
#ifdef HAVE_EXTENDED_MESSAGING_AND_NAME
if(q->send)
{
- struct queue_sender **spp = &q->send->senders[rd];
+ struct thread_entry **spp = &q->send->senders[rd];
if(*spp)
{