File tree Expand file tree Collapse file tree 2 files changed +32
-0
lines changed
Expand file tree Collapse file tree 2 files changed +32
-0
lines changed Original file line number Diff line number Diff line change @@ -9,6 +9,7 @@ mod actlr_el1;
99mod actlr_el2;
1010mod actlr_el3;
1111mod afsr0_el1;
12+ mod afsr1_el1;
1213mod amair_el1;
1314mod apdakeyhi_el1;
1415mod apdakeylo_el1;
@@ -148,6 +149,7 @@ pub use actlr_el1::ACTLR_EL1;
148149pub use actlr_el2:: ACTLR_EL2 ;
149150pub use actlr_el3:: ACTLR_EL3 ;
150151pub use afsr0_el1:: AFSR0_EL1 ;
152+ pub use afsr1_el1:: AFSR1_EL1 ;
151153pub use amair_el1:: AMAIR_EL1 ;
152154pub use apdakeyhi_el1:: APDAKEYHI_EL1 ;
153155pub use apdakeylo_el1:: APDAKEYLO_EL1 ;
Original file line number Diff line number Diff line change 1+ // SPDX-License-Identifier: Apache-2.0 OR MIT
2+ //
3+ // Copyright (c) 2025 by the author(s)
4+ //
5+ // Author(s):
6+ 7+
8+ //! Auxiliary Fault Status Register 1 - EL1
9+ //!
10+ //! Provides IMPLEMENTATION DEFINED fault status information for synchronous aborts that are taken to EL1.
11+
12+ use tock_registers:: interfaces:: { Readable , Writeable } ;
13+
14+ pub struct Reg ;
15+
16+ impl Readable for Reg {
17+ type T = u64 ;
18+ type R = ( ) ;
19+
20+ sys_coproc_read_raw ! ( u64 , "S3_0_C5_C1_1" , "x" ) ;
21+ }
22+
23+ impl Writeable for Reg {
24+ type T = u64 ;
25+ type R = ( ) ;
26+
27+ sys_coproc_write_raw ! ( u64 , "S3_0_C5_C1_1" , "x" ) ;
28+ }
29+
30+ pub const AFSR1_EL1 : Reg = Reg { } ;
You can’t perform that action at this time.
0 commit comments