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:
@@ -1,7 +1,7 @@
|
||||
#include <libk/ringbuffer.h>
|
||||
#include <libk/std.h>
|
||||
#include <libk/string.h>
|
||||
#include <mm/liballoc.h>
|
||||
#include <mm/malloc.h>
|
||||
|
||||
bool ringbuffer_init (struct ringbuffer* rb, size_t capacity, size_t type_size) {
|
||||
void* buf = malloc (capacity * type_size);
|
||||
|
||||
Reference in New Issue
Block a user