summaryrefslogtreecommitdiff
path: root/firmware/SOURCES
diff options
context:
space:
mode:
authorMichael Sevakis <jethead71@rockbox.org>2008-03-25 02:34:12 +0000
committerMichael Sevakis <jethead71@rockbox.org>2008-03-25 02:34:12 +0000
commit27cf67733936abd75fcb1f8da765977cd75906ee (patch)
treef894211a8a0c77b402dd3250b2bee2d17dcfe13f /firmware/SOURCES
parentbc2f8fd8f38a3e010cd67bbac358f6e9991153c6 (diff)
downloadrockbox-27cf67733936abd75fcb1f8da765977cd75906ee.tar.gz
rockbox-27cf67733936abd75fcb1f8da765977cd75906ee.zip
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/SOURCES12
1 files changed, 11 insertions, 1 deletions
diff --git a/firmware/SOURCES b/firmware/SOURCES
index 6ef129f4b9..0a8ac2a8e3 100644
--- a/firmware/SOURCES
+++ b/firmware/SOURCES
@@ -9,11 +9,11 @@ usb.c
9#ifdef ROCKBOX_HAS_LOGF 9#ifdef ROCKBOX_HAS_LOGF
10logf.c 10logf.c
11#endif /* ROCKBOX_HAS_LOGF */ 11#endif /* ROCKBOX_HAS_LOGF */
12kernel.c
12#ifndef SIMULATOR 13#ifndef SIMULATOR
13#ifdef RB_PROFILE 14#ifdef RB_PROFILE
14profile.c 15profile.c
15#endif /* RB_PROFILE */ 16#endif /* RB_PROFILE */
16kernel.c
17rolo.c 17rolo.c
18thread.c 18thread.c
19timer.c 19timer.c
@@ -274,6 +274,10 @@ target/sh/archos/descramble.S
274 274
275#ifndef SIMULATOR 275#ifndef SIMULATOR
276target/coldfire/crt0.S 276target/coldfire/crt0.S
277#ifdef HAVE_PRIORITY_SCHEDULING
278common/ffs.c
279target/coldfire/ffs-coldfire.S
280#endif
277target/coldfire/memcpy-coldfire.S 281target/coldfire/memcpy-coldfire.S
278target/coldfire/memmove-coldfire.S 282target/coldfire/memmove-coldfire.S
279target/coldfire/memset-coldfire.S 283target/coldfire/memset-coldfire.S
@@ -299,6 +303,9 @@ common/strlen.c
299#ifndef SIMULATOR 303#ifndef SIMULATOR
300target/arm/memset-arm.S 304target/arm/memset-arm.S
301target/arm/memset16-arm.S 305target/arm/memset16-arm.S
306#ifdef HAVE_PRIORITY_SCHEDULING
307target/arm/ffs-arm.S
308#endif
302#if CONFIG_I2C == I2C_PP5024 || CONFIG_I2C == I2C_PP5020 || CONFIG_I2C == I2C_PP5002 309#if CONFIG_I2C == I2C_PP5024 || CONFIG_I2C == I2C_PP5020 || CONFIG_I2C == I2C_PP5002
303target/arm/i2c-pp.c 310target/arm/i2c-pp.c
304#elif CONFIG_I2C == I2C_PNX0101 311#elif CONFIG_I2C == I2C_PNX0101
@@ -345,6 +352,9 @@ target/arm/crt0.S
345 352
346#else 353#else
347 354
355#ifdef HAVE_PRIORITY_SCHEDULING
356common/ffs.c
357#endif
348common/memcpy.c 358common/memcpy.c
349common/memmove.c 359common/memmove.c
350common/memset.c 360common/memset.c