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

Updated Trap Handler #401

Merged
merged 5 commits into from
Oct 27, 2023
Merged

Conversation

UmerShahidengr
Copy link
Collaborator

Description

Trap Handler Updates:

  • Improved exception handling when delegated to S-mode in both bare mode and virtual mode.
  • Enhanced save area within the trap handler file to accommodate latest changes.
  • Updated CSR Rename macro for improved code clarity.

Contribution:

Related Issues

#394 , #374

Reference Model Used

  • SAIL

Copy link
Collaborator

@allenjbaum allenjbaum left a comment

Choose a reason for hiding this comment

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

This has been tested with Smode->Smode traps and it works

@allenjbaum allenjbaum merged commit f484d91 into riscv-non-isa:main Oct 27, 2023
1 check passed
Copy link
Collaborator

@allenjbaum allenjbaum left a comment

Choose a reason for hiding this comment

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

fix is correct

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.

2 participants