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

Debugger cannot regain control after core executes WFI #11

Open
quic-egmc opened this issue Aug 28, 2024 · 0 comments
Open

Debugger cannot regain control after core executes WFI #11

quic-egmc opened this issue Aug 28, 2024 · 0 comments
Assignees

Comments

@quic-egmc
Copy link
Contributor

We need a way for a debugger to regain control while the core is in in WFI.

The RISC-V Debug Specification states in section 4.3:

If halt is requested while wfi is executing, then the hart must leave the stalled state, completing this
instruction’s execution, and then enter Debug Mode.

So we need something equivalent to this behavior.

@eyck eyck self-assigned this Aug 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants