diff options
Diffstat (limited to 'src/kernel/syscall/actions/sys_pointers.c')
-rw-r--r-- | src/kernel/syscall/actions/sys_pointers.c | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/src/kernel/syscall/actions/sys_pointers.c b/src/kernel/syscall/actions/sys_pointers.c index ced95de..6cf50ae 100644 --- a/src/kernel/syscall/actions/sys_pointers.c +++ b/src/kernel/syscall/actions/sys_pointers.c @@ -12,17 +12,8 @@ struct pointers { uint32_t sys_pointers() { - struct vbe_mode_info *ret = (struct vbe_mode_info *)umalloc(sizeof(struct vbe_mode_info)); - ret->attributes = current_mode_info->attributes; - ret->pitch = current_mode_info->pitch; - ret->width = current_mode_info->width; - ret->height = current_mode_info->height; - ret->bpp = current_mode_info->bpp; - ret->memory_model = current_mode_info->memory_model; - ret->framebuffer = current_mode_info->framebuffer; - struct pointers *pointers = umalloc(sizeof(struct pointers)); - pointers->current_mode_info = ret; + pointers->current_mode_info = current_mode_info; pointers->font = font; return pointers; |