Suspend process waiting for keyboard input
All checks were successful
Build documentation / build-and-deploy (push) Successful in 1m35s
All checks were successful
Build documentation / build-and-deploy (push) Successful in 1m35s
This commit is contained in:
@@ -3,8 +3,9 @@
|
||||
|
||||
#include <libk/rbtree.h>
|
||||
#include <libk/std.h>
|
||||
#include <sys/smp.h>
|
||||
|
||||
typedef void (*irq_func_t) (void* arg, void* regs);
|
||||
typedef bool (*irq_func_t) (struct cpu** reschedule_cpu, void* arg, void* regs);
|
||||
|
||||
struct irq {
|
||||
uint32_t irq_num;
|
||||
@@ -14,7 +15,7 @@ struct irq {
|
||||
void* arg;
|
||||
};
|
||||
|
||||
bool irq_attach (irq_func_t, void* arg, uint32_t irq_num);
|
||||
bool irq_attach (irq_func_t func, void* arg, uint32_t irq_num);
|
||||
void irq_detach (uint32_t irq_num);
|
||||
struct irq* irq_find (uint32_t irq_num);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user