From 6fcc6da022e768a2d7ffba6bb0dfb728fcb02b29 Mon Sep 17 00:00:00 2001 From: Josh Holtrop Date: Sun, 24 Sep 2023 11:03:21 -0400 Subject: [PATCH] Remove APIC debug outputs --- src/hulk/acpi.d | 2 -- src/hulk/apic.d | 3 --- 2 files changed, 5 deletions(-) diff --git a/src/hulk/acpi.d b/src/hulk/acpi.d index d1e07ef..8bcd162 100644 --- a/src/hulk/acpi.d +++ b/src/hulk/acpi.d @@ -55,7 +55,6 @@ struct Acpi void initialize() { apic_address = local_apic_address; - Klog.writefln("Found 32-bit APIC address: 0x%x", apic_address); const(void) * end = cast(const(void) *)(&this) + header.length; const(Entry) * entry = cast(const(Entry) *)(cast(ulong)&this + MADT.sizeof); while (entry < end) @@ -64,7 +63,6 @@ struct Acpi if (entry.type == Entry.LOCAL_APIC_ADDRESS_OVERRIDE) { /* Found a 64-bit Local APIC Address Override entry. */ - Klog.writefln("Found 64-bit APIC address: 0x%x", apic_address); memcpy(cast(void *)&apic_address, cast(const(void) *)entry + 4u, apic_address.sizeof); } } diff --git a/src/hulk/apic.d b/src/hulk/apic.d index 517a7e7..e388d84 100644 --- a/src/hulk/apic.d +++ b/src/hulk/apic.d @@ -3,7 +3,6 @@ */ module hulk.apic; -import hulk.klog; import hulk.hurl; import hulk.acpi; import hulk.idt; @@ -72,8 +71,6 @@ struct Apic PT_WRITABLE | PT_WRITE_THROUGH | PT_DISABLE_CACHE | PT_NO_EXECUTE); Hurl.map(cast(ulong)io_apic_registers, cast(ulong)io_apic_registers, PT_WRITABLE | PT_WRITE_THROUGH | PT_DISABLE_CACHE | PT_NO_EXECUTE); - Klog.writefln("LAPIC ID: 0x%08x", apic_registers.lapic_id.value); - Klog.writefln("LAPIC version: 0x%08x", apic_registers.lapic_version.value); /* Enable local APIC to receive interrupts and set spurious interrupt * vector to 0xFF. */ apic_registers.spurious_interrupt_vector.value = 0x100u | Idt.INT_APIC_SPURIOUS;