feat: made more definitions constant and did some more minor
improvements
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user