summaryrefslogtreecommitdiff
path: root/sys/include
diff options
context:
space:
mode:
authorIan Moffett <ian@osmora.org>2025-02-21 13:15:10 -0500
committerIan Moffett <ian@osmora.org>2025-02-21 13:26:21 -0500
commitd7e2dc844666cf3f488fd69409640f1f8a9844d4 (patch)
tree2535df387fe0d21408c46ae4da81e7cc66432858 /sys/include
parent5d7bb645345ff30124767289f3fa1b552df76cf1 (diff)
kernel: Update kernel log style
Kernel logs must now all be lowercase for consistency. A new style called Peripheral Description Notation (PDN) has also been introduced to describe devices. Signed-off-by: Ian Moffett <ian@osmora.org>
Diffstat (limited to 'sys/include')
-rw-r--r--sys/include/arch/amd64/ioapic.h3
-rw-r--r--sys/include/lib/assert.h2
2 files changed, 3 insertions, 2 deletions
diff --git a/sys/include/arch/amd64/ioapic.h b/sys/include/arch/amd64/ioapic.h
index beac473..c11a85c 100644
--- a/sys/include/arch/amd64/ioapic.h
+++ b/sys/include/arch/amd64/ioapic.h
@@ -31,8 +31,9 @@
#define _MACHINE_IOAPIC_H_
#include <sys/types.h>
+#include <dev/acpi/tables.h>
-void ioapic_init(void *base);
+void ioapic_init(struct ioapic *p);
void ioapic_gsi_mask(uint8_t gsi);
void ioapic_gsi_unmask(uint8_t gsi);
diff --git a/sys/include/lib/assert.h b/sys/include/lib/assert.h
index d35cf09..a34a14f 100644
--- a/sys/include/lib/assert.h
+++ b/sys/include/lib/assert.h
@@ -35,7 +35,7 @@
#define __assert(condition) \
if ((uintptr_t)(condition) == 0) { \
- panic("Assert \"%s\" failed (%s() at %s:%d)\n", #condition, \
+ panic("assert \"%s\" failed (%s() at %s:%d)\n", #condition, \
__func__, __FILE__, __LINE__); \
}