Skip to content

Conversation

@jerryz123
Copy link
Collaborator

This addresses one issue raised in #1863. register_extension() is only called once, while reset() is called whenever the processor_t is reset. This ensures that extension_t state, including CSRs, is always reset with reset()

This addresses one issue raised in #1863. register_extension() is only
called once, while reset() is called whenever the processor_t is reset.
This ensures that extension_t state, including CSRs, is always reset
with reset()
Copy link
Collaborator

@aswaterman aswaterman left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Seems at least superficially logical to me.

@jerryz123 jerryz123 merged commit b81b5a0 into master Jan 3, 2025
3 checks passed
@jerryz123 jerryz123 deleted the ext_csr_reset branch January 3, 2025 00:08
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

Successfully merging this pull request may close these issues.

3 participants