summaryrefslogtreecommitdiff
path: root/firmware/export/system.h
AgeCommit message (Collapse)Author
2007-04-11Moved SH1 system code to target tree. * First shot at hwcompat cleanup.Jens Arnold
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13114 a1c6a512-1295-4272-9138-f99709370657
2007-03-29Fix the rest of them I hope.Michael Sevakis
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12958 a1c6a512-1295-4272-9138-f99709370657
2007-03-29Add an asm swap_odd_even32 to SH and ARM. Have the byteswapping functions ↵Michael Sevakis
take and return intxx_t data types. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12956 a1c6a512-1295-4272-9138-f99709370657
2007-03-26Make scheduler functions thread safe core wise. A big step towards playback ↵Miika Pekkarinen
running on COP (not yet possible because more protection on file system level is necessary). git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12926 a1c6a512-1295-4272-9138-f99709370657
2007-03-24PNX0101 changes:Tomasz Malesinski
Make PNX0101-specific system.c and crt0.S. Add new register names from LPC2880 user manual. Add support for timer. Enable CPU frequency changing. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12904 a1c6a512-1295-4272-9138-f99709370657
2007-03-10Fix red builds and make udelay actually work as it should again.Barry Wardell
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12703 a1c6a512-1295-4272-9138-f99709370657
2007-03-10Make udelay() wrap-safe.Barry Wardell
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12702 a1c6a512-1295-4272-9138-f99709370657
2007-01-22Fix broken buildsJonathan Gordon
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12088 a1c6a512-1295-4272-9138-f99709370657
2007-01-22Simple cpu boost tracker for LOGF builds. Shows the last 64 cpu_boost() ↵Jonathan Gordon
calls from the debug menu git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12087 a1c6a512-1295-4272-9138-f99709370657
2007-01-16add cpu frequency scaling to the gigabeat. default/normal: 100MHz, boosted: ↵Marcoen Hirschberg
300MHz git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12023 a1c6a512-1295-4272-9138-f99709370657
2007-01-12Prepare core support for the iriver bootloader supporting ROM imagesMiika Pekkarinen
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11991 a1c6a512-1295-4272-9138-f99709370657
2007-01-04Move invalidate_icache macro to function in GB target tree, GB onlyGreg White
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11908 a1c6a512-1295-4272-9138-f99709370657
2007-01-01Split the enable_fiq(fiq_handler) function into separate ↵Dave Chapman
set_fiq_handler(fiq_handler) and enable_fiq(void) functions. This allows temporary disabling of the FIQ without knowing which fiq handler is in use. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11875 a1c6a512-1295-4272-9138-f99709370657
2006-12-18FS#6096. Recording on PortalPlayer targets (H10, iPod Video, iPod 4g, iPod ↵Barry Wardell
Color, iPod Nano). * Fix failed compile of enc_config.c when HAVE_MPEG2_SAMPR is not defined. * Fix bug in AIFF encoder header creation on little endian targets. * Add recording screen keymaps for H10 and iPod. * Move pcm_playback PP specific code to target tree. * Add recording code to wmcodec drivers. * Add pcm_record code. Some problems still remain: * Playback doesn't work after recording until Rockbox is restarted. * Gain control not implemented. * Only 16-bit/44KHz for now. The hardware should be capable of up to 24-bit/96KHz. * Line-in recording not tested on H10. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11794 a1c6a512-1295-4272-9138-f99709370657
2006-12-05Removed the cpu boost tracking debug feature for now because ofMiika Pekkarinen
different kind of problems. Better implementation can be done later. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11665 a1c6a512-1295-4272-9138-f99709370657
2006-11-10Removed the Gmini 120 and Gmini SP code. These ports are dead, unfortunately.Jens Arnold
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11504 a1c6a512-1295-4272-9138-f99709370657
2006-11-06Big Patch adds primarily: Samplerate and format selection to recording for ↵Michael Sevakis
SWCODEC. Supprort for samplerates changing in playback (just goes with the recording part inseparably). Samplerates to all encoders. Encoders can be configured individually on a menu specific to the encoder in the recording menu. File creation is delayed until flush time to reduce spinups when splitting. Misc: statusbar icons for numbers are individual digits to display any number. Audio buffer was rearranged to maximize memory available to recording and properly reinitialized when trashed. ColdFire PCM stuff moved to target tree to avoid a complicated mess when adding samplerate switching. Some needed API changes and to neaten up growing gap between hardware and software codecs. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11452 a1c6a512-1295-4272-9138-f99709370657
2006-10-30Moved coldfire code in system.c and system.h into target tree.Michael Sevakis
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11399 a1c6a512-1295-4272-9138-f99709370657
2006-10-05...and tidy upSteve Bavin
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11127 a1c6a512-1295-4272-9138-f99709370657
2006-10-05Oops; second bad commit. Three strikes and I'm out I guess.Steve Bavin
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11126 a1c6a512-1295-4272-9138-f99709370657
2006-10-05Add CPU boost tracker to see where boosts are coming fromSteve Bavin
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11125 a1c6a512-1295-4272-9138-f99709370657
2006-08-21Threading changes in preparation for multiple core supportDaniel Ankers
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10681 a1c6a512-1295-4272-9138-f99709370657
2006-08-05Initial support and use for EEPROM memory on H120 & H140 players whenMiika Pekkarinen
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-03better PP checksDaniel Stenberg
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10433 a1c6a512-1295-4272-9138-f99709370657
2006-03-17Don't paste when sleepy, kids.Thom Johansen
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9075 a1c6a512-1295-4272-9138-f99709370657
2006-03-17Assembler optimised swap32 for ARM.Thom Johansen
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9072 a1c6a512-1295-4272-9138-f99709370657
2006-03-17CPU boosting support for ipod nano and video. The rest of the targetsThom Johansen
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-02-07iPod: Re-written audio driver. This brings it in line with changes to pcm ↵Dave Chapman
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-05More iPod 3G changes from Seven Le Mesle, and some unification of the iPod ↵Dave Chapman
code from me git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8581 a1c6a512-1295-4272-9138-f99709370657
2006-01-31iPod: Fix the detection of lcd type for the iPod Photo - this should fix ↵Dave Chapman
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-28iPod: First working audio driverDave Chapman
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8474 a1c6a512-1295-4272-9138-f99709370657
2006-01-19Stricter asm constraint is required.Brandon Low
(Prevent breakage with future compilers) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8379 a1c6a512-1295-4272-9138-f99709370657
2006-01-12Work-in-progress iriver iFP-7xx port by Tomasz MalesinskiDave Chapman
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8342 a1c6a512-1295-4272-9138-f99709370657
2005-12-18New target - iPod Video.Dave Chapman
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8261 a1c6a512-1295-4272-9138-f99709370657
2005-12-17Raise iPod CPU frequency and enable cache and add function needed for button ↵Thom Johansen
driver. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8257 a1c6a512-1295-4272-9138-f99709370657
2005-12-09H300 max CPU frequency is now back to 124MHzLinus Nielsen Feltzing
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8208 a1c6a512-1295-4272-9138-f99709370657
2005-11-27Temporarily set the max CPU frequency to 90MHz on the H300Linus Nielsen Feltzing
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8077 a1c6a512-1295-4272-9138-f99709370657
2005-11-12iPod changesDave Chapman
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7824 a1c6a512-1295-4272-9138-f99709370657
2005-11-11iPod: Code cleanup - the bootloader now compiles with zero warningsDave Chapman
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7812 a1c6a512-1295-4272-9138-f99709370657
2005-11-07Initial commit of work-in-progress iPod portDave Chapman
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7781 a1c6a512-1295-4272-9138-f99709370657
2005-10-06Replace SWAB16 and SWAB32 with a comprehensive set of byte-swap macros - ↵Dave Chapman
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-03Coldfire: New timer handling on CPU frequency change, adjusting the ↵Jens Arnold
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-09-12Now panicf() shuts off the hard drive and lowers the CPU frequency, it also ↵Linus Nielsen Feltzing
reboots if ON is pressed. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7510 a1c6a512-1295-4272-9138-f99709370657
2005-09-07coldfire_set_macsr(): (1) The argument isn't necessarily constant. (2) Let ↵Jens Arnold
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-07Adapted codecs and DSP system to having MACSR saved in thread context.Thom Johansen
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7485 a1c6a512-1295-4272-9138-f99709370657
2005-08-21Coldfire: assembler optimised SWAB32() inline function. Added SWAW32() even ↵Jens Arnold
if it isn't currently used. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7379 a1c6a512-1295-4272-9138-f99709370657
2005-08-01Killed signed/unsigned inconsistencyJens Arnold
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7275 a1c6a512-1295-4272-9138-f99709370657
2005-07-30Fixed MAC initialization problem with mpa codec and removed workaroundMiika Pekkarinen
for that bug. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7260 a1c6a512-1295-4272-9138-f99709370657
2005-07-18Added CPU_COLDFIRE define - one step closer to iAudio-portChristian Gmeiner
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7186 a1c6a512-1295-4272-9138-f99709370657
2005-07-05New power-conserving CPU idle modeLinus Nielsen Feltzing
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7023 a1c6a512-1295-4272-9138-f99709370657