[feat] Desktop render color

This commit is contained in:
2026-05-31 19:58:14 +08:00
Unverified
parent 746786a059
commit 175eba1889
27 changed files with 66 additions and 39 deletions
+10 -7
View File
@@ -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();