kexts: fbcon: add 8x16 bitmap font
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
#include <socks/tty.h>
|
||||
#include "u_vga16.h"
|
||||
#include "fbcon.h"
|
||||
|
||||
#define CELL_WIDTH 8
|
||||
@@ -87,5 +88,7 @@ kern_status_t init_fbcon_console(struct device *tty, struct device *fb)
|
||||
priv->tty_ops = &fbcon_ops;
|
||||
tty->dev_priv = priv;
|
||||
|
||||
memset(priv->fb_pixels, 0x00, fb_mode.fb_yres * fb_mode.fb_stride);
|
||||
|
||||
return KERN_OK;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user