aboutsummaryrefslogtreecommitdiff
path: root/src/kernel/graphics/font.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/kernel/graphics/font.c')
-rw-r--r--src/kernel/graphics/font.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/kernel/graphics/font.c b/src/kernel/graphics/font.c
index 147eaff..3f55d01 100644
--- a/src/kernel/graphics/font.c
+++ b/src/kernel/graphics/font.c
@@ -10,7 +10,8 @@
void font_install()
{
- font = (struct font *) kmalloc(100000);; // High quality shit
+ font = (struct font *) paging_alloc_pages(25);; // High quality shit
+ paging_set_user((uint32_t) font, 25);
uint8_t boot_drive_id = (uint8_t) (*((uint8_t *) 0x9000));
if (boot_drive_id != 0xE0) {