Skip to content
This repository was archived by the owner on Nov 7, 2022. It is now read-only.

Commit 719aeae

Browse files
committed
Bump to version 5.1.3
1 parent 7c06962 commit 719aeae

File tree

2 files changed

+8
-6
lines changed

2 files changed

+8
-6
lines changed

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "cortex-a"
3-
version = "5.1.2"
3+
version = "5.1.3"
44
authors = ["Andre Richter <[email protected]>"]
55
description = "Low level access to Cortex-A processors"
66
homepage = "https://github.com/rust-embedded/cortex-a"

src/regs/scr_el3.rs

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ register_bitfields! {u64,
4141
/// Hypervisor Call Enable
4242
///
4343
/// 0 The HVC instruction is undefined at all exception levels.
44-
/// 1 The HVC instruction is enabled at EL1, EL2, or EL3
44+
/// 1 The HVC instruction is enabled at EL1, EL2, or EL3.
4545
HCE OFFSET(8) NUMBITS(1) [
4646
HvcDisabled = 0,
4747
HvcEnabled = 1
@@ -50,17 +50,19 @@ register_bitfields! {u64,
5050
/// Secure Monitor call Disable
5151
///
5252
/// 0 The SMC instruction is enabled at EL1, EL2, and EL3.
53+
///
5354
/// 1 The SMC instruction is undefined at all exception levels. At EL1, in the Non-secure
54-
/// state, the HCR_EL2.TSC bit has priority over this control.
55+
/// state, the HCR_EL2.TSC bit has priority over this control.
5556
SMD OFFSET(7) NUMBITS(1) [
5657
SmcEnabled = 0,
5758
SmcDisabled = 1
5859
],
5960

6061
/// Non-secure bit.
61-
/// * 0b0 Indicates that EL0 and EL1 are in Secure state.
62-
/// * 0b1 Indicates that Exception levels lower than EL3 are in Non-secure state,
63-
/// and so memory accesses from those Exception levels cannot access Secure memory.
62+
/// 0 Indicates that EL0 and EL1 are in Secure state.
63+
///
64+
/// 1 Indicates that Exception levels lower than EL3 are in Non-secure state, and so memory
65+
/// accesses from those Exception levels cannot access Secure memory.
6466
///
6567
/// When SCR_EL3.{EEL2, NS} == {1, 0}, then EL2 is using AArch64 and in Secure state.
6668
NS OFFSET(0) NUMBITS(1) [

0 commit comments

Comments
 (0)