From c3e50e6a2101afeadca9568481b6ed4395ae560b Mon Sep 17 00:00:00 2001 From: Ian Moffett Date: Sun, 26 May 2024 23:42:50 -0400 Subject: kernel: Fixup logging to work with syslog changes This commit removes the KINFO(), KERR(), ... macros Signed-off-by: Ian Moffett --- sys/firmware/acpi/acpi_madt.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'sys/firmware/acpi/acpi_madt.c') diff --git a/sys/firmware/acpi/acpi_madt.c b/sys/firmware/acpi/acpi_madt.c index 055ebd2..0e2b338 100644 --- a/sys/firmware/acpi/acpi_madt.c +++ b/sys/firmware/acpi/acpi_madt.c @@ -40,10 +40,13 @@ #define APIC_TYPE_IO_APIC 1 #define APIC_TYPE_INTERRUPT_OVERRIDE 2 +#define pr_trace(fmt, ...) kprintf("acpi: " fmt, ##__VA_ARGS__) + __MODULE_NAME("acpi"); __KERNEL_META("$Hyra$: acpi_madt.c, Ian Marco Moffett, " "ACPI MADT parsing"); + static struct acpi_madt *madt = NULL; void * @@ -84,7 +87,7 @@ do_parse(struct cpu_info *ci) ioapic = (struct ioapic *)cur; - KINFO("Detected I/O APIC (id=%d, gsi_base=%d)\n", + pr_trace("Detected I/O APIC (id=%d, gsi_base=%d)\n", ioapic->ioapic_id, ioapic->gsi_base); ioapic_mmio_base = (void *)(uintptr_t)ioapic->ioapic_addr; -- cgit v1.2.3