diff options
| author | EmulatedSeasons <89668582+EmulatedSeasons@users.noreply.github.com> | 2024-05-07 11:07:03 -0400 |
|---|---|---|
| committer | EmulatedSeasons <89668582+EmulatedSeasons@users.noreply.github.com> | 2024-05-07 11:07:03 -0400 |
| commit | abaab98bd757cd0818cfcddc983eee25ab7672ed (patch) | |
| tree | 4e5d407cf55877b38699ac12b904be2dc3d99864 /libc/putchar.c | |
| parent | 47d94ed4fd724d0e8b7819e7e3d0783c798ea190 (diff) | |
Made framebuffer class, serial write functions, and finally got makefile to build without having to make clean
Diffstat (limited to 'libc/putchar.c')
| -rw-r--r-- | libc/putchar.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libc/putchar.c b/libc/putchar.c index 48147bf..f0f5783 100644 --- a/libc/putchar.c +++ b/libc/putchar.c @@ -1,9 +1,11 @@ #include <stdio.h>
//#include <arch/i386/tmtty.h>
+#include <arch/x86_64/serial.h>
int putchar(int ic) {
char c = (char) ic;
+ serial_putchar(c);
//terminal_write(&c, sizeof(c));
return ic;
}
\ No newline at end of file |
