commit | 6dcaf00487ca10d87e53fc8decb2e30f113c955d | [log] [tgz] |
---|---|---|
author | Anup Patel <Anup.Patel@wdc.com> | Thu Apr 25 08:38:37 2019 +0000 |
committer | Palmer Dabbelt <palmer@sifive.com> | Thu May 16 20:42:11 2019 -0700 |
tree | c29258bf0e09194fe983e03278fa106f22fb87a0 | |
parent | 196a14d45161b320ec8bddf5321b1c5ed89f2d7f [diff] |
RISC-V: Add interrupt related SCAUSE defines in asm/csr.h This patch adds SCAUSE interrupt flag and SCAUSE interrupt related defines to asm/csr.h. We also use these defines in kernel/irq.c and express SIE/SIP flags in-terms of SCAUSE interrupt causes. Signed-off-by: Anup Patel <anup.patel@wdc.com> Reviewed-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Palmer Dabbelt <palmer@sifive.com>