diff options
author | Danny Holman <dholman@gymli.org> | 2024-05-27 13:58:00 -0500 |
---|---|---|
committer | Danny Holman <dholman@gymli.org> | 2024-05-27 13:58:00 -0500 |
commit | 61760f9301427ea56a62ec02af3d0d8ae4745be7 (patch) | |
tree | c63057d16075b2b411eab36424f1d481b4a8c9f1 /arch/i386/include/kernel/framebuffer.h | |
parent | aaf7355c5ededfcdc877c7f2989fb1ba02dfb848 (diff) |
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 <dholman@gymli.org>
Diffstat (limited to 'arch/i386/include/kernel/framebuffer.h')
-rw-r--r-- | arch/i386/include/kernel/framebuffer.h | 17 |
1 files changed, 0 insertions, 17 deletions
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 <stddef.h> -#include <stdint.h> - -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 |