blob: 554f4eb98707fd6caaeac1b45a506410e88efb6e (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
#include <stdint.h>
#include <kernel/graphics/vesa.h>
#include <kernel/graphics/font.h>
#include <kernel/lib/stdlib/liballoc.h>
struct userspace_pointers {
unsigned char *fb;
struct font *font;
};
uint32_t sys_get_pointers()
{
struct userspace_pointers *pointers = (struct userspace_pointers *) umalloc(sizeof(struct userspace_pointers));
pointers->fb = fb;
pointers->font = font;
return (uint32_t) pointers;
}
|