Daniel Ankers
0aec12f3fd
Threading changes in preparation for multiple core support
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10681 a1c6a512-1295-4272-9138-f99709370657
2006-08-21 17:35:35 +00:00
Miika Pekkarinen
954b732654
Initial support and use for EEPROM memory on H120 & H140 players when
...
Rockbox firmware has been flashed over original firmware (not yet
possible to do). Dircache & tagcache serialization for fast bootup
without the need to scan disk when Rockbox is in flash.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10464 a1c6a512-1295-4272-9138-f99709370657
2006-08-05 20:19:10 +00:00
Daniel Stenberg
75f3fd05b9
better PP checks
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10433 a1c6a512-1295-4272-9138-f99709370657
2006-08-03 09:41:09 +00:00
Thom Johansen
4092029b3b
Don't paste when sleepy, kids.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9075 a1c6a512-1295-4272-9138-f99709370657
2006-03-17 02:45:06 +00:00
Thom Johansen
70ab7fc4e9
Assembler optimised swap32 for ARM.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9072 a1c6a512-1295-4272-9138-f99709370657
2006-03-17 02:05:39 +00:00
Thom Johansen
f6e856774c
CPU boosting support for ipod nano and video. The rest of the targets
...
are either untested or do not work with the current code.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9070 a1c6a512-1295-4272-9138-f99709370657
2006-03-17 02:02:13 +00:00
Dave Chapman
6099dc8b77
iPod: Re-written audio driver. This brings it in line with changes to pcm playback system, and also appears to fix all the ipod-specific playback glitches
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8614 a1c6a512-1295-4272-9138-f99709370657
2006-02-07 20:49:13 +00:00
Dave Chapman
d16a8b8845
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
2006-02-05 16:52:22 +00:00
Dave Chapman
f9dac40cf3
iPod: Fix the detection of lcd type for the iPod Photo - this should fix problems with that LCD. Affected users also need to install a new bootloader - available from the iPod Installation wiki page.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8499 a1c6a512-1295-4272-9138-f99709370657
2006-01-31 01:50:07 +00:00
Dave Chapman
b9e10d9a07
iPod: First working audio driver
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8474 a1c6a512-1295-4272-9138-f99709370657
2006-01-28 20:33:57 +00:00
Brandon Low
b8fc81e6bf
Stricter asm constraint is required.
...
(Prevent breakage with future compilers)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8379 a1c6a512-1295-4272-9138-f99709370657
2006-01-19 04:51:52 +00:00
Dave Chapman
d83e929f3f
Work-in-progress iriver iFP-7xx port by Tomasz Malesinski
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8342 a1c6a512-1295-4272-9138-f99709370657
2006-01-12 00:35:50 +00:00
Dave Chapman
2a7bd9fb7b
New target - iPod Video.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8261 a1c6a512-1295-4272-9138-f99709370657
2005-12-18 13:04:00 +00:00
Thom Johansen
5cc7347463
Raise iPod CPU frequency and enable cache and add function needed for button driver.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8257 a1c6a512-1295-4272-9138-f99709370657
2005-12-17 19:11:43 +00:00
Linus Nielsen Feltzing
8e44d4bdc7
H300 max CPU frequency is now back to 124MHz
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8208 a1c6a512-1295-4272-9138-f99709370657
2005-12-09 00:42:06 +00:00
Linus Nielsen Feltzing
ddef7ee171
Temporarily set the max CPU frequency to 90MHz on the H300
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8077 a1c6a512-1295-4272-9138-f99709370657
2005-11-27 01:12:16 +00:00
Dave Chapman
3c1f659aeb
iPod changes
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7824 a1c6a512-1295-4272-9138-f99709370657
2005-11-12 15:26:51 +00:00
Dave Chapman
d31a32c501
iPod: Code cleanup - the bootloader now compiles with zero warnings
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7812 a1c6a512-1295-4272-9138-f99709370657
2005-11-11 17:51:35 +00:00
Dave Chapman
77372d1218
Initial commit of work-in-progress iPod port
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7781 a1c6a512-1295-4272-9138-f99709370657
2005-11-07 23:07:19 +00:00
Dave Chapman
9e19c95d8e
Replace SWAB16 and SWAB32 with a comprehensive set of byte-swap macros - letoh16, letoh32, htole16, htole32, betoh16, betoh32, htobe16 and htobe32
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7584 a1c6a512-1295-4272-9138-f99709370657
2005-10-06 19:27:43 +00:00
Jens Arnold
cfb073c452
Coldfire: New timer handling on CPU frequency change, adjusting the prescaler on the fly, for both tick and user timer. Precondition is that the higher frequencies are integer multiples of the base: now NORMAL is 45 MHz and MAX is 124 MHz. Removes the need for applications with longer timer periods (>= 10 ms) to boost the CPU all the time, e.g. the grayscale lib. Timer counts are now always based on the base frequency (CPU_FREQ). * Adjusted the RAM refresh timers to the new frequencies (all frequencies for H100) * All: Fixed the tick timer count being off by one.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7576 a1c6a512-1295-4272-9138-f99709370657
2005-10-03 09:24:36 +00:00
Linus Nielsen Feltzing
e6c6d22240
Now panicf() shuts off the hard drive and lowers the CPU frequency, it also reboots if ON is pressed.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7510 a1c6a512-1295-4272-9138-f99709370657
2005-09-12 10:34:27 +00:00
Jens Arnold
6f44a25efa
coldfire_set_macsr(): (1) The argument isn't necessarily constant. (2) Let the compiler choose whether to use a register or an immediate.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7491 a1c6a512-1295-4272-9138-f99709370657
2005-09-07 06:25:32 +00:00
Thom Johansen
735208a541
Adapted codecs and DSP system to having MACSR saved in thread context.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7485 a1c6a512-1295-4272-9138-f99709370657
2005-09-07 00:24:27 +00:00
Jens Arnold
658c8451ea
Coldfire: assembler optimised SWAB32() inline function. Added SWAW32() even if it isn't currently used.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7379 a1c6a512-1295-4272-9138-f99709370657
2005-08-21 22:43:00 +00:00
Jens Arnold
a691db61a6
Killed signed/unsigned inconsistency
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7275 a1c6a512-1295-4272-9138-f99709370657
2005-08-01 01:27:10 +00:00
Miika Pekkarinen
6b807b2d24
Fixed MAC initialization problem with mpa codec and removed workaround
...
for that bug.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7260 a1c6a512-1295-4272-9138-f99709370657
2005-07-30 13:46:38 +00:00
Christian Gmeiner
c6ff1f5eb5
Added CPU_COLDFIRE define - one step closer to iAudio-port
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7186 a1c6a512-1295-4272-9138-f99709370657
2005-07-18 12:40:29 +00:00
Linus Nielsen Feltzing
9b226fef0e
New power-conserving CPU idle mode
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7023 a1c6a512-1295-4272-9138-f99709370657
2005-07-05 07:58:19 +00:00
Jens Arnold
a8cadd8181
Iriver: atomic I/O port manipulation macros, to avoid interference between normal and interrupt code. Todo: all other places that do port manipulation on ports which may also be changed from an intterupt should use that as well. It even decreases binary size a bit.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6985 a1c6a512-1295-4272-9138-f99709370657
2005-07-02 12:18:10 +00:00
Jens Arnold
78da1ff222
The last commit mixed up the arguments of cpu_boost(). Fixed that and removed the #ifdefs again, added #define cpui_boost(on_off) for fixed frequency platforms instead.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6783 a1c6a512-1295-4272-9138-f99709370657
2005-06-20 19:10:47 +00:00
Daniel Stenberg
b8a23f9e49
Fixed makefiles for autoconf.g include.
...
Fixed build output look in several Makefiles
Fixed code to include autoconf.h
Fixed code to use ROCKBOX_*_ENDIAN instead of previous attempts.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6421 a1c6a512-1295-4272-9138-f99709370657
2005-05-07 22:41:17 +00:00
Jens Arnold
b5a507bbdc
Small fix for compilation under GCC4. Note: It still doesn't even fully compile for SH1, and coldfire builds are reported to crash, so ymmv.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6331 a1c6a512-1295-4272-9138-f99709370657
2005-04-22 19:34:01 +00:00
Linus Nielsen Feltzing
32160dc3c3
iRiver: Increased the max CPU frequency to 120MHz
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6125 a1c6a512-1295-4272-9138-f99709370657
2005-03-03 21:48:02 +00:00
Jean-Philippe Bernardy
708e357a63
gmini: variable CPU frequency
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6118 a1c6a512-1295-4272-9138-f99709370657
2005-03-03 16:29:02 +00:00
Linus Nielsen Feltzing
d94f328838
Adjustable CPU frequency for iRiver
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6093 a1c6a512-1295-4272-9138-f99709370657
2005-03-01 14:35:10 +00:00
Jean-Philippe Bernardy
5abca3c226
TCC730 slight stylistic improvement
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6081 a1c6a512-1295-4272-9138-f99709370657
2005-02-28 09:49:48 +00:00
Jean-Philippe Bernardy
376057d2b6
Gmini SMSC chip improvements
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6030 a1c6a512-1295-4272-9138-f99709370657
2005-02-22 09:55:40 +00:00
Jean-Philippe Bernardy
8ec05779e3
Gmini work:
...
* Better USB
* Better comments
* Better coding style
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6022 a1c6a512-1295-4272-9138-f99709370657
2005-02-19 17:49:58 +00:00
Jean-Philippe Bernardy
a11bb63d1e
better PLL support & slight fix (probably in keepalive handling)
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5951 a1c6a512-1295-4272-9138-f99709370657
2005-02-15 14:00:21 +00:00
Linus Nielsen Feltzing
08bc7a532b
iRiver: Correct cache invalidation
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5873 a1c6a512-1295-4272-9138-f99709370657
2005-02-09 17:56:52 +00:00
Linus Nielsen Feltzing
2b25e54ace
Fixed broken sim build
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5872 a1c6a512-1295-4272-9138-f99709370657
2005-02-09 14:23:35 +00:00
Linus Nielsen Feltzing
b115261991
Added invalidate_icache()
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5870 a1c6a512-1295-4272-9138-f99709370657
2005-02-09 14:18:46 +00:00
Daniel Stenberg
f348f8f20c
made system_memory_guard() exist for all CPUs
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5741 a1c6a512-1295-4272-9138-f99709370657
2005-02-02 21:45:56 +00:00
Jean-Philippe Bernardy
1f11f4eb90
Some more gmini hw support
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5644 a1c6a512-1295-4272-9138-f99709370657
2005-01-24 00:01:37 +00:00
Daniel Stenberg
b42509b14f
Jean-Philippe Bernardy: TCC730 adjustments
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5556 a1c6a512-1295-4272-9138-f99709370657
2005-01-10 22:02:26 +00:00
Linus Nielsen Feltzing
7c5f5f5c53
iRiver: SWAB16 and SWAB32 macros
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5433 a1c6a512-1295-4272-9138-f99709370657
2004-11-19 00:30:28 +00:00
Linus Nielsen Feltzing
abeb582a9c
Coldfire: set_irq_level() mixed up the in/out registers
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5363 a1c6a512-1295-4272-9138-f99709370657
2004-10-27 06:49:15 +00:00
Linus Nielsen Feltzing
82fb2ace77
Cleaned up and started porting to Coldfire
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5284 a1c6a512-1295-4272-9138-f99709370657
2004-10-15 11:32:58 +00:00
Jens Arnold
d718786c68
The endian swap macros should be unsigned. This fixes the FAT16 issue.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5195 a1c6a512-1295-4272-9138-f99709370657
2004-10-06 23:16:38 +00:00
Linus Nielsen Feltzing
8b82407af7
sh7024.h -> cpu.h
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5189 a1c6a512-1295-4272-9138-f99709370657
2004-10-06 13:49:48 +00:00
Jens Arnold
06cb237af6
New debug feature: Use the SH1 user break controller to catch illegal memory accesses
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5026 a1c6a512-1295-4272-9138-f99709370657
2004-08-30 19:52:45 +00:00
Linus Nielsen Feltzing
9da3385a50
gcc 3.4 has a different constraint syntax
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4933 a1c6a512-1295-4272-9138-f99709370657
2004-07-24 11:39:17 +00:00
Jörg Hohensohn
81e309dd1a
We had a few set_irq_level(15) left in the code, instead of the new set_irq_level(HIGHEST_IRQ_LEVEL). Only one was really used, in system_reboot(), creating a (unlikely) race condition.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4374 a1c6a512-1295-4272-9138-f99709370657
2004-03-13 16:45:18 +00:00
Linus Nielsen Feltzing
111a972b65
Made set_irq_level() an inline function, and optimized it by removing the bit shifts
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4330 a1c6a512-1295-4272-9138-f99709370657
2004-03-02 11:32:59 +00:00
Linus Nielsen Feltzing
f9c780ccc1
The cli()/sti() functions are not safe. We should have removed them long ago.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4314 a1c6a512-1295-4272-9138-f99709370657
2004-02-25 13:00:36 +00:00
Linus Nielsen Feltzing
bef7ab0c26
The code police strikes back
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4024 a1c6a512-1295-4272-9138-f99709370657
2003-11-07 12:15:24 +00:00
Daniel Stenberg
f9b4490066
Include File Cleanup And Move-Around Party 2003.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3213 a1c6a512-1295-4272-9138-f99709370657
2003-02-07 09:41:57 +00:00