diff options
author | Dave Chapman <dave@dchapman.com> | 2006-02-05 16:52:22 +0000 |
---|---|---|
committer | Dave Chapman <dave@dchapman.com> | 2006-02-05 16:52:22 +0000 |
commit | d16a8b8845ed496e9375c5dfac6da2011c9eb362 (patch) | |
tree | 9adc8e92f61a58bdb02e9c59af8dfd7ddd3eff61 /firmware/export/kernel.h | |
parent | e8048cefed2715dcecb82ae49549ed619cf3104b (diff) | |
download | rockbox-d16a8b8845ed496e9375c5dfac6da2011c9eb362.tar.gz rockbox-d16a8b8845ed496e9375c5dfac6da2011c9eb362.zip |
More iPod 3G changes from Seven Le Mesle, and some unification of the iPod code from me
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8581 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/export/kernel.h')
-rw-r--r-- | firmware/export/kernel.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/firmware/export/kernel.h b/firmware/export/kernel.h index 5cd3c6dc94..89c56da1b9 100644 --- a/firmware/export/kernel.h +++ b/firmware/export/kernel.h | |||
@@ -66,10 +66,10 @@ struct mutex | |||
66 | }; | 66 | }; |
67 | 67 | ||
68 | /* global tick variable */ | 68 | /* global tick variable */ |
69 | #if (CONFIG_CPU == PP5020) && defined(BOOTLOADER) | 69 | #if ((CONFIG_CPU == PP5002) || (CONFIG_CPU == PP5020)) && defined(BOOTLOADER) |
70 | /* We don't enable interrupts in the iPod bootloader, so we need to fake | 70 | /* We don't enable interrupts in the iPod bootloader, so we need to fake |
71 | the current_tick variable */ | 71 | the current_tick variable */ |
72 | #define current_tick ((*((volatile long*)0x60005010))/10000) | 72 | #define current_tick (USEC_TIMER/10000) |
73 | #else | 73 | #else |
74 | extern long current_tick; | 74 | extern long current_tick; |
75 | #endif | 75 | #endif |