File tree Expand file tree Collapse file tree 8 files changed +32
-10
lines changed Expand file tree Collapse file tree 8 files changed +32
-10
lines changed Original file line number Diff line number Diff line change 3737 strategy :
3838 matrix :
3939 toolchain : [ stable, nightly ]
40+ include :
41+ # Nightly is only for reference and allowed to fail
42+ - toolchain : nightly
43+ experimental : true
4044 runs-on : ubuntu-latest
4145 continue-on-error : ${{ matrix.experimental || false }}
4246 steps :
Original file line number Diff line number Diff line change 1+ on :
2+ push :
3+ branches : [ master ]
4+ pull_request :
5+ merge_group :
6+
7+ name : Spelling Check
8+
9+ jobs :
10+ spelling :
11+ runs-on : ubuntu-latest
12+ steps :
13+ - name : Checkout sources
14+ uses : actions/checkout@v4
15+ - name : typos
16+ uses : crate-ci/typos@master
Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ pub unsafe trait Plic: Copy {
2424 const BASE : usize ;
2525}
2626
27- /// Platform-Level Interrupt Controler (PLIC) peripheral.
27+ /// Platform-Level Interrupt Controller (PLIC) peripheral.
2828///
2929/// The RISC-V standard does not specify a fixed location for the PLIC.
3030/// Thus, each platform must specify the base address of the PLIC on the platform.
Original file line number Diff line number Diff line change @@ -58,7 +58,7 @@ fn main() {
5858 if let Ok ( target) = RiscvTarget :: build ( & target, & cargo_flags) {
5959 let width = target. width ( ) ;
6060
61- // set environmet variable RISCV_RT_BASE_ISA to the base ISA of the target.
61+ // set environment variable RISCV_RT_BASE_ISA to the base ISA of the target.
6262 println ! (
6363 "cargo:rustc-env=RISCV_RT_BASE_ISA={}" ,
6464 target. llvm_base_isa( )
Original file line number Diff line number Diff line change @@ -168,7 +168,7 @@ cfg_global_asm!(
168168 addi t0, t0, 8
169169 bltu t0, t2, 3b" ,
170170 "
171- 4: // RAM initilized " ,
171+ 4: // RAM initialized " ,
172172) ;
173173
174174// INITIALIZE FLOATING POINT UNIT
Original file line number Diff line number Diff line change 389389//!
390390//! ## `ExceptionHandler`
391391//!
392- //! This function is called when exception without defined exception handler is occured .
392+ //! This function is called when exception without defined exception handler is occurred .
393393//! The exception reason can be decoded from the `mcause`/`scause` register.
394394//!
395395//! This function can be redefined in the following way:
412412//!
413413//! ## Core interrupt handlers
414414//!
415- //! This functions are called when corresponding interrupt is occured .
415+ //! This functions are called when corresponding interrupt is occurred .
416416//! You can define a core interrupt handler with the [`core_interrupt`] attribute.
417417//! The attribute expects the path to the interrupt source as an argument.
418418//!
441441//!
442442//! ## External interrupt handlers
443443//!
444- //! This functions are called when corresponding interrupt is occured .
444+ //! This functions are called when corresponding interrupt is occurred .
445445//! You can define an external interrupt handler with the [`external_interrupt`] attribute.
446446//! The attribute expects the path to the interrupt source as an argument.
447447//!
453453//!
454454//! ## `DefaultHandler`
455455//!
456- //! This function is called when interrupt without defined interrupt handler is occured .
456+ //! This function is called when interrupt without defined interrupt handler is occurred .
457457//! The interrupt reason can be decoded from the `mcause`/`scause` register.
458458//! If it is an external interrupt, the interrupt reason can be decoded from a
459459//! target-specific peripheral interrupt controller.
Original file line number Diff line number Diff line change @@ -721,7 +721,7 @@ macro_rules! write_only_csr {
721721 } ;
722722}
723723
724- /// Defines field accesor functions for a read-write CSR type.
724+ /// Defines field accessor functions for a read-write CSR type.
725725#[ macro_export]
726726macro_rules! read_write_csr_field {
727727 ( $ty: ident,
@@ -804,7 +804,7 @@ macro_rules! read_write_csr_field {
804804 } ;
805805}
806806
807- /// Defines field accesor functions for a read-only CSR type.
807+ /// Defines field accessor functions for a read-only CSR type.
808808#[ macro_export]
809809macro_rules! read_only_csr_field {
810810 ( $ty: ident,
@@ -899,7 +899,7 @@ macro_rules! read_only_csr_field {
899899 } ;
900900}
901901
902- /// Defines field accesor functions for a write-only CSR type.
902+ /// Defines field accessor functions for a write-only CSR type.
903903#[ macro_export]
904904macro_rules! write_only_csr_field {
905905 ( $ty: ident,
Original file line number Diff line number Diff line change 1+ [default ]
2+ extend-ignore-re = [" [Ss][Ii][Ee]" , " [Ss][Xx][Ll]" ]
You can’t perform that action at this time.
0 commit comments