[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
+2 -2
View File
@@ -1,6 +1,6 @@
#include <gdt.h>
#include <kernel/gdt.h>
#include <common.h>
#include <serial.h>
#include <kernel/serial.h>
static gdt_entry g_gdt[7]; // 5 segments + TSS (2 entries)
static gdt_ptr g_gdt_ptr;
+3 -3
View File
@@ -1,7 +1,7 @@
#include <idt.h>
#include <kernel/idt.h>
#include <common.h>
#include <pic.h>
#include <serial.h>
#include <kernel/pic.h>
#include <kernel/serial.h>
// Defined in isr.S — 256 ISR stubs
extern "C" void* isr_stub_table[256];
+2 -2
View File
@@ -1,6 +1,6 @@
#include <pic.h>
#include <kernel/pic.h>
#include <common.h>
#include <serial.h>
#include <kernel/serial.h>
static inline void outb(UINT16 port, UINT8 val) {
ASM("outb %0, %1" : : "a"(val), "Nd"(port));
+3 -3
View File
@@ -1,7 +1,7 @@
#include <pit.h>
#include <kernel/pit.h>
#include <common.h>
#include <pic.h>
#include <serial.h>
#include <kernel/pic.h>
#include <kernel/serial.h>
static inline void outb(UINT16 port, UINT8 val) {
ASM("outb %0, %1" : : "a"(val), "Nd"(port));