| 1 | #pragma once |
| 2 | #include <colors.h> |
| 3 | #include <sch/irql.h> |
| 4 | #include <stdarg.h> |
| 5 | #include <stdbool.h> |
| 6 | #include <stddef.h> |
| 7 | |
| 8 | struct printf_cursor; |
| 9 | struct limine_framebuffer; |
| 10 | |
| 11 | void printf(const char *format, ...); |
| 12 | void vprintf(struct printf_cursor *csr, const char *format, va_list args); |
| 13 | void serial_init(); |
| 14 | void serial_write(const char *str, size_t len); |
| 15 | bool serial_try_getc(char *out); |
| 16 | void printf_init(struct limine_framebuffer *fb); |
| 17 | void printf_unlocked(const char *format, ...); |
| 18 | void printf_unlock(enum irql i); |
| 19 | enum irql printf_lock(); |
| 20 | |