Skip to content

Commit bec2e6a

Browse files
Christoph Hellwigpalmer-dabbelt
authored andcommitted
RISC-V: add a definition for the SIE SEIE bit
This mirrors the SIE_SSIE and SETE bits that are used in a similar fashion. Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Palmer Dabbelt <palmer@sifive.com>
1 parent 4b40e9d commit bec2e6a

File tree

1 file changed

+1
-0
lines changed
  • arch/riscv/include/asm

1 file changed

+1
-0
lines changed

arch/riscv/include/asm/csr.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@
5454
/* Interrupt Enable and Interrupt Pending flags */
5555
#define SIE_SSIE _AC(0x00000002, UL) /* Software Interrupt Enable */
5656
#define SIE_STIE _AC(0x00000020, UL) /* Timer Interrupt Enable */
57+
#define SIE_SEIE _AC(0x00000200, UL) /* External Interrupt Enable */
5758

5859
#define EXC_INST_MISALIGNED 0
5960
#define EXC_INST_ACCESS 1

0 commit comments

Comments
 (0)