summaryrefslogtreecommitdiff
path: root/firmware/export/pp5002.h (follow)
Commit message (Collapse)AuthorAge
* Revise the PCM callback system after adding multichannel audio.Michael Sevakis2012-03-03
| | | | | | | | | | | | | | | | | | Additional status callback is added to pcm_play/rec_data instead of using a special function to set it. Status includes DMA error reporting to the status callback. Playback and recording callback become more alike except playback uses "const void **addr" (because the data should not be altered) and recording uses "void **addr". "const" is put in place throughout where appropriate. Most changes are fairly trivial. One that should be checked in particular because it isn't so much is telechips, if anyone cares to bother. PP5002 is not so trivial either but that tested as working. Change-Id: I4928d69b3b3be7fb93e259f81635232df9bd1df2 Reviewed-on: http://gerrit.rockbox.org/166 Reviewed-by: Michael Sevakis <jethead71@rockbox.org> Tested-by: Michael Sevakis <jethead71@rockbox.org>
* Move CACHEALIGN_BITS to cpu headersRafaël Carré2010-04-13
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25633 a1c6a512-1295-4272-9138-f99709370657
* Make RoLo work on PP5002. * Rename CACHE_CTL flag values on PP5002 for ↵Jens Arnold2009-10-19
| | | | | | consistency. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23277 a1c6a512-1295-4272-9138-f99709370657
* Put TIMER_FREQ definition in CPU-specific config, and remove timer-target.hRafaël Carré2009-06-29
| | | | | | Note : SH has TIMER_FREQ defined to CPU_FREQ, so any code wanting it must include #config.h before #cpu.h git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21560 a1c6a512-1295-4272-9138-f99709370657
* Bring consistency to pcm implementation and samplerate handling. Less ↵Michael Sevakis2008-12-12
| | | | | | low-level duplication. A small test_sampr fix so it works on coldfire again. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19400 a1c6a512-1295-4272-9138-f99709370657
* Updated our source code header to explicitly mention that we are GPL v2 orDaniel Stenberg2008-06-28
| | | | | | | | | 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
* Rename CPU/COP_INT_CLR to CPU/COP_INT_DIS since it's really a 'write one to ↵Michael Sevakis2008-06-03
| | | | | | 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
* Fix the PP5002 interrupt controller register definitions. The PP5002 ↵Jens Arnold2008-04-03
| | | | | | interrupt controller matches the first half of the PP502x interrupt controller (the actual interrupt bits are different though). git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16956 a1c6a512-1295-4272-9138-f99709370657
* Enable dualcore for the pp5002 processor by adding the needed cache handling ↵Michael Sevakis2007-11-27
| | | | | | 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
* Show exact CPU version on PP5002 targets.Jens Arnold2007-11-03
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15427 a1c6a512-1295-4272-9138-f99709370657
* Finally full multicore support for PortalPlayer 502x targets with an eye ↵Michael Sevakis2007-10-16
| | | | | | towards the possibility of other types. All SVN targets the low-lag code to speed up blocking operations. Most files are modified here simple due to a name change to actually support a real event object and a param change to create_thread. Add some use of new features but just sit on things for a bit and leave full integration for later. Work will continue on to address size on sensitive targets and simplify things if possible. Any PP target having problems with SWP can easily be changed to sw corelocks with one #define change in config.h though only PP5020 has shown an issue and seems to work without any difficulties. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15134 a1c6a512-1295-4272-9138-f99709370657
* PP LCD drivers: * Optimised and cleaned up PP colour LCD drivers. ↵Jens Arnold2007-10-12
| | | | | | Immeasurable speedup on iPod Color, huge speedup on small H10 (a factor of 3). Should be a bit faster on big H10 too. * Big H10 changed bitmap format, so needs reconfiguring + full rebuild. * Better register naming for the mono LCD bridge. Register names for the colour LCD bridge. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15082 a1c6a512-1295-4272-9138-f99709370657
* * Use proper definitions for the PP (mono) LCD bridge. * Clean up pp5002.h a ↵Jens Arnold2007-10-07
| | | | | | bit. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15018 a1c6a512-1295-4272-9138-f99709370657
* Unify PCM interface just above the hardware driver level for all targets ↵Michael Sevakis2007-10-06
| | | | | | including the sims. Perform lockout of audio callback when changing states. Weird new playback or recording trouble? Check before and after this revision first though things seem quite sound. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15006 a1c6a512-1295-4272-9138-f99709370657
* Compile Portal Player bootloaders as single core. Cleanup the startup code ↵Michael Sevakis2007-09-29
| | | | | | 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
* Firewire detection with reboot into diskmode for all iPods that support it ↵Jens Arnold2007-08-01
| | | | | | (all but Nano and Video). * Hack for compiling iPod G3 removed. * Code cleanup. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14131 a1c6a512-1295-4272-9138-f99709370657
* Add some new findings to the PP header files. * Clean up ata-target.h for ↵Jens Arnold2007-08-01
| | | | | | PP. * check_registers() seems to work fine on PP5002. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14114 a1c6a512-1295-4272-9138-f99709370657
* PP5002: Clock setup cleanup. * Switch to 80MHz when boosted like on the ↵Jens Arnold2007-07-31
| | | | | | 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
* iPod 1st..3rd gen: Fix CPU scaling instability on PP5002 * Add some new info ↵Jens Arnold2007-07-29
| | | | | | to pp5002.h and sort it by port address. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14053 a1c6a512-1295-4272-9138-f99709370657
* iPod G3: Clock setup register display and CPU clock estimation in debug ↵Jens Arnold2007-07-10
| | | | | | 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
* Dual core support for PP502x players (iPod G4 and later, iriver h10, Sansa - ↵Daniel Ankers2007-03-04
| | | | | | iPod G3 will be coming soon.) This allows threads to be run on either core provided that all communications between the cores is done using uncached memory. There should be no significant change in battery life from doing this. Documentation (on the RockboxKernel wiki page) will follow shortly. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12601 a1c6a512-1295-4272-9138-f99709370657
* Remap flash ROM to 0x20000000 on the ipods and H10s, and implement ↵Dave Chapman2007-02-23
| | | | | | dbg_save_roms() in the debug menu for those targets to dump the content to a file. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12467 a1c6a512-1295-4272-9138-f99709370657
* Fix 3g buildsBarry Wardell2007-02-16
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12341 a1c6a512-1295-4272-9138-f99709370657
* FS#6554. Move bootloader code into a common file. Only PortalPlayer devices ↵Barry Wardell2007-01-28
| | | | | | (iPods, H10, Sansa) are affected for the moment. Someone with access to (and no fear of bricking) an X5, H100, H300 and Gigabeat should try to adapt those bootloaders to also use the code in common.c. The (non-working) patch in the tracker would be a good place to start with this. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12136 a1c6a512-1295-4272-9138-f99709370657
* Clean up PP5002 I2C code (no functional changes):Barry Wardell2007-01-27
| | | | | | | | | | Move into target tree. Use #defines instead of inb/outb. Also restore comments in PP5020 I2C code. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12124 a1c6a512-1295-4272-9138-f99709370657
* iPod 3G is also PortalPlayer so should use the common USB driver.Barry Wardell2006-12-20
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11824 a1c6a512-1295-4272-9138-f99709370657
* Initial work for coprocessor support on iPods. FS#5755Daniel Ankers2006-08-03
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10437 a1c6a512-1295-4272-9138-f99709370657
* Some extra PP defines, and make some PP5002 defines consistens withThom Johansen2006-03-17
| | | | | | | PP5020. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9066 a1c6a512-1295-4272-9138-f99709370657
* iPod 3G - small audio fixes, but it still isn't working.Dave Chapman2006-02-26
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8850 a1c6a512-1295-4272-9138-f99709370657
* More iPod 3G work from Seven Le MesleDave Chapman2006-02-24
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8835 a1c6a512-1295-4272-9138-f99709370657
* More iPod 3G changes from Seven Le Mesle, and some unification of the iPod ↵Dave Chapman2006-02-05
code from me git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8581 a1c6a512-1295-4272-9138-f99709370657