mirror of
https://github.com/Mathewnd/Astral.git
synced 2026-10-28 21:28:21 +00:00
interrupts: execute pending interrupts
This commit is contained in:
@@ -19,6 +19,8 @@
|
||||
|
||||
struct _isr_t;
|
||||
typedef struct _isr_t {
|
||||
struct _isr_t *next;
|
||||
struct _isr_t *prev;
|
||||
void (*func)(struct _isr_t *self, context_t *ctx);
|
||||
void (*eoi)(struct _isr_t *self);
|
||||
long id;
|
||||
|
||||
@@ -25,6 +25,7 @@ typedef struct cpu_t {
|
||||
thread_t *idlethread;
|
||||
timerentry_t schedtimerentry;
|
||||
void *schedulerstack;
|
||||
isr_t *isrqueue;
|
||||
} cpu_t;
|
||||
|
||||
#define CPU_HALT() asm volatile("hlt")
|
||||
|
||||
Reference in New Issue
Block a user