summaryrefslogtreecommitdiff
path: root/src/kernel/vga.c
diff options
context:
space:
mode:
authorBenji Dial <Benji3.141@gmail.com>2020-08-13 17:58:50 -0400
committerBenji Dial <Benji3.141@gmail.com>2020-08-13 17:58:50 -0400
commit2ddbeb9f7214f6d3feef651eba83e6a9d120a743 (patch)
tree10a2aef195e0f40b0e44ffac82dcf60e426c4385 /src/kernel/vga.c
parent63167f223e1f54910f6b80e698390ee60aec79ee (diff)
downloadportland-os-2ddbeb9f7214f6d3feef651eba83e6a9d120a743.tar.gz
lots of progress, including readonly PATA driver and part of FAT16 driver
Diffstat (limited to 'src/kernel/vga.c')
-rw-r--r--src/kernel/vga.c6
1 files changed, 3 insertions, 3 deletions
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 <stdint.h>
#include <stdbool.h>
+#include <stdint.h>
#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