feat: made more definitions constant and did some more minor

improvements
This commit is contained in:
2021-01-29 20:25:37 +01:00
parent d7f0e8dd36
commit 5a1caef5b1
13 changed files with 114 additions and 30 deletions

View File

@@ -31,7 +31,7 @@ void vga_clear_screen() {
set_cursor_offset(0);
}
void kprint_at(char *message, int col, int row) {
void kprint_at(const char *message, int col, int row) {
int offset;
if (col > 0 && row > 0) {
offset = get_offset(col, row);
@@ -50,7 +50,7 @@ void kprint_at(char *message, int col, int row) {
}
void vga_kprint(char *message) {
void vga_kprint(const char *message) {
kprint_at(message, -1, -1);
}