Device IRQs WIP
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user