forked from len0rd/rockbox
Commit to certain names for cache coherency APIs and discard the aliases.
Wouldn't surprise me a bit to get some non-green. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31339 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
43d7a75369
commit
6a67707b5e
51 changed files with 120 additions and 213 deletions
|
@ -550,7 +550,7 @@ static void video_thread_msg(struct video_thread_data *td)
|
|||
}
|
||||
else
|
||||
{
|
||||
IF_COP(rb->cpucache_invalidate());
|
||||
IF_COP(rb->commit_discard_dcache());
|
||||
vo_lock();
|
||||
rb->lcd_update();
|
||||
vo_unlock();
|
||||
|
@ -1007,7 +1007,7 @@ bool video_thread_init(void)
|
|||
{
|
||||
intptr_t rep;
|
||||
|
||||
IF_COP(rb->cpucache_flush());
|
||||
IF_COP(rb->commit_dcache());
|
||||
|
||||
video_str.hdr.q = &video_str_queue;
|
||||
rb->queue_init(video_str.hdr.q, false);
|
||||
|
@ -1025,7 +1025,7 @@ bool video_thread_init(void)
|
|||
|
||||
/* Wait for thread to initialize */
|
||||
rep = str_send_msg(&video_str, STREAM_NULL, 0);
|
||||
IF_COP(rb->cpucache_invalidate());
|
||||
IF_COP(rb->commit_discard_dcache());
|
||||
|
||||
return rep == 0; /* Normally STREAM_NULL should be ignored */
|
||||
}
|
||||
|
@ -1037,7 +1037,7 @@ void video_thread_exit(void)
|
|||
{
|
||||
str_post_msg(&video_str, STREAM_QUIT, 0);
|
||||
rb->thread_wait(video_str.thread);
|
||||
IF_COP(rb->cpucache_invalidate());
|
||||
IF_COP(rb->commit_discard_dcache());
|
||||
video_str.thread = 0;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue