Thomas Martitz
cc889e9d60
Change the thread api a bit.
...
* Remove THREAD_ID_CURRENT macro in favor of a thread_self() function, this allows thread functions to be simpler.
* thread_self_entry() shortcut for kernel.c.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29521 a1c6a512-1295-4272-9138-f99709370657
2011-03-05 17:48:06 +00:00
Bertrik Sikken
c9a3419b9e
Add #include to power-ipod.c, make some variables static in storage.c
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27634 a1c6a512-1295-4272-9138-f99709370657
2010-07-31 10:59:22 +00:00
Frank Gevaerts
8d079a0bcb
No need to break after a return
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26398 a1c6a512-1295-4272-9138-f99709370657
2010-05-29 21:54:23 +00:00
Frank Gevaerts
acf98d9e7f
fix broken case handling in storage_present() and storage_removable(). Those were buggy for targets with a hotswappable drive *and* more than one storage driver (i.e. only the D2 was probably affected)
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26395 a1c6a512-1295-4272-9138-f99709370657
2010-05-29 20:44:09 +00:00
Frank Gevaerts
f8811835e0
use THREAD_ID_CURRENT instead of thread_get_current()
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25463 a1c6a512-1295-4272-9138-f99709370657
2010-04-03 22:43:36 +00:00
Frank Gevaerts
376d8d577f
Add IO priority handling. Currently all IO has equal priority, except the dircache scanning thread which is lower. This fixes the slow boot problem for me, with the added benefit that actual audio playback also starts faster.
...
Lots of the changes are due to changing storage_(read|write)sectors() from macros to wrapper functions. This means that they have to be called with IF_MD2(drive,) again.
Flyspray: FS#11167
Author: Frank Gevaerts
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25459 a1c6a512-1295-4272-9138-f99709370657
2010-04-03 22:02:09 +00:00
Michael Sparmann
f0a96580ae
Core changes to allow storage drivers to do cleanup on shutdown, and iPod Nano 2G shutdown code rework (FS#10668)
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23057 a1c6a512-1295-4272-9138-f99709370657
2009-10-09 20:36:09 +00:00
Frank Gevaerts
27a2564b78
svn properties, late as usual
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21936 a1c6a512-1295-4272-9138-f99709370657
2009-07-17 22:41:08 +00:00
Frank Gevaerts
92a7418415
don't try to call nand_soft_reset() or nand_disk_is_active(), they don't exist
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21934 a1c6a512-1295-4272-9138-f99709370657
2009-07-17 22:39:41 +00:00
Frank Gevaerts
c0a5a67387
Commit FS#9545, storage cleanup and multi-driver support
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21933 a1c6a512-1295-4272-9138-f99709370657
2009-07-17 22:28:49 +00:00
Frank Gevaerts
430343bca7
implement single-driver storage layer with macros instead of inlines
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18975 a1c6a512-1295-4272-9138-f99709370657
2008-11-02 01:14:46 +00:00
Frank Gevaerts
ad9db4de3d
Now also commit added files
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18961 a1c6a512-1295-4272-9138-f99709370657
2008-11-01 16:25:04 +00:00