blob: 1a9a5cfe157668ff1557da1a9f0e3421a77c6fa6 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
#include <stdint.h>
#include <kernel/graphics/vesa.h>
#include <kernel/fs/load.h>
#include <kernel/memory/alloc.h>
#include <kernel/memory/paging.h>
#include <kernel/tasks/process.h>
struct pointers {
struct vbe_mode_info *current_mode_info;
struct font *font;
};
uint32_t sys_pointers()
{
struct pointers *pointers = umalloc(sizeof(struct vbe_mode_info) + sizeof(struct font));
pointers->current_mode_info = current_mode_info;
pointers->font = font;
return pointers;
}
|