blob: 8e34ddd717b8d22157ce314711c628f8f59b9e80 (
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/memory/kheap.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;
}
|