summaryrefslogtreecommitdiff
path: root/firmware/thread.c
AgeCommit message (Collapse)Author
2004-06-22switch_thread() now checks the stack of the current thread instead of the ↵Linus Nielsen Feltzing
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
2004-06-22remove_tread() -> remove_thread()Linus Nielsen Feltzing
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4788 a1c6a512-1295-4272-9138-f99709370657
2004-05-01updated remove_thread(), should cover Linus' hintsJörg Hohensohn
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4570 a1c6a512-1295-4272-9138-f99709370657
2004-04-30remove_thread() function added, for future dynamic thread creation by pluginsJörg Hohensohn
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4562 a1c6a512-1295-4272-9138-f99709370657
2003-03-12Removed CPU Sleep setting. It's now permanently enabled.Björn Stenberg
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3434 a1c6a512-1295-4272-9138-f99709370657
2003-02-14The power-saving SLEEP patch by Simon Elén.Björn Stenberg
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3259 a1c6a512-1295-4272-9138-f99709370657
2002-08-01Moved switch_thread() and the thread context data to internal RAMLinus Nielsen Feltzing
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1500 a1c6a512-1295-4272-9138-f99709370657
2002-07-15Added stack overflow checkLinus Nielsen Feltzing
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1358 a1c6a512-1295-4272-9138-f99709370657
2002-07-01Now fills the stack with 0xdeadbeefLinus Nielsen Feltzing
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1290 a1c6a512-1295-4272-9138-f99709370657
2002-06-25Demystified codeBjörn Stenberg
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1183 a1c6a512-1295-4272-9138-f99709370657
2002-06-19Always clear the status register (irq mask)Linus Nielsen Feltzing
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1067 a1c6a512-1295-4272-9138-f99709370657
2002-06-07Removed a warningLinus Nielsen Feltzing
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@921 a1c6a512-1295-4272-9138-f99709370657
2002-06-07Added init_threads functionLinus Nielsen Feltzing
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@920 a1c6a512-1295-4272-9138-f99709370657
2002-05-28Missing parenthesisLinus Nielsen Feltzing
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@767 a1c6a512-1295-4272-9138-f99709370657
2002-05-28create_thread now reserves room for PR on the stackLinus Nielsen Feltzing
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@762 a1c6a512-1295-4272-9138-f99709370657
2002-04-29Removed queue handling stuffLinus Nielsen Feltzing
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@316 a1c6a512-1295-4272-9138-f99709370657
2002-04-28Started work on event queues - NOT YET SAFELinus Nielsen Feltzing
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@310 a1c6a512-1295-4272-9138-f99709370657
2002-04-25Removed ugly CR/LF stuff. Removed some commentsLinus Nielsen Feltzing
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@231 a1c6a512-1295-4272-9138-f99709370657
2002-04-25More bugs killed. Now it may even work.Linus Nielsen Feltzing
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@230 a1c6a512-1295-4272-9138-f99709370657
2002-04-25huh sorry macl and mach was misplaced in the regs part of the structure.Alan Korr
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@229 a1c6a512-1295-4272-9138-f99709370657
2002-04-25Add registers macl and mach in save and restore context functions.Alan Korr
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@228 a1c6a512-1295-4272-9138-f99709370657
2002-04-25fix an error i did. It should be right nowAlan Korr
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@227 a1c6a512-1295-4272-9138-f99709370657
2002-04-25well there was a big bug (read more carefully the instruction descriptions) ;)Alan Korr
you can find why commented in the source i'll fix it, but not test it git-svn-id: svn://svn.rockbox.org/rockbox/trunk@226 a1c6a512-1295-4272-9138-f99709370657
2002-04-25Not yet workingLinus Nielsen Feltzing
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@220 a1c6a512-1295-4272-9138-f99709370657
2002-04-24Removed some TAB charactersLinus Nielsen Feltzing
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@211 a1c6a512-1295-4272-9138-f99709370657
2002-04-24Protected the temporary register in the context switchesLinus Nielsen Feltzing
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@210 a1c6a512-1295-4272-9138-f99709370657
2002-04-22The indent police strikes again!Björn Stenberg
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@181 a1c6a512-1295-4272-9138-f99709370657
2002-04-22Changed __asm__ to asmLinus Nielsen Feltzing
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@180 a1c6a512-1295-4272-9138-f99709370657
2002-04-22Even nicer inline assemblyLinus Nielsen Feltzing
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@179 a1c6a512-1295-4272-9138-f99709370657
2002-04-22Adapted the context switch to SH1Linus Nielsen Feltzing
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@174 a1c6a512-1295-4272-9138-f99709370657
2002-04-22simple collaborate multitasking scheduler donated to us by Ulf RalbergDaniel Stenberg
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@170 a1c6a512-1295-4272-9138-f99709370657