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:
Dave Chapman 2005-12-12 14:05:14 +00:00
parent 544b03cf9a
commit 77bf6bf370
4 changed files with 0 additions and 8 deletions

View file

@ -124,9 +124,7 @@ struct codec_api ci = {
/* kernel/ system */
PREFIX(sleep),
yield,
#if CONFIG_CPU != PP5020
&current_tick,
#endif
default_event_handler,
default_event_handler_ex,
create_thread,

View file

@ -197,9 +197,7 @@ struct codec_api {
/* kernel/ system */
void (*PREFIX(sleep))(int ticks);
void (*yield)(void);
#if CONFIG_CPU != PP5020
long* current_tick;
#endif
long (*default_event_handler)(long event);
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);

View file

@ -208,9 +208,7 @@ static const struct plugin_api rockbox_api = {
/* kernel/ system */
PREFIX(sleep),
yield,
#if CONFIG_CPU != PP5020
&current_tick,
#endif
default_event_handler,
default_event_handler_ex,
create_thread,

View file

@ -277,9 +277,7 @@ struct plugin_api {
/* kernel/ system */
void (*PREFIX(sleep))(int ticks);
void (*yield)(void);
#if CONFIG_CPU!=PP5020
long* current_tick;
#endif
long (*default_event_handler)(long event);
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);