Skip to content

Add interrupt support to vwpp::Task interface #2

Description

@rneswold

Add a nested class for vwpp::Task that encompasses interrupt management.

  • Creating the object attaches it to the vector table.
  • Destroying the object will unregister it.
  • The interrupt handler should be pure virtual. It'll have one parameter; a vwpp::IntLock const&.

This might be a small hierarchy of abstract classes, depending if we need to handle VME interrupts differently than PCI interrupts

IntBase --+--> VMEInt -----> UserVMEInt
           \-> PCIInt -----> UserPCIInt

This also brings up the idea of creating a vwpp::IntUnlock object, in case an interrupt routine wants to re-enable interrupts.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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