Skip to content

Commit 7630683

Browse files
committed
Fix documents on cycle and instret registers
1 parent fec65d8 commit 7630683

File tree

4 files changed

+4
-0
lines changed

4 files changed

+4
-0
lines changed

src/register/cycle.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
//! cycle register
2+
//!
23
//! Shadow of mcycle register
34
//! must have `scounteren::cy` or `mcounteren::cy` bit enabled depending on whether
45
//! S-mode is implemented or not

src/register/cycleh.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
//! cycleh register
2+
//!
23
//! Shadow of mcycleh register (rv32)
34
//! must have `scounteren::cy` or `mcounteren::cy` bit enabled depending on whether
45
//! S-mode is implemented or not

src/register/instret.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
//! instret register
2+
//!
23
//! Shadow of minstret register
34
//! must have `scounteren::ir` or `mcounteren::ir` bit enabled depending on whether
45
//! S-mode is implemented or not

src/register/instreth.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
//! instreth register
2+
//!
23
//! Shadow of minstreth register (rv32)
34
//! must have `scounteren::ir` or `mcounteren::ir` bit enabled depending on whether
45
//! S-mode is implemented or not

0 commit comments

Comments
 (0)