Device IRQs WIP

This commit is contained in:
2026-03-12 19:23:47 +01:00
parent 04b7355a3d
commit 19793e9126
29 changed files with 420 additions and 187 deletions

View File

@@ -19,8 +19,8 @@ void ft_free (void* ptr, size_t size) {
free (ptr);
}
bool terminal_init (struct device* device, void* arg) {
(void)arg, (void)device;
bool terminal_init (struct device* device, void* arg, struct proc* proc, struct reschedule_ctx* rctx) {
(void)arg, (void)device, (void)proc, (void)rctx;
struct limine_framebuffer_response* fb_r = limine_framebuffer_request.response;
struct limine_framebuffer* fb = fb_r->framebuffers[0];
@@ -33,7 +33,9 @@ bool terminal_init (struct device* device, void* arg) {
return true;
}
void terminal_fini (struct device* device) { (void)device; }
void terminal_fini (struct device* device, struct proc* proc, struct reschedule_ctx* rctx) {
(void)device, (void)proc, (void)rctx;
}
int terminal_putstr (struct device* device, struct proc* proc, struct reschedule_ctx* rctx,
void* a1, void* a2, void* a3, void* a4) {