From 82f9056988331572e01231d70fadc64b7ab76c6f Mon Sep 17 00:00:00 2001 From: Daniel Ankers Date: Sun, 4 Mar 2007 20:06:41 +0000 Subject: Dual core support for PP502x players (iPod G4 and later, iriver h10, Sansa - iPod G3 will be coming soon.) This allows threads to be run on either core provided that all communications between the cores is done using uncached memory. There should be no significant change in battery life from doing this. Documentation (on the RockboxKernel wiki page) will follow shortly. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12601 a1c6a512-1295-4272-9138-f99709370657 --- apps/plugin.h | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'apps/plugin.h') diff --git a/apps/plugin.h b/apps/plugin.h index 48e9c40196..1d161783a1 100644 --- a/apps/plugin.h +++ b/apps/plugin.h @@ -327,7 +327,8 @@ struct plugin_api { long (*default_event_handler_ex)(long event, void (*callback)(void *), void *parameter); struct thread_entry* (*create_thread)(void (*function)(void), void* stack, int stack_size, const char *name - IF_PRIO(, int priority)); + IF_PRIO(, int priority) + IF_COP(, unsigned int core, bool fallback)); void (*remove_thread)(struct thread_entry *thread); void (*reset_poweroff_timer)(void); #ifndef SIMULATOR @@ -595,11 +596,6 @@ struct plugin_api { void (*pcm_record_more)(void *start, size_t size); #endif - struct thread_entry*(*create_thread_on_core)( - unsigned int core, void (*function)(void), - void* stack, int stack_size, - const char *name IF_PRIO(, int priority)); - #ifdef IRIVER_H100_SERIES /* Routines for the iriver_flash -plugin. */ bool (*detect_original_firmware)(void); -- cgit v1.2.3