diff options
| author | Michael Sevakis <jethead71@rockbox.org> | 2008-03-25 02:34:12 +0000 |
|---|---|---|
| committer | Michael Sevakis <jethead71@rockbox.org> | 2008-03-25 02:34:12 +0000 |
| commit | 27cf67733936abd75fcb1f8da765977cd75906ee (patch) | |
| tree | f894211a8a0c77b402dd3250b2bee2d17dcfe13f /firmware/SOURCES | |
| parent | bc2f8fd8f38a3e010cd67bbac358f6e9991153c6 (diff) | |
| download | rockbox-27cf67733936abd75fcb1f8da765977cd75906ee.zip rockbox-27cf67733936abd75fcb1f8da765977cd75906ee.tar.gz rockbox-27cf67733936abd75fcb1f8da765977cd75906ee.tar.bz2 rockbox-27cf67733936abd75fcb1f8da765977cd75906ee.tar.xz | |
Add a complete priority inheritance implementation to the scheduler (all mutex ownership and queue_send calls are inheritable). Priorities are differential so that dispatch depends on the runnable range of priorities. Codec priority can therefore be raised in small steps (pcmbuf updated to enable). Simplify the kernel functions to ease implementation and use the same kernel.c for both sim and target (I'm tired of maintaining two ;_). 1) Not sure if a minor audio break at first buffering issue will exist on large-sector disks (the main mutex speed issue was genuinely resolved earlier). At this point it's best dealt with at the buffering level. It seems a larger filechunk could be used again. 2) Perhaps 64-bit sims will have some minor issues (finicky) but a backroll of the code of concern there is a 5-minute job. All kernel objects become incompatible so a full rebuild and update is needed.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16791 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/SOURCES')
| -rw-r--r-- | firmware/SOURCES | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/firmware/SOURCES b/firmware/SOURCES index 6ef129f..0a8ac2a 100644 --- a/firmware/SOURCES +++ b/firmware/SOURCES @@ -9,11 +9,11 @@ usb.c #ifdef ROCKBOX_HAS_LOGF logf.c #endif /* ROCKBOX_HAS_LOGF */ +kernel.c #ifndef SIMULATOR #ifdef RB_PROFILE profile.c #endif /* RB_PROFILE */ -kernel.c rolo.c thread.c timer.c @@ -274,6 +274,10 @@ target/sh/archos/descramble.S #ifndef SIMULATOR target/coldfire/crt0.S +#ifdef HAVE_PRIORITY_SCHEDULING +common/ffs.c +target/coldfire/ffs-coldfire.S +#endif target/coldfire/memcpy-coldfire.S target/coldfire/memmove-coldfire.S target/coldfire/memset-coldfire.S @@ -299,6 +303,9 @@ common/strlen.c #ifndef SIMULATOR target/arm/memset-arm.S target/arm/memset16-arm.S +#ifdef HAVE_PRIORITY_SCHEDULING +target/arm/ffs-arm.S +#endif #if CONFIG_I2C == I2C_PP5024 || CONFIG_I2C == I2C_PP5020 || CONFIG_I2C == I2C_PP5002 target/arm/i2c-pp.c #elif CONFIG_I2C == I2C_PNX0101 @@ -345,6 +352,9 @@ target/arm/crt0.S #else +#ifdef HAVE_PRIORITY_SCHEDULING +common/ffs.c +#endif common/memcpy.c common/memmove.c common/memset.c |