feat: TrueType (TTF) font rendering, many new desktop applications and DOOM support, among other improvements

This commit is contained in:
2026-02-20 22:46:41 +01:00
parent a0db5899ef
commit 596be25eaf
124 changed files with 9021 additions and 355 deletions
+6
View File
@@ -19,6 +19,10 @@
using namespace Kt;
namespace Hal {
static int g_detectedCpuCount = 0;
int GetDetectedCpuCount() { return g_detectedCpuCount; }
void ApicInitialize(ACPI::CommonSDTHeader* xsdt) {
KernelLogStream(INFO, "APIC") << "Initializing APIC subsystem";
@@ -29,6 +33,8 @@ namespace Hal {
return;
}
g_detectedCpuCount = madt.LocalApicCount;
if (madt.IoApicAddress == 0) {
KernelLogStream(ERROR, "APIC") << "No IOAPIC found in MADT";
return;
+3
View File
@@ -19,4 +19,7 @@ namespace Hal {
//
// xsdt: pointer to the XSDT (already HHDM-mapped)
void ApicInitialize(ACPI::CommonSDTHeader* xsdt);
// Number of CPU cores detected via MADT (available after ApicInitialize)
int GetDetectedCpuCount();
};