Unify kernel list management for ticks, registered queues and timeout objects by using NULL-terminated lists of pointers. Redo timeout API a bit to simplify it and integrate it. Should give some small binsize reduction accross the board but more if timeout objects are being included.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19808 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Michael Sevakis 2009-01-21 02:44:20 +00:00
parent a7ec73cddd
commit 580d91f097
5 changed files with 122 additions and 120 deletions

View file

@ -142,7 +142,7 @@ static void mci_set_clock_divider(const int drive, int divider)
#ifdef HAVE_HOTSWAP
#if defined(SANSA_E200V2) || defined(SANSA_FUZE)
static bool sd1_oneshot_callback(struct timeout *tmo)
static int sd1_oneshot_callback(struct timeout *tmo)
{
(void)tmo;
@ -155,7 +155,7 @@ static bool sd1_oneshot_callback(struct timeout *tmo)
else
queue_broadcast(SYS_HOTSWAP_EXTRACTED, 0);
return false;
return 0;
}
void INT_GPIOA(void)