diff options
author | Anton Kling <anton@kling.gg> | 2024-06-26 21:34:40 +0200 |
---|---|---|
committer | Anton Kling <anton@kling.gg> | 2024-06-26 21:34:40 +0200 |
commit | e15065fe45f8004adcc8b69bbbe680ced0d530a1 (patch) | |
tree | 19dab20babd5169a8266faf133d41a4ebd61f1f6 /kernel/syscalls/randomfill.c | |
parent | 2e2f89c7508dede2c970e6061c2f66d4536162ca (diff) |
Kernel: Move all syscalls into one file
Diffstat (limited to 'kernel/syscalls/randomfill.c')
-rw-r--r-- | kernel/syscalls/randomfill.c | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/kernel/syscalls/randomfill.c b/kernel/syscalls/randomfill.c deleted file mode 100644 index 3808009..0000000 --- a/kernel/syscalls/randomfill.c +++ /dev/null @@ -1,9 +0,0 @@ -#include <random.h> -#include <typedefs.h> - -// This syscall will never fail. At worst a page fault will occur but if -// the syscall returns the buffer will have been filled with random -// data. -void syscall_randomfill(void *buffer, u32 size) { - get_random(buffer, size); -} |