[feat] Desktop render color
This commit is contained in:
+10
-7
@@ -2,16 +2,17 @@
|
||||
#include <graphics/context.h>
|
||||
#include <graphics/draw.h>
|
||||
#include <fonts/pixel_font.h>
|
||||
#include <serial.h>
|
||||
#include <kernel/serial.h>
|
||||
#include <common.h>
|
||||
#include <memory/pmm.h>
|
||||
#include <memory/heap.h>
|
||||
#include <scheduler.h>
|
||||
#include <fs.h>
|
||||
#include <gdt.h>
|
||||
#include <idt.h>
|
||||
#include <pic.h>
|
||||
#include <pit.h>
|
||||
#include <kernel/scheduler.h>
|
||||
#include <kernel/fs.h>
|
||||
#include <kernel/gdt.h>
|
||||
#include <kernel/idt.h>
|
||||
#include <kernel/pic.h>
|
||||
#include <kernel/pit.h>
|
||||
#include <desktop/prepare.h>
|
||||
|
||||
extern EFI_SYSTEM_TABLE *ST;
|
||||
|
||||
@@ -131,6 +132,8 @@ extern "C" void kernel_main() {
|
||||
pf_print("Welcome to Sylva OS!\n");
|
||||
serial_write(" Kernel prepared well.\n");
|
||||
|
||||
prepare((UINT32) g_gfx.vr, (UINT32) g_gfx.hr);
|
||||
|
||||
// --- Interrupt infrastructure ---
|
||||
serial_write("Sylva: init GDT...\n");
|
||||
gdt_init();
|
||||
|
||||
Reference in New Issue
Block a user