forked from len0rd/rockbox
iPod: current_tick is now a variable, so we can export it via the plugin and codec APIs
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8225 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
544b03cf9a
commit
77bf6bf370
4 changed files with 0 additions and 8 deletions
|
@ -124,9 +124,7 @@ struct codec_api ci = {
|
||||||
/* kernel/ system */
|
/* kernel/ system */
|
||||||
PREFIX(sleep),
|
PREFIX(sleep),
|
||||||
yield,
|
yield,
|
||||||
#if CONFIG_CPU != PP5020
|
|
||||||
¤t_tick,
|
¤t_tick,
|
||||||
#endif
|
|
||||||
default_event_handler,
|
default_event_handler,
|
||||||
default_event_handler_ex,
|
default_event_handler_ex,
|
||||||
create_thread,
|
create_thread,
|
||||||
|
|
|
@ -197,9 +197,7 @@ struct codec_api {
|
||||||
/* kernel/ system */
|
/* kernel/ system */
|
||||||
void (*PREFIX(sleep))(int ticks);
|
void (*PREFIX(sleep))(int ticks);
|
||||||
void (*yield)(void);
|
void (*yield)(void);
|
||||||
#if CONFIG_CPU != PP5020
|
|
||||||
long* current_tick;
|
long* current_tick;
|
||||||
#endif
|
|
||||||
long (*default_event_handler)(long event);
|
long (*default_event_handler)(long event);
|
||||||
long (*default_event_handler_ex)(long event, void (*callback)(void *), void *parameter);
|
long (*default_event_handler_ex)(long event, void (*callback)(void *), void *parameter);
|
||||||
int (*create_thread)(void (*function)(void), void* stack, int stack_size, const char *name);
|
int (*create_thread)(void (*function)(void), void* stack, int stack_size, const char *name);
|
||||||
|
|
|
@ -208,9 +208,7 @@ static const struct plugin_api rockbox_api = {
|
||||||
/* kernel/ system */
|
/* kernel/ system */
|
||||||
PREFIX(sleep),
|
PREFIX(sleep),
|
||||||
yield,
|
yield,
|
||||||
#if CONFIG_CPU != PP5020
|
|
||||||
¤t_tick,
|
¤t_tick,
|
||||||
#endif
|
|
||||||
default_event_handler,
|
default_event_handler,
|
||||||
default_event_handler_ex,
|
default_event_handler_ex,
|
||||||
create_thread,
|
create_thread,
|
||||||
|
|
|
@ -277,9 +277,7 @@ struct plugin_api {
|
||||||
/* kernel/ system */
|
/* kernel/ system */
|
||||||
void (*PREFIX(sleep))(int ticks);
|
void (*PREFIX(sleep))(int ticks);
|
||||||
void (*yield)(void);
|
void (*yield)(void);
|
||||||
#if CONFIG_CPU!=PP5020
|
|
||||||
long* current_tick;
|
long* current_tick;
|
||||||
#endif
|
|
||||||
long (*default_event_handler)(long event);
|
long (*default_event_handler)(long event);
|
||||||
long (*default_event_handler_ex)(long event, void (*callback)(void *), void *parameter);
|
long (*default_event_handler_ex)(long event, void (*callback)(void *), void *parameter);
|
||||||
int (*create_thread)(void (*function)(void), void* stack, int stack_size, const char *name);
|
int (*create_thread)(void (*function)(void), void* stack, int stack_size, const char *name);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue