-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
557cd22
commit f9a740e
Showing
5 changed files
with
41 additions
and
73 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
15 changes: 15 additions & 0 deletions
15
code/uncore/src/library/arch/risc_v/interrupts_exceptions.rs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
// SPDX-License-Identifier: GPL-3.0-or-later | ||
|
||
//! Contains all interrupt handlers. These handlers are set up by [`riscv-rt`]. | ||
|
||
/// This function is used by [`riscv-rt`] to provide an exception handler. | ||
#[export_name = "ExceptionHandler"] | ||
fn default_exception_handler(_trap_frame: &riscv_rt::TrapFrame) -> ! { | ||
todo!("Exception occurred but handler has not been written"); | ||
} | ||
|
||
/// This function is used by [`riscv-rt`] to provide an interrupt handler. | ||
#[export_name = "DefaultHandler"] | ||
fn default_interrupt_handler(_trap_frame: &riscv_rt::TrapFrame) -> ! { | ||
todo!("Exception occurred but handler has not been written"); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters