mirror of
https://github.com/gbowne1/ClassicOS.git
synced 2026-01-19 20:05:20 -08:00
Fix includes for string.h/string_utils.h
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
#include <string.h>
|
||||
#include "display.h"
|
||||
#include "io.h"
|
||||
#include "vga.h"
|
||||
@@ -62,7 +63,7 @@ void clear_display(void) {
|
||||
// Helper function to write a string
|
||||
void display_write_string(const char* str) {
|
||||
// Use the VGA driver's string writing function
|
||||
vga_write_string(str, my_strlen(str));
|
||||
vga_write_string(str, strlen(str));
|
||||
}
|
||||
|
||||
// Helper function to print a formatted string
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
#include "vga.h"
|
||||
#include <stddef.h>
|
||||
#include <stdbool.h>
|
||||
#include <string.h>
|
||||
#include <stdarg.h>
|
||||
#include "klibc/include/string.h"
|
||||
#include "string_utils.h"
|
||||
#include "vga.h"
|
||||
|
||||
void outb(uint16_t port, uint8_t value) {
|
||||
__asm__ volatile("outb %0, %1" : : "a"(value), "Nd"(port));
|
||||
|
||||
Reference in New Issue
Block a user