summaryrefslogtreecommitdiff
path: root/include/log.h
diff options
context:
space:
mode:
authorNathan Lee <me@nwlee.tech>2026-08-03 20:40:02 -0500
committerNathan Lee <me@nwlee.tech>2026-08-03 20:40:02 -0500
commit30c8810932c704f81b2d25b43e7715fa4238342f (patch)
tree1149e9ba7d168af446e4417fb689619361d07a37 /include/log.h
parent6982057b61e939fa14418356969753a3c33ebf94 (diff)
use a shared function for callback registration, for easier GOT linking
Diffstat (limited to 'include/log.h')
-rw-r--r--include/log.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/log.h b/include/log.h
index f1e4110..da9274b 100644
--- a/include/log.h
+++ b/include/log.h
@@ -6,3 +6,5 @@ typedef void (*console_callback_t)(char);
void vprintk(const char *message, __builtin_va_list args);
void printk(const char *message, ...);
+
+void register_console_callback(console_callback_t callback);