mirror of
https://github.com/Mathewnd/Astral.git
synced 2026-10-27 12:48:22 +00:00
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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user