From 36a50dd00f8c311ebe568a7885bec5eaf6c21e2d Mon Sep 17 00:00:00 2001 From: Solomon Peachy Date: Tue, 25 Dec 2018 22:28:14 -0500 Subject: mips: Use a separate IRQ stack & optimize IRQ handling a little Should prevent the IRQ-related stack overflows seen on MIPS targets. Change-Id: I447336ef3fe37e11b3276a78ba220ce64c2f87f5 --- firmware/target/mips/ingenic_jz47xx/app.lds | 3 +++ 1 file changed, 3 insertions(+) (limited to 'firmware/target/mips/ingenic_jz47xx/app.lds') diff --git a/firmware/target/mips/ingenic_jz47xx/app.lds b/firmware/target/mips/ingenic_jz47xx/app.lds index 85c332b182..acb1e86b4f 100644 --- a/firmware/target/mips/ingenic_jz47xx/app.lds +++ b/firmware/target/mips/ingenic_jz47xx/app.lds @@ -83,6 +83,9 @@ SECTIONS stackbegin = .; . += 0x2000; stackend = .; + irqstackbegin = .; + . += 0x400; + irqstackend = .; } > IRAM .bss (NOLOAD): -- cgit v1.2.3