| 1 | #pragma once |
|---|---|
| 2 | #include <colors.h> |
| 3 | #include <sch/irql.h> |
| 4 | #include <stdarg.h> |
| 5 | |
| 6 | struct printf_cursor; |
| 7 | struct limine_framebuffer; |
| 8 | |
| 9 | void printf(const char *format, ...); |
| 10 | void vprintf(struct printf_cursor *csr, const char *format, va_list args); |
| 11 | void serial_init(); |
| 12 | void printf_init(struct limine_framebuffer *fb); |
| 13 | void printf_unlocked(const char *format, ...); |
| 14 | void printf_unlock(enum irql i); |
| 15 | enum irql printf_lock(); |
| 16 |