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

Add dummy WFI implementation #470

Merged
merged 1 commit into from
Aug 18, 2024
Merged

Add dummy WFI implementation #470

merged 1 commit into from
Aug 18, 2024

Commits on Jul 21, 2024

  1. Add Wait for Interrupt instruction (WFI)

    The Wait for Interrupt instruction (WFI) provides a hint to the
    implementation that the current hart can be stalled until an
    interrupt might need servicing. As well, Linux kernel might call
    wait_for_interrupt() to enter idle state. In this commit, we
    could simply make PC + 4 and not really enter idle state.
    
    Related: sysprog21#310
    ChinYikMing committed Jul 21, 2024
    Configuration menu
    Copy the full SHA
    8ac3c95 View commit details
    Browse the repository at this point in the history