Browse Source

fix medeleg typo

pull/17/head
Andrew Waterman 10 years ago
parent
commit
802f0cf1b5
  1. 3
      pk/minit.c

3
pk/minit.c

@ -31,7 +31,8 @@ static void delegate_traps()
uintptr_t interrupts = MIP_SSIP | MIP_STIP; uintptr_t interrupts = MIP_SSIP | MIP_STIP;
uintptr_t exceptions = uintptr_t exceptions =
(1U << CAUSE_MISALIGNED_FETCH) | (1U << CAUSE_MISALIGNED_FETCH) |
(1U << CAUSE_FAULT_FETCH | CAUSE_BREAKPOINT) | (1U << CAUSE_FAULT_FETCH) |
(1U << CAUSE_BREAKPOINT) |
(1U << CAUSE_FAULT_LOAD) | (1U << CAUSE_FAULT_LOAD) |
(1U << CAUSE_FAULT_STORE) | (1U << CAUSE_FAULT_STORE) |
(1U << CAUSE_BREAKPOINT) | (1U << CAUSE_BREAKPOINT) |

Loading…
Cancel
Save