Skip to content
This repository has been archived by the owner on Feb 29, 2024. It is now read-only.

Interaction between Ssmpu and mstatus.TVM/hstatus.VTVM? #18

Open
dramforever opened this issue May 14, 2022 · 0 comments
Open

Interaction between Ssmpu and mstatus.TVM/hstatus.VTVM? #18

dramforever opened this issue May 14, 2022 · 0 comments

Comments

@dramforever
Copy link

It is not mentioned in the Ssmpu specification what happens if the smpu* CSRs are accessed in S-mode with mstatus.TVM = 1, or in VS-mode with hstatus.VTVM = 1. It seems reasonable to assume that doing so raises an Illegal Instruction exception or a Virtual Instruction Fault exception, respectively, but it might be a good idea to spell it out.

@dramforever dramforever changed the title Interaction between Ssmpu and mstatus.TVM/hstatus.VTVM Interaction between Ssmpu and mstatus.TVM/hstatus.VTVM? May 14, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant