diff options
| author | Loic Guegan <manzerbredes@mailbox.org> | 2021-04-29 08:49:41 +0200 |
|---|---|---|
| committer | Loic Guegan <manzerbredes@mailbox.org> | 2021-04-29 08:49:41 +0200 |
| commit | fde8a1ab65d5e33d90123a3aaa9b5c15e249689f (patch) | |
| tree | 14134c0c2f322cbcba0989b78bd7057f76c157c3 /src/libs/stdio.cc | |
| parent | 067d6e340be698b0e26b7732215a1969e0e683f3 (diff) | |
Debug, add memory print driver
Diffstat (limited to 'src/libs/stdio.cc')
| -rw-r--r-- | src/libs/stdio.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/libs/stdio.cc b/src/libs/stdio.cc index dc9ee75..3770cd3 100644 --- a/src/libs/stdio.cc +++ b/src/libs/stdio.cc @@ -1,11 +1,11 @@ #include "stdio.hpp" -#include "drivers/vga_t.hpp" +#include "drivers/memtext.hpp" #include "math.hpp" #include "string.hpp" -void (*__putchar)(char)=vga_t_putchar; +void (*__putchar)(char)=memtext_putchar; -void printk(char *str,...) { +void printf(char *str,...) { u64 rsi,rdx,rcx,r8,r9; u64* rbp; asm( "mov %%rsi, %0": "=a"(rsi)); |
