interrupt: add a new 'priv' field

This field is needed for interrupt handlers that need context in order
to know what to do.
This commit is contained in:
8infy
2024-09-01 19:37:22 +03:00
parent 6154318ab3
commit 0854d08020
+1
View File
@@ -28,6 +28,7 @@ typedef struct _isr_t {
struct _isr_t *prev;
void (*func)(struct _isr_t *self, context_t *ctx);
void (*eoi)(struct _isr_t *self);
void *priv;
long id;
long priority;
bool pending;