forked from len0rd/rockbox
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
This commit is contained in:
parent
74e572c9d6
commit
82f9056988
38 changed files with 379 additions and 211 deletions
|
|
@ -124,13 +124,8 @@ struct core_entry {
|
|||
|
||||
struct thread_entry*
|
||||
create_thread(void (*function)(void), void* stack, int stack_size,
|
||||
const char *name IF_PRIO(, int priority));
|
||||
|
||||
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));
|
||||
const char *name IF_PRIO(, int priority)
|
||||
IF_COP(, unsigned int core, bool fallback));
|
||||
|
||||
#ifdef HAVE_SCHEDULER_BOOSTCTRL
|
||||
void trigger_cpu_boost(void);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue