Skip to content

Commit eb29d96

Browse files
committed
modify readme
1 parent 297aa6e commit eb29d96

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

riscv-semihosting/README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,10 @@ generally sufficient for using this library.
1818

1919
A major difference between this library and `cortex-m-semihosting` is that there
2020
are mandatory features to choose the privilege level at which the semihosting
21-
calls are executed. The "machine-mode" feature will cause the macros in `export`
21+
calls are executed. The *machine-mode (M-mode)* feature will cause the macros in `export`
2222
to execute the semihosting operation in an interrupt-free context, while
23-
"user-mode" causes them to just execute the operation. Failure to select one of
24-
these two features will cause a compiler error.
23+
*user-mode (U-mode)* causes them to just execute the operation.
24+
By default, M-mode is used. You can activate the U-mode via the `u-mode` feature.
2525

2626

2727
# Minimum Supported Rust Version (MSRV)

0 commit comments

Comments
 (0)