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
|
@ -199,9 +199,10 @@ struct codec_api {
|
|||
long* current_tick;
|
||||
long (*default_event_handler)(long event);
|
||||
long (*default_event_handler_ex)(long event, void (*callback)(void *), void *parameter);
|
||||
struct thread_entry* (*create_thread)(unsigned int core, void (*function)(void),
|
||||
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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue