Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Meaning of MIE_MCIP field in mie #51

Open
scanakci opened this issue Nov 28, 2021 · 2 comments
Open

Meaning of MIE_MCIP field in mie #51

scanakci opened this issue Nov 28, 2021 · 2 comments

Comments

@scanakci
Copy link

Hi,

While I was using dromajo, I noticed that mie has a MIE_MCIP field.

https://github.com/chipsalliance/dromajo/blob/master/src/riscv_cpu.cpp#L1215

I could not see this field in SPEC (it is reserved). Can you please let me know if this field is intentionally left there for any reason?

Thanks

@et-tommythorn
Copy link
Collaborator

It's complicated :) I think it reflects the hardware it was tested against, but clearly this fall under things that should be configurable. We don't currently have a way to configure this though and I'm debating the future of the configuration file.

Also, so of this dates back to pre-1.11 version of the privileged spec where some fields were different (and named differently).

Please let me know if this is a problem for you and you suggestions to better handling different machine configurations.

@scanakci
Copy link
Author

scanakci commented Dec 9, 2021

I see, thank you! It is not a problem on my end at all :) I just wanted to inform you in case that field is left there unintentionally. Please feel free to close the issue if you think that no action is required at this point.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants