Redesign reschedule points, allow one operation to reschedule many cpus at once
All checks were successful
Build documentation / build-and-deploy (push) Successful in 2m12s
All checks were successful
Build documentation / build-and-deploy (push) Successful in 2m12s
This commit is contained in:
@@ -1,11 +1,12 @@
|
||||
#ifndef _KERNEL_IRQ_IRQ_H
|
||||
#define _KERNEL_IRQ_IRQ_H
|
||||
|
||||
#include <libk/list.h>
|
||||
#include <libk/rbtree.h>
|
||||
#include <libk/std.h>
|
||||
#include <sys/smp.h>
|
||||
#include <proc/reschedule.h>
|
||||
|
||||
typedef bool (*irq_func_t) (struct cpu** reschedule_cpu, void* arg, void* regs);
|
||||
typedef void (*irq_func_t) (void* arg, void* regs, struct reschedule_ctx* rctx);
|
||||
|
||||
struct irq {
|
||||
uint32_t irq_num;
|
||||
|
||||
Reference in New Issue
Block a user