Add a helper library for attaching interrupt handlers in userspace.
---
Makefile | 1 +
libirqhelp/Makefile | 28
libirqhelp/irqhelp.c | 359 +++
libirqhelp/irqhelp.h | 49 ++
4 files changed, 437 insertions(+)
create mode 100644
Hi,
I think we need to allow the irq handler to be called one more time,
because we don't know if there is a pending interrupt until we need
to handle one. Once we enable the irq one more time, it is necessary
to handle the last interrupt before quitting the handler.
I tested this behaviour and
Use the new irqhelp library in ddekit and clean up.
---
libddekit/Makefile| 2 +-
libddekit/interrupt.c | 208 ++
2 files changed, 28 insertions(+), 182 deletions(-)
diff --git a/libddekit/Makefile b/libddekit/Makefile
index 88a0c8909..c74ec1128 1006