17#if ! ( defined ( CONSOLE_DIRECT_VGA ) && \
18 CONSOLE_EXPLICIT ( CONSOLE_DIRECT_VGA ) )
19#undef CONSOLE_DIRECT_VGA
20#define CONSOLE_DIRECT_VGA ( CONSOLE_USAGE_ALL & ~CONSOLE_USAGE_LOG )
28#define VIDBUFFER 0xB8000
30static void memsetw(
void *s,
int c,
unsigned int n)
35 for (i = 0; i < n; i++) {
71 }
else if (
byte ==
'\r') {
74 }
else if (
byte ==
'\b') {
77 }
else if (
byte ==
'\t') {
80 }
else if (
byte ==
'\a') {
#define INIT_EARLY
Early initialisation.
#define CONSOLE_DISABLED
Console is disabled for all uses.
#define __console_driver
Mark a struct console_driver as being part of the console drivers table.
void * memmove(void *dest, const void *src, size_t len) __nonnull
#define __init_fn(init_order)
Declare an initialisation functon.
#define LINES(...)
Define inline lines.
An initialisation function.
#define write_crtc(data, addr)
static void video_scroll(void)
#define CONSOLE_DIRECT_VGA
static void video_init(void)
static void memsetw(void *s, int c, unsigned int n)
static void vga_putc(int byte)