From 61760f9301427ea56a62ec02af3d0d8ae4745be7 Mon Sep 17 00:00:00 2001 From: Danny Holman Date: Mon, 27 May 2024 13:58:00 -0500 Subject: drivers: create a subdir just for driver code Create a subdirectory branching from the project root. This directory will contain nothing but driver and device code. Signed-off-by: Danny Holman --- arch/i386/include/kernel/framebuffer.h | 17 ----------------- 1 file changed, 17 deletions(-) delete mode 100644 arch/i386/include/kernel/framebuffer.h (limited to 'arch/i386/include/kernel/framebuffer.h') diff --git a/arch/i386/include/kernel/framebuffer.h b/arch/i386/include/kernel/framebuffer.h deleted file mode 100644 index ef0249c..0000000 --- a/arch/i386/include/kernel/framebuffer.h +++ /dev/null @@ -1,17 +0,0 @@ -#ifndef I386_FRAMEBUFFER_H -#define I386_FRAMEBUFFER_H - -#include -#include - -void fb_init(void); -void fb_setcolor(uint8_t color); -void fb_putchar(char c); -void fb_setpos(int x, int y); - -static inline void fb_write(const char *data, size_t size) { - for (size_t i = 0; i < size; i++) - fb_putchar(data[i]); -} - -#endif -- cgit v1.2.3