-
Notifications
You must be signed in to change notification settings - Fork 4
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
Describe the bug
After revision of MR #23 I noticed that I forgot to disable interrupts in panic() (sys/panic.c). The fix would be to acquire a permanent interrupt lock via cpu_interrupt_lock_acquire().
Feature request: add cpu_full_halt(), which:
- acquires interrupt reflock
- disallows force-unlock (set
allow_force_unlockflag to false) - calls
halt()
To Reproduce
Steps to reproduce the behavior:
- call
panic() - fire an interrupt
- that escapes panic state
Expected behavior
panic() does a full halt and is impossible to escape.
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working