diff options
author | Marvin Borner | 2019-09-14 17:13:31 +0200 |
---|---|---|
committer | Marvin Borner | 2019-09-14 17:13:31 +0200 |
commit | 1134aada70c1407f8f9d9ea351f4dbc9cf329e7d (patch) | |
tree | 7a087ef7bc439af2f9d7fff5818a190a2fe333d6 | |
parent | 36bbfd9184426576d38841bcabfa5ba2b59f726c (diff) |
Fixed function names
-rw-r--r-- | src/kernel.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/kernel.c b/src/kernel.c index a0c86ee..9cf1b43 100644 --- a/src/kernel.c +++ b/src/kernel.c @@ -68,7 +68,7 @@ void terminal_put_entry_at(char c, uint8_t color, size_t x, size_t y) { } void terminal_put_char(char c) { - terminal_putentryat(c, terminal_color, terminal_column, terminal_row); + terminal_put_entry_at(c, terminal_color, terminal_column, terminal_row); if (++terminal_column == VGA_WIDTH) { terminal_column = 0; if (++terminal_row == VGA_HEIGHT) @@ -78,14 +78,14 @@ void terminal_put_char(char c) { void terminal_write(const char *data, size_t size) { for (size_t i = 0; i < size; i++) - terminal_putchar(data[i]); + terminal_put_char(data[i]); } -void terminal_write(const char *data) { +void terminal_write_string(const char *data) { terminal_write(data, strlen(data)); } void kernel_main(void) { terminal_initialize(); - terminal_write("Melvix loaded successfully!"); + terminal_write_string("Melvix loaded successfully!"); }
\ No newline at end of file |