2026-06-10 18:28:33 -05:00
|
|
|
#include "print.h"
|
|
|
|
|
#include "stream.h"
|
|
|
|
|
|
|
|
|
|
extern print_stream_t* kout;
|
|
|
|
|
|
|
|
|
|
void kprint(const char *str) {
|
|
|
|
|
while (*str) {
|
|
|
|
|
kout->putchar(*str);
|
|
|
|
|
str++;
|
|
|
|
|
}
|
2026-06-13 19:53:57 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
void kputc(const char c) {
|
|
|
|
|
kout->putchar(c);
|
2026-06-10 18:28:33 -05:00
|
|
|
}
|