Handle IRQs inside the kernel
All checks were successful
Build documentation / build-and-deploy (push) Successful in 2m42s
All checks were successful
Build documentation / build-and-deploy (push) Successful in 2m42s
This commit is contained in:
@@ -15,7 +15,7 @@
|
||||
#include <limine/requests.h>
|
||||
#include <lz4/lz4.h>
|
||||
#include <lz4/lz4frame.h>
|
||||
#include <mm/liballoc.h>
|
||||
#include <mm/malloc.h>
|
||||
#include <status.h>
|
||||
#include <sync/spin_lock.h>
|
||||
#include <sys/debug.h>
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
#include <libk/list.h>
|
||||
#include <libk/std.h>
|
||||
#include <libk/string.h>
|
||||
#include <mm/liballoc.h>
|
||||
#include <mm/malloc.h>
|
||||
#include <proc/proc.h>
|
||||
#include <proc/reschedule.h>
|
||||
#include <status.h>
|
||||
@@ -90,7 +90,7 @@ static void ide_flush (struct idedrv* idedrv) {
|
||||
outb (idedrv->io + IDE_REG_CMD, IDE_CMD_FLUSH28);
|
||||
}
|
||||
|
||||
static void ide_irq (void* arg, void* regs, struct reschedule_ctx* rctx) {
|
||||
static void ide_irq (void* arg, void* regs, bool user, struct reschedule_ctx* rctx) {
|
||||
uint64_t fd, fp;
|
||||
|
||||
struct idedrv* idedrv = arg;
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
#include <device/partdrv.h>
|
||||
#include <devices.h>
|
||||
#include <libk/std.h>
|
||||
#include <mm/liballoc.h>
|
||||
#include <mm/malloc.h>
|
||||
#include <proc/proc.h>
|
||||
#include <proc/reschedule.h>
|
||||
#include <status.h>
|
||||
|
||||
@@ -146,7 +146,7 @@ static int32_t ps2kb_keycode (void) {
|
||||
return c;
|
||||
}
|
||||
|
||||
static void ps2kb_irq (void* arg, void* regs, struct reschedule_ctx* rctx) {
|
||||
static void ps2kb_irq (void* arg, void* regs, bool user, struct reschedule_ctx* rctx) {
|
||||
(void)arg, (void)regs;
|
||||
uint64_t frb, fsq;
|
||||
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
#include <libk/align.h>
|
||||
#include <libk/std.h>
|
||||
#include <libk/string.h>
|
||||
#include <mm/liballoc.h>
|
||||
#include <mm/malloc.h>
|
||||
#include <status.h>
|
||||
#include <sys/debug.h>
|
||||
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
#include <device/terminal.h>
|
||||
#include <libk/std.h>
|
||||
#include <limine/requests.h>
|
||||
#include <mm/liballoc.h>
|
||||
#include <mm/malloc.h>
|
||||
#include <proc/capability.h>
|
||||
#include <proc/proc.h>
|
||||
#include <status.h>
|
||||
|
||||
Reference in New Issue
Block a user