summaryrefslogtreecommitdiff
path: root/firmware/thread.c (follow)
Commit message (Collapse)AuthorAge
* add missing variable declarationMarcoen Hirschberg2006-12-29
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11862 a1c6a512-1295-4272-9138-f99709370657
* fix idle mode for the gigabeatMarcoen Hirschberg2006-12-29
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11860 a1c6a512-1295-4272-9138-f99709370657
* Add queue_send synchronous message sending. Right now only for SWCODEC. ↵Michael Sevakis2006-12-16
| | | | | | Actual usage to be added to playback and recording shortly in upcoming commits. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11776 a1c6a512-1295-4272-9138-f99709370657
* Fix my warnings with explicit blocking on platforms w/o cpu_boost()Brandon Low2006-11-11
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11511 a1c6a512-1295-4272-9138-f99709370657
* Thread API enhancements.Brandon Low2006-11-11
| | | | | | | | 1) block_thread -> block_thread + block_thread_w_tmo -- this call was always used in distinct ways so having one call with a conditional was ugly. 2) enhance Slasheri's scheduler controlled boost concept. now any thread may trigger a boost which will last until that thread next sleeps. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11509 a1c6a512-1295-4272-9138-f99709370657
* Removed the Gmini 120 and Gmini SP code. These ports are dead, unfortunately.Jens Arnold2006-11-10
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11504 a1c6a512-1295-4272-9138-f99709370657
* Big Patch adds primarily: Samplerate and format selection to recording for ↵Michael Sevakis2006-11-06
| | | | | | 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
* Removed ugly boosting solutions from playback code and let schedulerMiika Pekkarinen2006-10-15
| | | | | | | handle unboosting instead. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11226 a1c6a512-1295-4272-9138-f99709370657
* Fix profiling builds.Magnus Holmgren2006-09-23
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11034 a1c6a512-1295-4272-9138-f99709370657
* Don't remove the thread twice.Miika Pekkarinen2006-09-16
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10960 a1c6a512-1295-4272-9138-f99709370657
* New scheduler, with priorities for swcodec platforms. Frequent taskMiika Pekkarinen2006-09-16
| | | | | | | | | | switching should be more efficient and tasks are stored in linked lists to eliminate unnecessary task switching to improve performance. Audio should no longer skip on swcodec targets caused by too CPU hungry UI thread or background threads. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10958 a1c6a512-1295-4272-9138-f99709370657
* Cleanup threads.c by moving declarations inside structs.Miika Pekkarinen2006-09-02
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10853 a1c6a512-1295-4272-9138-f99709370657
* Fix profile buildsDaniel Ankers2006-08-24
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10734 a1c6a512-1295-4272-9138-f99709370657
* Threading changes in preparation for multiple core supportDaniel Ankers2006-08-21
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10681 a1c6a512-1295-4272-9138-f99709370657
* update the gigabeat code and move to target_treeMarcoen Hirschberg2006-08-12
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10535 a1c6a512-1295-4272-9138-f99709370657
* Sleep PP5020 CPU on idle.Thom Johansen2006-02-08
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8632 a1c6a512-1295-4272-9138-f99709370657
* ARM: r12 is scratch, so don't save it.Thom Johansen2006-01-31
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8505 a1c6a512-1295-4272-9138-f99709370657
* Profiling support, tools and documentation.Brandon Low2006-01-18
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8375 a1c6a512-1295-4272-9138-f99709370657
* Work-in-progress iriver iFP-7xx port by Tomasz MalesinskiDave Chapman2006-01-12
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8342 a1c6a512-1295-4272-9138-f99709370657
* Add interrupt handler for iPod. Add timer tick support. Remove temporary ↵Thom Johansen2005-12-12
| | | | | | thread sleep solution. Remove temporary iPod current_tick solution. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8224 a1c6a512-1295-4272-9138-f99709370657
* Make threading code for iPod compile on all ARM CPUs, comment out sleep loop ↵Thom Johansen2005-12-10
| | | | | | until we have iPod interrupts. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8214 a1c6a512-1295-4272-9138-f99709370657
* Shave off an instruction by use of conditionals.Thom Johansen2005-11-15
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7896 a1c6a512-1295-4272-9138-f99709370657
* First attempt at iPod threading.Thom Johansen2005-11-13
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7852 a1c6a512-1295-4272-9138-f99709370657
* iPod: Code cleanup - the bootloader now compiles with zero warningsDave Chapman2005-11-11
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7812 a1c6a512-1295-4272-9138-f99709370657
* Initial commit of work-in-progress iPod portDave Chapman2005-11-07
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7781 a1c6a512-1295-4272-9138-f99709370657
* Two new sections for IRAM usage: .irodata (selectable with the ICONST_ATTR ↵Jens Arnold2005-10-19
| | | | | | attribute macro), allowing to put 'const' data into IRAM without causing a section type conflict, and .ibss (selectable with the IBSS_ATTR attribute macro) for uninitialised data. * Rockbox core: Adjusted the linker scripts and init code to not include the .ibss section in the binary, it is cleared instead. Saves ~500 bytes on archos and ~30KB on iriver. Codecs and plugins don't handle .ibss in a special way yet. * The init code properly handles empty sections now (except .stack, which should never be empty). * Unified the init code for SH1 and coldfire a bit. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7644 a1c6a512-1295-4272-9138-f99709370657
* Coldfire: Made the MACSR register part of the thread context to allow easier ↵Jens Arnold2005-09-01
| | | | | | handling in the codecs. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7445 a1c6a512-1295-4272-9138-f99709370657
* SH1: Tiny optimisation of the thread scheduler.Jens Arnold2005-08-26
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7406 a1c6a512-1295-4272-9138-f99709370657
* Added CPU_COLDFIRE define - one step closer to iAudio-portChristian Gmeiner2005-07-18
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7186 a1c6a512-1295-4272-9138-f99709370657
* Removed picky warningsLinus Nielsen Feltzing2005-07-12
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7116 a1c6a512-1295-4272-9138-f99709370657
* Thread scheduler reworked to be less dependent on compiler behaviour. Stack ↵Jens Arnold2005-06-10
| | | | | | overflow check is now possible on coldfire, enabled it. Unified code as much as possible. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6665 a1c6a512-1295-4272-9138-f99709370657
* Make sure the context functions are always inlined, independent of ↵Jens Arnold2005-05-23
| | | | | | optimisation level. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6512 a1c6a512-1295-4272-9138-f99709370657
* Gmini work:Jean-Philippe Bernardy2005-02-19
| | | | | | | | | * Better USB * Better comments * Better coding style git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6022 a1c6a512-1295-4272-9138-f99709370657
* Feature conditional compilation policyJean-Philippe Bernardy2005-02-13
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5940 a1c6a512-1295-4272-9138-f99709370657
* Feature conditional compilation policyJean-Philippe Bernardy2005-02-13
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5939 a1c6a512-1295-4272-9138-f99709370657
* more int -> longJean-Philippe Bernardy2005-01-24
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5656 a1c6a512-1295-4272-9138-f99709370657
* Oops, deadbeef is unsignedJean-Philippe Bernardy2005-01-24
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5653 a1c6a512-1295-4272-9138-f99709370657
* Gmini threadingJean-Philippe Bernardy2005-01-24
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5652 a1c6a512-1295-4272-9138-f99709370657
* Threading ported to ColdfireLinus Nielsen Feltzing2004-10-15
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5280 a1c6a512-1295-4272-9138-f99709370657
* MACH, MACL and SR are no longer part of the SH1 thread contextLinus Nielsen Feltzing2004-10-13
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5268 a1c6a512-1295-4272-9138-f99709370657
* Const policed pointer arguments to functions, part 1Jens Arnold2004-08-16
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4995 a1c6a512-1295-4272-9138-f99709370657
* More const policeing step 4Jens Arnold2004-08-03
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4983 a1c6a512-1295-4272-9138-f99709370657
* More const policeing step 3Jens Arnold2004-08-03
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4982 a1c6a512-1295-4272-9138-f99709370657
* switch_thread() now checks the stack of the current thread instead of the ↵Linus Nielsen Feltzing2004-06-22
| | | | | | next, to report stack errors sooner. I removed some TAB chars in the process. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4792 a1c6a512-1295-4272-9138-f99709370657
* remove_tread() -> remove_thread()Linus Nielsen Feltzing2004-06-22
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4788 a1c6a512-1295-4272-9138-f99709370657
* updated remove_thread(), should cover Linus' hintsJörg Hohensohn2004-05-01
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4570 a1c6a512-1295-4272-9138-f99709370657
* remove_thread() function added, for future dynamic thread creation by pluginsJörg Hohensohn2004-04-30
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4562 a1c6a512-1295-4272-9138-f99709370657
* Removed CPU Sleep setting. It's now permanently enabled.Björn Stenberg2003-03-12
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3434 a1c6a512-1295-4272-9138-f99709370657
* The power-saving SLEEP patch by Simon Elén.Björn Stenberg2003-02-14
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3259 a1c6a512-1295-4272-9138-f99709370657
* Moved switch_thread() and the thread context data to internal RAMLinus Nielsen Feltzing2002-08-01
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1500 a1c6a512-1295-4272-9138-f99709370657