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

mvien[1] #77

Open
Mei-x-l opened this issue Apr 22, 2024 · 1 comment
Open

mvien[1] #77

Mei-x-l opened this issue Apr 22, 2024 · 1 comment

Comments

@Mei-x-l
Copy link

Mei-x-l commented Apr 22, 2024

1.mvien[1] =0 , external interrupt controller give a intrrupt setting mip.ssip = 1
2.should mvip.ssip[1] change from 0 to 1 ?

@Mei-x-l Mei-x-l closed this as completed Apr 22, 2024
@Mei-x-l Mei-x-l changed the title when mideleg[1] mvien[1] Apr 22, 2024
@Mei-x-l Mei-x-l reopened this Apr 22, 2024
@jhauser-us
Copy link
Collaborator

The AIA document in Section 5.3, "Interrupt filtering and virtual interrupts for supervisor level", says,

When bit 1 of mvien is zero, bit 1 of mvip is an alias of the same bit (SSIP) of mip.

So when mvien[1] = 0, mip.SSIP and mvip.SSIP are two views of the same bit. If mip.SSIP changes, mvip.SSIP obviously also changes, as they are actually the same bit.

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