diff options
Diffstat (limited to 'src/kernel/graphics/vga.c')
-rw-r--r-- | src/kernel/graphics/vga.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/kernel/graphics/vga.c b/src/kernel/graphics/vga.c index fa1f330..8fde84f 100644 --- a/src/kernel/graphics/vga.c +++ b/src/kernel/graphics/vga.c @@ -25,11 +25,11 @@ enum vga_color { VGA_COLOR_WHITE = 15, }; -static inline uint8_t vga_entry_color(enum vga_color fg, enum vga_color bg) { +inline uint8_t vga_entry_color(enum vga_color fg, enum vga_color bg) { return fg | bg << 4; } -static inline uint16_t vga_entry(unsigned char uc, uint8_t color) { +inline uint16_t vga_entry(unsigned char uc, uint8_t color) { return (uint16_t) uc | (uint16_t) color << 8; } |