aboutsummaryrefslogtreecommitdiffstats
path: root/src/generic/armcm_irq.c
Commit message (Collapse)AuthorAgeFilesLines
* armcm_irq: Fix jump target alignmentKevin O'Connor2018-10-131-2/+2
| | | | | | The jump target needs to be 4 byte aligned (not 2^4 bytes). Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* armcm_irq: Enhance clear_active_irq() so it works on cortex-m0Kevin O'Connor2018-08-061-2/+3
| | | | | | | Minor rework of the assembler so that it does not require thumb-2 instructions. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* irq: Support sleeping when mcu is idleKevin O'Connor2017-07-171-0/+6
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* build: Use compile_time_request system for init, tasks, and shutdownKevin O'Connor2017-05-261-1/+1
| | | | | | | | Avoid using linker magic to define the init, task, and shutdown functions. Instead, use the compile_time_request system. This simplifies the build and produces more efficient code. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* irq: Add an irq_poll() stub for board codeKevin O'Connor2017-05-151-0/+5
| | | | | | | Allow the board specific code to run checks prior to running each task. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* armcm_irq: Move ARM Cortex-M irq handling to new fileKevin O'Connor2017-02-191-0/+58
The irq handling in sam3x8e isn't specific to the sam3x8e proccessor - it's generic for all armcm type machines. So, move the definitions into a new file generic/armcm-irq.c Signed-off-by: Kevin O'Connor <kevin@koconnor.net>