Skip to content

Add a sanity check for non-attached contexts #31

Description

@deece

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions