aboutsummaryrefslogtreecommitdiff
path: root/src/kernel/syscall/syscall.c
diff options
context:
space:
mode:
authorMarvin Borner2020-01-06 00:06:45 +0100
committerMarvin Borner2020-01-06 00:06:45 +0100
commit84a8b41f4d4c444385e0d7ef058a57af07f0c2e1 (patch)
tree71184009c6fc25c3ee1b6d097d5af6705325419a /src/kernel/syscall/syscall.c
parent9390f6408884d0631e5d9865150851d53e2d6aec (diff)
Usermode based allocating works a bit now
*a bit*
Diffstat (limited to 'src/kernel/syscall/syscall.c')
-rw-r--r--src/kernel/syscall/syscall.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/kernel/syscall/syscall.c b/src/kernel/syscall/syscall.c
index 5f32c42..7ca7f99 100644
--- a/src/kernel/syscall/syscall.c
+++ b/src/kernel/syscall/syscall.c
@@ -13,8 +13,8 @@ uint32_t (*syscalls[])() = {
[3] = (uint32_t (*)()) sys_writec,
[4] = sys_readc,
[5] = sys_get_pointers,
- [6] = sys_paging_alloc,
- [7] = sys_paging_free
+ [6] = sys_alloc,
+ [7] = sys_free
};
void syscall_handler(struct regs *r)