Redesign linked list
All checks were successful
Build documentation / build-and-deploy (push) Successful in 49s
All checks were successful
Build documentation / build-and-deploy (push) Successful in 49s
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
#ifndef _KERNEL_IRQ_IRQ_H
|
||||
#define _KERNEL_IRQ_IRQ_H
|
||||
|
||||
#include <libk/list.h>
|
||||
#include <libk/std.h>
|
||||
|
||||
#define IRQ_INTERRUPT_SAFE (1 << 0)
|
||||
@@ -9,7 +10,7 @@
|
||||
typedef void (*irq_func_t) (void* arg, void* regs);
|
||||
|
||||
struct irq {
|
||||
struct irq* next;
|
||||
struct list_node_link irqs_link;
|
||||
|
||||
irq_func_t func;
|
||||
void* arg;
|
||||
|
||||
Reference in New Issue
Block a user