25 lines
454 B
C
25 lines
454 B
C
#ifndef FBCON_H_
|
|
#define FBCON_H_
|
|
|
|
#include <socks/status.h>
|
|
#include <stdint.h>
|
|
|
|
struct fbcon_priv {
|
|
struct device *fbdev;
|
|
union {
|
|
uint32_t *fb_pixels;
|
|
uint16_t *fb_cells;
|
|
};
|
|
|
|
unsigned long fb_pitch;
|
|
struct tty_driver_ops *tty_ops;
|
|
};
|
|
|
|
struct device;
|
|
struct tty_driver_ops;
|
|
|
|
extern kern_status_t init_fbcon_console(struct device *tty, struct device *fb);
|
|
extern kern_status_t init_vgacon_console(struct device *tty, struct device *fb);
|
|
|
|
#endif
|