diff options
author | Michael Sevakis <jethead71@rockbox.org> | 2007-04-14 11:15:43 +0000 |
---|---|---|
committer | Michael Sevakis <jethead71@rockbox.org> | 2007-04-14 11:15:43 +0000 |
commit | 036168cbf96d455eea927bcf1701627e81e68a3a (patch) | |
tree | 8bf88a49aacccc8807241837a62ea4d1ebf56ffe /firmware/system.c | |
parent | 0b7bb31453762f354af30210d1981f5dec3cdc19 (diff) | |
download | rockbox-036168cbf96d455eea927bcf1701627e81e68a3a.tar.gz rockbox-036168cbf96d455eea927bcf1701627e81e68a3a.zip |
PP5020/PP5024: Add ASM optimized inline current_core.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13155 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/system.c')
-rw-r--r-- | firmware/system.c | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/firmware/system.c b/firmware/system.c index 7e7effe67d..921a7d2314 100644 --- a/firmware/system.c +++ b/firmware/system.c | |||
@@ -276,16 +276,6 @@ void irq(void) | |||
276 | #endif | 276 | #endif |
277 | #endif /* BOOTLOADER */ | 277 | #endif /* BOOTLOADER */ |
278 | 278 | ||
279 | unsigned int current_core(void) | ||
280 | { | ||
281 | if((PROCESSOR_ID & 0xff) == PROC_ID_CPU) | ||
282 | { | ||
283 | return CPU; | ||
284 | } | ||
285 | return COP; | ||
286 | } | ||
287 | |||
288 | |||
289 | /* TODO: The following two function have been lifted straight from IPL, and | 279 | /* TODO: The following two function have been lifted straight from IPL, and |
290 | hence have a lot of numeric addresses used straight. I'd like to use | 280 | hence have a lot of numeric addresses used straight. I'd like to use |
291 | #defines for these, but don't know what most of them are for or even what | 281 | #defines for these, but don't know what most of them are for or even what |