summaryrefslogtreecommitdiffstats
path: root/rsnix/src/interrupts.rs
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--rsnix/src/interrupts.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/rsnix/src/interrupts.rs b/rsnix/src/interrupts.rs
index cbd234e..2b82a3d 100644
--- a/rsnix/src/interrupts.rs
+++ b/rsnix/src/interrupts.rs
@@ -256,7 +256,7 @@ struct IntFrame {
256} 256}
257 257
258/// Called from the asm common handler — dispatches to the right Rust handler. 258/// Called from the asm common handler — dispatches to the right Rust handler.
259#[no_mangle] 259#[unsafe(no_mangle)]
260unsafe extern "C" fn isr_dispatch(frame: &IntFrame) { 260unsafe extern "C" fn isr_dispatch(frame: &IntFrame) {
261 unsafe { 261 unsafe {
262 match frame.vector { 262 match frame.vector {
@@ -344,7 +344,7 @@ pub fn init() {
344// --------------------------------------------------------------------------- 344// ---------------------------------------------------------------------------
345// Extern symbols from global_asm! 345// Extern symbols from global_asm!
346// --------------------------------------------------------------------------- 346// ---------------------------------------------------------------------------
347extern "C" { 347unsafe extern "C" {
348 fn isr_stub_32(); 348 fn isr_stub_32();
349 fn isr_stub_33(); 349 fn isr_stub_33();
350 fn isr_stub_spurious(); 350 fn isr_stub_spurious();