-
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.
misc: general updates and improvements (#63)
* further improve docs * bump toolchain to `nightly-2024-01-13` * move linting to workspace (root `Cargo.toml`) * update dependencies * updated `riscv-rt` crate and handlers * fix grammaer in PR template * add sccache * update APT index before installing QEMU
- Loading branch information
1 parent
7884c26
commit 5fed92b
Showing
18 changed files
with
169 additions
and
215 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 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
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
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
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"); | ||
} |
Oops, something went wrong.