Fix interrupt::free() unsoundness on multi-hart systems.
This is unsound on multi-hart because it only disables interrupts in the current hart. For multi-hart chips, a chip-specific critical section implementation is needed instead. Unsoundness is fixed by not returning the `CriticalSection` token. This is a breaking change.
parent
65db20e7
Please register or sign in to comment