From 2ddbeb9f7214f6d3feef651eba83e6a9d120a743 Mon Sep 17 00:00:00 2001 From: Benji Dial Date: Thu, 13 Aug 2020 17:58:50 -0400 Subject: lots of progress, including readonly PATA driver and part of FAT16 driver --- src/kernel/vga.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/kernel/vga.c') diff --git a/src/kernel/vga.c b/src/kernel/vga.c index 788ce6c..e103732 100644 --- a/src/kernel/vga.c +++ b/src/kernel/vga.c @@ -1,5 +1,5 @@ -#include #include +#include #define VGA_COM_MIRROR @@ -50,12 +50,12 @@ void vga_printch(char ch) { vga_scroll(); } -void vga_printsz(char *sz) { +void vga_printsz(const char *sz) { while (*sz) vga_printch(*(sz++)); } -void vga_printsn(char *sn, uint8_t n) { +void vga_printsn(const char *sn, uint8_t n) { while (n--) vga_printch(*(sn++)); } \ No newline at end of file -- cgit v1.2.3