Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

⚠️ [rte] use a single, global trap handler table #1150

Merged
merged 6 commits into from
Jan 11, 2025
Merged

Conversation

stnolting
Copy link
Owner

With this PR, the NEORV32 runtime environment ("RTE"; responsible for providing a unified API for trap handling) implements a gloabl trap handler table that applies to both cores.

Hence, both cores will execute the same trap handler if the same trap is triggered. The installed user-defined trap handlers can determine the core's ID (mhartid CSR) to perform core-specific trap handling.

trap handler installation are global and apply to both cores
@stnolting stnolting added SW Software-related cleanup Clean-up the codebase labels Jan 11, 2025
@stnolting stnolting self-assigned this Jan 11, 2025
@stnolting stnolting marked this pull request as ready for review January 11, 2025 06:11
@stnolting stnolting merged commit f5bdf69 into main Jan 11, 2025
10 checks passed
@stnolting stnolting deleted the dual_core_rte branch January 11, 2025 11:31
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
cleanup Clean-up the codebase SW Software-related
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant