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

Trustlet: Install exception handler #8

Merged
merged 5 commits into from
Dec 19, 2024
Merged

Trustlet: Install exception handler #8

merged 5 commits into from
Dec 19, 2024

Conversation

mmisono
Copy link
Member

@mmisono mmisono commented Dec 18, 2024

This adds basic functionality to handle exceptions by installing an exception handler that runs in ring0 in the context of Trustlet.

  • Currently, only #PF and #DF handlers are installed to support copy-on-write.
  • In the future, I plan to add a general exception handler (cf. kernel/src/cpu/idt/common.rs) to handle all kinds of exceptions with single monitor call handler
  • I confirmed CoW works for simple case within one trustlet. More tests will be added

@Sabanic-P Sabanic-P merged commit 31ca1b5 into dev Dec 19, 2024
1 check failed
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