From 30c8810932c704f81b2d25b43e7715fa4238342f Mon Sep 17 00:00:00 2001 From: Nathan Lee Date: Mon, 3 Aug 2026 20:40:02 -0500 Subject: use a shared function for callback registration, for easier GOT linking --- include/log.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'include/log.h') 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); -- cgit v1.2.3