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

Is hstatus.VGEIN used to index guest interupt files when accessing iCSR via VSISELECT/VSIREG window? #99

Open
zengderui opened this issue Oct 15, 2024 · 0 comments

Comments

@zengderui
Copy link

zengderui commented Oct 15, 2024

If I understand the spec correctly, each guest interrupt file has its own iCSR register file, and hstatus.VGEIN selects the iCSR file when VS-level iCSR files. E.g. when hstatus.VGEIN is 3 and VSISELECT is 0x70, accessing VSIREG ends up accessing eideilivery iCSR of guest interrupt file 3.

It seems the spec does not explicitly state how guest interrupt file is selected, I'd appreciate it if anyone clarifies it. Thanks in advance!

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

1 participant