Unverified Commit 7e9d2e5b authored by bors[bot]'s avatar bors[bot] Committed by GitHub
Browse files

Merge #68

68: Bug fix for interrupt bit in `scause::set` r=Disasm a=luojia65

This pull request includes a bug fix. On RISC-V's cause register, first bit means is this cause an interrupt. The code before made a mistake to or an one bit when exception. After this fix, it correctly or an one bit when interrupt.

Related to https://github.com/luojia65/rustsbi/issues/10

. Thank you @wyfcyx

Co-authored-by: default avatarluojia65 <me@luojia.cc>
parents a40253e1 f2354522
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment