diff options
author | Michael Sevakis <jethead71@rockbox.org> | 2007-10-16 01:25:17 +0000 |
---|---|---|
committer | Michael Sevakis <jethead71@rockbox.org> | 2007-10-16 01:25:17 +0000 |
commit | a9b2fb5ee3114fe835f6515b6aeae7454f66d821 (patch) | |
tree | fc4e96d0c1f215565918406c8827b16b806c1345 /firmware/scroll_engine.c | |
parent | a3fbbc9fa7e12fd3fce122bbd235dc362050e024 (diff) | |
download | rockbox-a9b2fb5ee3114fe835f6515b6aeae7454f66d821.tar.gz rockbox-a9b2fb5ee3114fe835f6515b6aeae7454f66d821.zip |
Finally full multicore support for PortalPlayer 502x targets with an eye towards the possibility of other types. All SVN targets the low-lag code to speed up blocking operations. Most files are modified here simple due to a name change to actually support a real event object and a param change to create_thread. Add some use of new features but just sit on things for a bit and leave full integration for later. Work will continue on to address size on sensitive targets and simplify things if possible. Any PP target having problems with SWP can easily be changed to sw corelocks with one #define change in config.h though only PP5020 has shown an issue and seems to work without any difficulties.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15134 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/scroll_engine.c')
-rw-r--r-- | firmware/scroll_engine.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/firmware/scroll_engine.c b/firmware/scroll_engine.c index 63ca8883de..7c66601d6a 100644 --- a/firmware/scroll_engine.c +++ b/firmware/scroll_engine.c | |||
@@ -46,7 +46,7 @@ struct scrollinfo lcd_scroll[LCD_SCROLLABLE_LINES]; | |||
46 | 46 | ||
47 | #ifdef HAVE_REMOTE_LCD | 47 | #ifdef HAVE_REMOTE_LCD |
48 | struct scrollinfo lcd_remote_scroll[LCD_REMOTE_SCROLLABLE_LINES]; | 48 | struct scrollinfo lcd_remote_scroll[LCD_REMOTE_SCROLLABLE_LINES]; |
49 | struct event_queue scroll_queue; | 49 | struct event_queue scroll_queue NOCACHEBSS_ATTR; |
50 | #endif | 50 | #endif |
51 | 51 | ||
52 | struct scroll_screen_info lcd_scroll_info = | 52 | struct scroll_screen_info lcd_scroll_info = |
@@ -150,7 +150,7 @@ static void sync_display_ticks(void) | |||
150 | 150 | ||
151 | static bool scroll_process_message(int delay) | 151 | static bool scroll_process_message(int delay) |
152 | { | 152 | { |
153 | struct event ev; | 153 | struct queue_event ev; |
154 | 154 | ||
155 | do | 155 | do |
156 | { | 156 | { |
@@ -268,7 +268,7 @@ void scroll_init(void) | |||
268 | queue_init(&scroll_queue, true); | 268 | queue_init(&scroll_queue, true); |
269 | #endif | 269 | #endif |
270 | create_thread(scroll_thread, scroll_stack, | 270 | create_thread(scroll_thread, scroll_stack, |
271 | sizeof(scroll_stack), scroll_name | 271 | sizeof(scroll_stack), 0, scroll_name |
272 | IF_PRIO(, PRIORITY_USER_INTERFACE) | 272 | IF_PRIO(, PRIORITY_USER_INTERFACE) |
273 | IF_COP(, CPU, false)); | 273 | IF_COP(, CPU)); |
274 | } | 274 | } |