Redesign linked list
All checks were successful
Build documentation / build-and-deploy (push) Successful in 49s

This commit is contained in:
2026-01-06 16:38:42 +01:00
parent d09e4d97ad
commit e50f8940a9
6 changed files with 51 additions and 141 deletions

View File

@@ -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;