feat: TrueType (TTF) font rendering, many new desktop applications and DOOM support, among other improvements
This commit is contained in:
1 parent
40b596c0d3
commit
9e191f64a9
123 files changed
+9021
-355
No files matched your search
@@ -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;
|
||||
|
||||
@@ -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();
|
||||
};
|
||||
Reference in new issue
Block a user