summaryrefslogtreecommitdiff
path: root/kernel/syscalls/map_frames.c
diff options
context:
space:
mode:
authorAnton Kling <anton@kling.gg>2024-02-14 17:40:06 +0100
committerAnton Kling <anton@kling.gg>2024-02-14 17:40:06 +0100
commit3922adcdec5bd003b4106ffce79c28553bc40c15 (patch)
treef1af360cd7ad75d4b5f19bf066bf7e29ce8e3e53 /kernel/syscalls/map_frames.c
parenta8ffc46136eb16adc87fb520c724467d1295a854 (diff)
Kernel: Update signal handling and IPC
Diffstat (limited to 'kernel/syscalls/map_frames.c')
-rw-r--r--kernel/syscalls/map_frames.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/kernel/syscalls/map_frames.c b/kernel/syscalls/map_frames.c
new file mode 100644
index 0000000..1b0d097
--- /dev/null
+++ b/kernel/syscalls/map_frames.c
@@ -0,0 +1,6 @@
+#include <mmu.h>
+#include <syscalls.h>
+
+u32 syscall_map_frames(u32 address, u32 size) {
+ return (u32)mmu_map_user_frames((void *)address, size);
+}