diff options
| author | Heinrich Schuchardt <[email protected]> | 2024-08-11 16:41:23 +0200 |
|---|---|---|
| committer | Leo Yu-Chi Liang <[email protected]> | 2024-09-10 10:10:43 +0800 |
| commit | 1806fed0ce6b56365ecf6b84ce6d17aafd3af979 (patch) | |
| tree | 90341ef7d622f94ead77cfa57c05d6b32ba2298c /doc/develop/bootstd | |
| parent | 4a36d217bb131ec82cdb9a010221d6ae420aaf1b (diff) | |
cmd: add rdcycle test to RISC-V exception command
Some versions of KVM don't allow access to the cycle CSR.
Provide a command 'exception rdcycle' for testing.
If the cycle CSR is accessible, we get an output like:
=> exception rdcycle
cycle = 0x41f7563de
If the cycle CSR is not accessible, we get an output like:
=> exception rdcycle
Unhandled exception: Illegal instruction
Put subcommands into alphabetical order in long help.
Signed-off-by: Heinrich Schuchardt <[email protected]>
Reviewed-by: Leo Yu-Chi Liang <[email protected]>
Diffstat (limited to 'doc/develop/bootstd')
0 files changed, 0 insertions, 0 deletions
