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

Add a sanity check for non-attached contexts #31

Open
deece opened this issue May 23, 2019 · 0 comments
Open

Add a sanity check for non-attached contexts #31

deece opened this issue May 23, 2019 · 0 comments

Comments

@deece
Copy link
Contributor

deece commented May 23, 2019

Some functions require an attached context to work correctly, eg. IRQs will not function without it, and will kill the PHB if the AFU tries to trigger the interrupt when the context is not attach.

We should defend against this and return an error, rather than waiting for the kernel to complain.

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

No branches or pull requests

1 participant