Skip to content

Commit bfe8601

Browse files
authored
MTRR: LF to CRLF conversions (#4)
No functional change. LF to CRLF conversions only. Below git config was not set in my setup due to which git is doing auto conversions behind the scenes git config --global core.autocrlf false Signed-off-by: Vineel Kovvuri[MSFT] <[email protected]>
1 parent 25a88e3 commit bfe8601

File tree

10 files changed

+5476
-5476
lines changed

10 files changed

+5476
-5476
lines changed

src/error.rs

Lines changed: 22 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,22 @@
1-
pub type MtrrResult<T> = Result<T, MtrrError>;
2-
3-
/// MTRR error types
4-
#[derive(Debug, PartialEq)]
5-
pub enum MtrrError {
6-
/// MTRR not supported
7-
MtrrNotSupported,
8-
/// The number of variable mtrr required to program the ranges are exhausted
9-
VariableRangeMtrrExhausted,
10-
/// The address not aligned
11-
FixedRangeMtrrBaseAddressNotAligned,
12-
/// The length not aligned
13-
FixedRangeMtrrLengthNotAligned,
14-
/// Invalid parameter
15-
InvalidParameter,
16-
/// Internal error
17-
BufferTooSmall,
18-
/// Internal error
19-
OutOfResources,
20-
/// Internal error
21-
AlreadyStarted,
22-
}
1+
pub type MtrrResult<T> = Result<T, MtrrError>;
2+
3+
/// MTRR error types
4+
#[derive(Debug, PartialEq)]
5+
pub enum MtrrError {
6+
/// MTRR not supported
7+
MtrrNotSupported,
8+
/// The number of variable mtrr required to program the ranges are exhausted
9+
VariableRangeMtrrExhausted,
10+
/// The address not aligned
11+
FixedRangeMtrrBaseAddressNotAligned,
12+
/// The length not aligned
13+
FixedRangeMtrrLengthNotAligned,
14+
/// Invalid parameter
15+
InvalidParameter,
16+
/// Internal error
17+
BufferTooSmall,
18+
/// Internal error
19+
OutOfResources,
20+
/// Internal error
21+
AlreadyStarted,
22+
}

0 commit comments

Comments
 (0)