aboutsummaryrefslogtreecommitdiff
path: root/src/kernel/syscall/actions/sys_get_pointers.c
diff options
context:
space:
mode:
authorMarvin Borner2020-04-28 20:59:57 +0200
committerMarvin Borner2020-04-28 20:59:57 +0200
commit5f8b5ce7efb7738eaebad43f9648975788ae19ff (patch)
treeab8fc4d4baa4adb99dc90461df689650acf34cef /src/kernel/syscall/actions/sys_get_pointers.c
parentbfe16de4be67565f1a1e7b1331fcbe3aedf9c54e (diff)
Fixed userspace entering...
Many other fixes too, but I won't mention them because I don't want to :)
Diffstat (limited to 'src/kernel/syscall/actions/sys_get_pointers.c')
-rw-r--r--src/kernel/syscall/actions/sys_get_pointers.c18
1 files changed, 0 insertions, 18 deletions
diff --git a/src/kernel/syscall/actions/sys_get_pointers.c b/src/kernel/syscall/actions/sys_get_pointers.c
deleted file mode 100644
index 181630b..0000000
--- a/src/kernel/syscall/actions/sys_get_pointers.c
+++ /dev/null
@@ -1,18 +0,0 @@
-#include <stdint.h>
-#include <kernel/graphics/vesa.h>
-#include <kernel/fs/load.h>
-#include <kernel/memory/alloc.h>
-
-struct userspace_pointers {
- unsigned char *fb;
- struct font *font;
-};
-
-uint32_t sys_get_pointers()
-{
- struct userspace_pointers *pointers =
- (struct userspace_pointers *)kmalloc(sizeof(struct userspace_pointers));
- pointers->fb = fb;
- pointers->font = font;
- return (uint32_t)pointers;
-} \ No newline at end of file