summaryrefslogtreecommitdiffstats
path: root/arch/metag/kernel/irq.c
diff options
context:
space:
mode:
authorJames Hogan <james.hogan@imgtec.com>2012-10-09 10:54:43 +0100
committerJames Hogan <james.hogan@imgtec.com>2013-03-02 20:09:45 +0000
commitac919f0883e53d7785745566692c8a0620abd7ea (patch)
tree521a0b0ddcab5176a1998d0b7b9faefde6e3f0ae /arch/metag/kernel/irq.c
parenta2c5d4ed92bbc02ff4a37efc2adffe7d145abe4f (diff)
downloadop-kernel-dev-ac919f0883e53d7785745566692c8a0620abd7ea.zip
op-kernel-dev-ac919f0883e53d7785745566692c8a0620abd7ea.tar.gz
metag: Traps
Add trap code for metag. At the lowest level Meta traps (and return from interrupt instruction - RTI) simply swap the PC and PCX registers and optionally toggle the interrupt status bit (ISTAT). Low level TBX code in tbipcx.S handles the core context save, determine the TBX signal number based on the core trigger that fired (using the TXSTATI status register), and call TBX signal handlers (mostly in traps.c) via a vector table. Signed-off-by: James Hogan <james.hogan@imgtec.com> Cc: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'arch/metag/kernel/irq.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud