Skip to content

Debugger cannot regain control after core executes WFI #11

@quic-egmc

Description

@quic-egmc

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.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions