You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/// Defined in in the [Smepmp](https://raw.githubusercontent.com/riscv/riscv-tee/main/Smepmp/Smepmp.pdf) extension.
21
+
mml:0,
22
+
}
23
+
24
+
read_write_csr_field!{
25
+
Mseccfg,
26
+
/// Machine-Mode Whitelist Policy
27
+
///
28
+
/// # Note
29
+
///
30
+
/// Defined in in the [Smepmp](https://raw.githubusercontent.com/riscv/riscv-tee/main/Smepmp/Smepmp.pdf) extension.
31
+
mmwp:1,
32
+
}
33
+
34
+
read_write_csr_field!{
35
+
Mseccfg,
36
+
/// Rule Locking Bypass
37
+
///
38
+
/// # Note
39
+
///
40
+
/// Defined in in the [Smepmp](https://raw.githubusercontent.com/riscv/riscv-tee/main/Smepmp/Smepmp.pdf) extension.
41
+
rlb:2,
42
+
}
43
+
44
+
read_write_csr_field!{
45
+
Mseccfg,
46
+
/// User-mode seed
47
+
///
48
+
/// # Note
49
+
///
50
+
/// Defined in in the [Zkr](https://github.com/riscv/riscv-crypto/releases/download/v1.0.1-scalar/riscv-crypto-spec-scalar-v1.0.1.pdf) extension.
51
+
useed:8,
52
+
}
53
+
54
+
read_write_csr_field!{
55
+
Mseccfg,
56
+
/// Supervisor-mode seed
57
+
///
58
+
/// # Note
59
+
///
60
+
/// Defined in in the [Zkr](https://github.com/riscv/riscv-crypto/releases/download/v1.0.1-scalar/riscv-crypto-spec-scalar-v1.0.1.pdf) extension.
61
+
sseed:9,
62
+
}
63
+
64
+
read_write_csr_field!{
65
+
Mseccfg,
66
+
/// Machine-mode Landing Pad Enable
67
+
///
68
+
/// # Note
69
+
///
70
+
/// Defined in in the [Zicfilp](https://github.com/riscv/riscv-cfi/releases/download/v1.0/riscv-cfi.pdf) extension.
71
+
mlpe:10,
72
+
}
73
+
74
+
csr_field_enum!{
75
+
/// Pointer Masking Machine-mode
76
+
PMM{
77
+
default:Disabled,
78
+
Disabled = 0,
79
+
EnabledXlen57 = 2,
80
+
EnabledXlen48 = 3,
81
+
}
82
+
}
83
+
84
+
#[cfg(not(target_arch = "riscv32"))]
85
+
read_write_csr_field!{
86
+
Mseccfg,
87
+
/// Pointer Masking Machine-mode
88
+
///
89
+
/// # Note
90
+
///
91
+
/// Defined in in the [Smmpm](https://github.com/riscv/riscv-j-extension/releases/download/pointer-masking-ratified/pointer-masking-ratified.pdf) extension.
0 commit comments