summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 49b0405)
raw | patch | inline | side by side (parent: 49b0405)
author | Frank Livingston <frank-livingston@ti.com> | |
Thu, 2 Nov 2017 15:41:45 +0000 (10:41 -0500) | ||
committer | Frank Livingston <frank-livingston@ti.com> | |
Thu, 2 Nov 2017 15:41:45 +0000 (10:41 -0500) |
See sample_cs.c, edma3OsProtectExit():
EventCombiner_enableEvent(ccXferCompInt[edma3InstanceId][region_id]);
- ccXferCompInt[0][0] is set to 0x88.
- This causes overflow w.r.t. acceptable range 0-127 of argument to
EventCombiner_enableEvent(). Overflowed value is 0x8, which is event Id
associated with IPC.
- SYS/BIOS then expects IPC to be handled via handler associated with
Event Combiner instead of HWI #5.
No handler is registered for Event #8, so SYS/BIOS crashes.
EventCombiner_enableEvent(ccXferCompInt[edma3InstanceId][region_id]);
- ccXferCompInt[0][0] is set to 0x88.
- This causes overflow w.r.t. acceptable range 0-127 of argument to
EventCombiner_enableEvent(). Overflowed value is 0x8, which is event Id
associated with IPC.
- SYS/BIOS then expects IPC to be handled via handler associated with
Event Combiner instead of HWI #5.
No handler is registered for Event #8, so SYS/BIOS crashes.
pasdk/test_dsp/application/itopo/evmk2g/sample_k2g_cfg.c | patch | blob | history |
diff --git a/pasdk/test_dsp/application/itopo/evmk2g/sample_k2g_cfg.c b/pasdk/test_dsp/application/itopo/evmk2g/sample_k2g_cfg.c
index a3eff1955ce917828ec79a74ea42285380e8aa51..4dec6f9910c903620b2de2f420dfaddea8064bc1 100644 (file)
*/
unsigned int ccXferCompInt[NUM_EDMA3_INSTANCES][EDMA3_MAX_REGIONS] = {
{
- 0x88, 0x89, 0x8a, 0x8b,
+ 0x06, 0x89, 0x8a, 0x8b,
0x8c, 0x8d, 0x8e, 0x8f,
},
{
- 0x90, 0x91, 0x92, 0x93,
+ 0x07, 0x91, 0x92, 0x93,
0x94, 0x95, 0x96, 0x97,
},
};