summaryrefslogtreecommitdiff
path: root/firmware/target/arm/system-pp5002.c
AgeCommit message (Collapse)Author
2010-09-08Rename cache coherency functions.Thomas Martitz
The old cache coherency function names where wrong and misleading. The new names are (purposely different from vendor manuals) * commit_* (write-back only) * discard_* (removing lines from cache only) * commit_discard_* (write-back and removing lines from cache) It's suspected the old names have led to wrong uses. The old names still exist (as aliases) so every call via the old names need to be double checked and changed to the new name. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28045 a1c6a512-1295-4272-9138-f99709370657
2010-06-18Squeeze down the PP5002 cache routines a bit.Michael Sevakis
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26909 a1c6a512-1295-4272-9138-f99709370657
2009-10-19Make RoLo work on PP5002. * Rename CACHE_CTL flag values on PP5002 for ↵Jens Arnold
consistency. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23277 a1c6a512-1295-4272-9138-f99709370657
2009-02-11Make basic cache functions into calls, and get rid of ↵Michael Sevakis
CACHE_FUNCTION_WRAPPERS and CACHE_FUNCTIONS_AS_CALL macros. Rename flush/invalidate_icache to cpucache_flush/invalidate. They're inlined only if an implementation isn't provided by defining HAVE_CPUCACHE_FLUSH/INVALIDATE. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19971 a1c6a512-1295-4272-9138-f99709370657
2009-01-20PortalPlayer: Implement irq_handler() directly in C code rather than ↵Michael Sevakis
dispatching to irq() from crt0-pp.S. Remove unneeded STUB macros. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19801 a1c6a512-1295-4272-9138-f99709370657
2009-01-08Clean up panicf and introduce system_exception_wait to do further target ↵Michael Sevakis
tasks and wait for a button when an unrecoverable error has occurred (panic, UIE, etc.). Returning from that function should reboot or don't return from it. Move UIE and __div0 for ARM to its own file. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19716 a1c6a512-1295-4272-9138-f99709370657
2008-07-16Ensure consistency between header file and implementation for iPod drivers, ↵Bertrik Sikken
by #including the appropriate header file and #ifdef'fing out unused code git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18066 a1c6a512-1295-4272-9138-f99709370657
2008-06-28Updated our source code header to explicitly mention that we are GPL v2 orDaniel Stenberg
later. We still need to hunt down snippets used that are not. 1324 modified files... http://www.rockbox.org/mail/archive/rockbox-dev-archive-2008-06/0060.shtml git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17847 a1c6a512-1295-4272-9138-f99709370657
2008-06-03Rename CPU/COP_INT_CLR to CPU/COP_INT_DIS since it's really a 'write one to ↵Michael Sevakis
disable' register and hasn't anything to do with acknowledging interrupts-- that's handled at the module level. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17683 a1c6a512-1295-4272-9138-f99709370657
2007-11-27Enable dualcore for the pp5002 processor by adding the needed cache handling ↵Michael Sevakis
and sleep/wakeup sync to the kernel. Refine some handling of fw/bl startup for all. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15827 a1c6a512-1295-4272-9138-f99709370657
2007-09-29Compile Portal Player bootloaders as single core. Cleanup the startup code ↵Michael Sevakis
for bootloaders. Remove cop stack entirely and keep IRAM use down on all relevant targets - just use the 128-byte idle stack. Use the inline asm version of current_core for pp5002 as well. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14898 a1c6a512-1295-4272-9138-f99709370657
2007-08-06Reduced battery consumption on PP5002 targets (iPod 1st/2nd gen and 3rd ↵Jens Arnold
gen). Now rockbox battery runtime is better than OF, verified on 2nd gen :-) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14218 a1c6a512-1295-4272-9138-f99709370657
2007-07-31PP5002: Clock setup cleanup. * Switch to 80MHz when boosted like on the ↵Jens Arnold
other PP targets. * Prepare sleep mode by adding CPUFREQ_SLEEP. This is already confirmed working, but a lot of functions in rockbox will probably hang because the microsecond timer isn't running in this mode. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14096 a1c6a512-1295-4272-9138-f99709370657
2007-07-30Interrupt driven ADC reading on the 2nd gen.Jens Arnold
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14086 a1c6a512-1295-4272-9138-f99709370657
2007-07-29iPod 1st..3rd gen: Interrupt driven button driver for 100% smooth wheel ↵Jens Arnold
operation. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14054 a1c6a512-1295-4272-9138-f99709370657
2007-07-29iPod 1st..3rd gen: Fix CPU scaling instability on PP5002 * Add some new info ↵Jens Arnold
to pp5002.h and sort it by port address. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14053 a1c6a512-1295-4272-9138-f99709370657
2007-07-25Remove the hack which read the ipod hardware revision from flash in the ↵Dave Chapman
bootloader and passed it to Rockbox via a fixed address in SDRAM. Rockbox now remaps flash and so can just read the value itself. Also clean up the debug menu a little - only display the hw revision for ipods, and add the lcd_type variable to indicate the type of LCD (0 or 1) for ipod Color/Photo. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13986 a1c6a512-1295-4272-9138-f99709370657
2007-07-10iPod G3: Set the 'we (pretend to) know what we're doing so please let us' ↵Jens Arnold
magic value. Aka unlock clock frequencies > 66MHz. Should make performance significantly better with problematic codecs. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13845 a1c6a512-1295-4272-9138-f99709370657
2007-07-10iPod G3: Clock setup register display and CPU clock estimation in debug ↵Jens Arnold
menu. * Fix clock being set to only half of what it should be (introduced with clock setup changes for PP502x). git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13844 a1c6a512-1295-4272-9138-f99709370657
2007-04-22Don't need all those #include's.Barry Wardell
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13242 a1c6a512-1295-4272-9138-f99709370657
2007-04-22Move PortalPlayer system.c code into the target tree.Barry Wardell
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13239 a1c6a512-1295-4272-9138-f99709370657