diff options
author | Sylvain Munaut <tnt@246tNt.com> | 2010-09-14 20:48:58 +0200 |
---|---|---|
committer | Sylvain Munaut <tnt@246tNt.com> | 2010-09-17 20:52:40 +0200 |
commit | f06d54ed6fec78ec9c6dd106e5634b3a8c6a5220 (patch) | |
tree | 3ae047a5c2e23e9354e41372295ad067833f2655 /src/target/firmware/layer1/sync.c | |
parent | 7b3e80f64b87c568dcfe5213b0b117c97dce00dc (diff) |
fw/layer1: Add a priority field for sched_item
Each item has a priority associated to it. The standard is :
-4 -> Responses processing
-3 -> L1S parameters changes
-2 -> [Reserved for TPU window setup]
-1 -> (anything)
0..7 -> Commands relative to time slot n
(relative to current l1s main timeslot)
8 -> (anything)
9 -> [Reserved for TPU window cleanup]
10 -> (anthing)
Note that with this modification, an item scheduled for the
current frame from within a call back won't have its priority
respected !
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
Diffstat (limited to 'src/target/firmware/layer1/sync.c')
-rw-r--r-- | src/target/firmware/layer1/sync.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/target/firmware/layer1/sync.c b/src/target/firmware/layer1/sync.c index 7d7d29f6..7062fe63 100644 --- a/src/target/firmware/layer1/sync.c +++ b/src/target/firmware/layer1/sync.c @@ -307,7 +307,7 @@ static int l1s_abort_cmd(__unused uint8_t p1, __unused uint8_t p2, void l1s_dsp_abort(void) { /* abort right now */ - tdma_schedule(0, &l1s_abort_cmd, 0, 0, 0); + tdma_schedule(0, &l1s_abort_cmd, 0, 0, 0, 10); } void l1s_tx_apc_helper(void) |