File tree Expand file tree Collapse file tree 16 files changed +43
-18
lines changed
uefi-test-runner/src/proto Expand file tree Collapse file tree 16 files changed +43
-18
lines changed Original file line number Diff line number Diff line change
1
+ name : QA
2
+
3
+ on : [ push, pull_request ]
4
+
5
+ jobs :
6
+ spellcheck :
7
+ name : Spellcheck
8
+ runs-on : ubuntu-22.04
9
+ steps :
10
+ - uses : actions/checkout@v3
11
+ # Executes "typos ."
12
+ - uses : crate-ci/typos@v1.13.20
Original file line number Diff line number Diff line change
1
+ # Configuration for the typos spell checker utility (<https://github.com/crate-ci/typos>).
2
+
3
+ [files ]
4
+ extend-exclude = [
5
+ # "uefi/src/table/boot.rs"
6
+ ]
7
+
8
+ [default .extend-words ]
9
+ # FOOBAR = "FOOBAR"
10
+
11
+ [default .extend-identifiers ]
12
+ # FOOBAR = "FOOBAR"
13
+
Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ which crates were modified and how should their version numbers be incremented.
15
15
16
16
Incrementing the version number of a crate is as simple as editing
17
17
the corresponding ` Cargo.toml ` file and updating the ` version = ... ` line,
18
- then commiting the change (preferrably on a new branch, so that all of the version bumps
18
+ then committing the change (preferably on a new branch, so that all the version bumps
19
19
can be combined in a single pull request).
20
20
21
21
### Crate dependencies
Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ systems too. There are a couple big advantages of using GPT over MBR:
10
10
11
11
A GPT disk contains a primary header near the beginning of the disk,
12
12
followed by a partition entry array. The header and partition entry
13
- array have a secondary copy at the end of the disk for redundency . The
13
+ array have a secondary copy at the end of the disk for redundancy . The
14
14
partition entry arrays contain structures that describe each partition,
15
15
including a GUID to identify the individual partition, a partition type
16
16
GUID to indicate the purpose of the partition, and start/end block
Original file line number Diff line number Diff line change @@ -96,7 +96,7 @@ fn test_invalidate_instruction_cache(debug_support: &mut DebugSupport) {
96
96
debug_support
97
97
. invalidate_instruction_cache ( 0 , ptr, 64 )
98
98
// Should always pass, since the spec says this always returns EFI_SUCCESS
99
- . expect ( "Error occured while invalidating instruction cache" ) ;
99
+ . expect ( "Error occurred while invalidating instruction cache" ) ;
100
100
}
101
101
}
102
102
Original file line number Diff line number Diff line change @@ -176,7 +176,7 @@ mod tests {
176
176
assert_eq ! ( X :: round_up_to_alignment( 7 ) , 8 ) ;
177
177
assert_eq ! ( X :: round_up_to_alignment( 8 ) , 8 ) ;
178
178
179
- // Get an intentionally mis-aligned buffer.
179
+ // Get an intentionally misaligned buffer.
180
180
let mut buffer = [ 0u8 ; 16 ] ;
181
181
let mut buffer = & mut buffer[ ..] ;
182
182
if ( buffer. as_ptr ( ) as usize ) % X :: alignment ( ) == 0 {
Original file line number Diff line number Diff line change @@ -631,7 +631,7 @@ impl<'gop> FrameBuffer<'gop> {
631
631
/// # Safety
632
632
///
633
633
/// This operation is unsafe because...
634
- /// - It is your reponsibility to make sure that the value type makes sense
634
+ /// - It is your responsibility to make sure that the value type makes sense
635
635
/// - You must honor the pixel format and stride specified by the mode info
636
636
/// - There is no bound checking on memory accesses in release mode
637
637
#[ inline]
@@ -653,7 +653,7 @@ impl<'gop> FrameBuffer<'gop> {
653
653
/// # Safety
654
654
///
655
655
/// This operation is unsafe because...
656
- /// - It is your reponsibility to make sure that the value type makes sense
656
+ /// - It is your responsibility to make sure that the value type makes sense
657
657
/// - You must honor the pixel format and stride specified by the mode info
658
658
/// - There is no bound checking on memory accesses in release mode
659
659
#[ inline]
Original file line number Diff line number Diff line change @@ -27,7 +27,7 @@ impl<'boot> Pointer<'boot> {
27
27
( self . reset ) ( self , extended_verification) . into ( )
28
28
}
29
29
30
- /// Retrieves the pointer device's current state, if a state change occured
30
+ /// Retrieves the pointer device's current state, if a state change occurred
31
31
/// since the last time this function was called.
32
32
///
33
33
/// Use `wait_for_input_event()` with the `BootServices::wait_for_event()`
Original file line number Diff line number Diff line change 1
1
// note from the spec:
2
2
// When the context record field is larger than the register being stored in it, the upper bits of the
3
3
// context record field are unused and ignored
4
- /// Universal EFI_SYSTEM_CONTEXT defintion
4
+ /// Universal EFI_SYSTEM_CONTEXT definition
5
5
/// This is passed to debug callbacks
6
6
#[ repr( C ) ]
7
7
pub union SystemContext {
Original file line number Diff line number Diff line change 1
1
//! Device Path protocol
2
2
//!
3
3
//! A UEFI device path is a very flexible structure for encoding a
4
- //! programatic path such as a hard drive or console.
4
+ //! programmatic path such as a hard drive or console.
5
5
//!
6
6
//! A device path is made up of a packed list of variable-length nodes of
7
7
//! various types. The entire device path is terminated with an
You can’t perform that action at this time.
0 commit comments