From a9b2fb5ee3114fe835f6515b6aeae7454f66d821 Mon Sep 17 00:00:00 2001 From: Michael Sevakis Date: Tue, 16 Oct 2007 01:25:17 +0000 Subject: 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 --- apps/plugin.c | 42 +++++++++++++++++++++--------------------- 1 file changed, 21 insertions(+), 21 deletions(-) (limited to 'apps/plugin.c') diff --git a/apps/plugin.c b/apps/plugin.c index 685dab960f..c06ae257e4 100644 --- a/apps/plugin.c +++ b/apps/plugin.c @@ -141,6 +141,7 @@ static const struct plugin_api rockbox_api = { /* remote lcd */ lcd_remote_set_contrast, lcd_remote_clear_display, + lcd_remote_setmargins, lcd_remote_puts, lcd_remote_puts_scroll, lcd_remote_stop_scroll, @@ -182,6 +183,9 @@ static const struct plugin_api rockbox_api = { #if defined(HAVE_LCD_COLOR) lcd_yuv_blit, +#endif +#if defined(TOSHIBA_GIGABEAT_F) || defined(SANSA_E200) + lcd_yuv_set_options, #endif /* list */ gui_synclist_init, @@ -202,6 +206,7 @@ static const struct plugin_api rockbox_api = { button_get_w_tmo, button_status, button_clear_queue, + button_queue_count, #ifdef HAS_BUTTON_HOLD button_hold, #endif @@ -463,6 +468,13 @@ static const struct plugin_api rockbox_api = { #endif &global_settings, &global_status, + talk_disable_menus, + talk_enable_menus, +#if CONFIG_CODEC == SWCODEC + codec_load_file, + get_codec_filename, + get_metadata, +#endif mp3info, count_mp3_frames, create_xing_header, @@ -491,6 +503,11 @@ static const struct plugin_api rockbox_api = { detect_original_firmware, detect_flashed_ramimage, detect_flashed_romimage, +#endif + led, +#ifdef CACHE_FUNCTIONS_AS_CALL + flush_icache, + invalidate_icache, #endif /* new stuff at the end, sort into place next time the API gets incompatible */ @@ -499,27 +516,6 @@ static const struct plugin_api rockbox_api = { spinlock_init, spinlock_lock, spinlock_unlock, - - codec_load_file, - get_codec_filename, - get_metadata, -#endif - led, - -#if defined(TOSHIBA_GIGABEAT_F) || defined(SANSA_E200) - lcd_yuv_set_options, -#endif - -#ifdef CACHE_FUNCTIONS_AS_CALL - flush_icache, - invalidate_icache, -#endif - talk_disable_menus, - talk_enable_menus, - - button_queue_count, -#ifdef HAVE_REMOTE_LCD - lcd_remote_setmargins, #endif }; @@ -666,7 +662,11 @@ int plugin_load(const char* plugin, void* parameter) #endif lcd_remote_setmargins(rxm, rym); lcd_remote_clear_display(); + + lcd_remote_update(); + + #endif if (pfn_tsr_exit == NULL) -- cgit v1.2.3