diff options
| author | Nathan Lee <me@nwlee.tech> | 2026-08-03 20:40:02 -0500 |
|---|---|---|
| committer | Nathan Lee <me@nwlee.tech> | 2026-08-03 20:40:02 -0500 |
| commit | 30c8810932c704f81b2d25b43e7715fa4238342f (patch) | |
| tree | 1149e9ba7d168af446e4417fb689619361d07a37 /include | |
| parent | 6982057b61e939fa14418356969753a3c33ebf94 (diff) | |
use a shared function for callback registration, for easier GOT linking
Diffstat (limited to 'include')
| -rw-r--r-- | include/log.h | 2 |
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); |
