#include "stddef.h"
#include "string.h"
#include <ipxe/io.h>
#include <ipxe/console.h>
#include <ipxe/init.h>
#include "vga.h"
#include <config/console.h>
Go to the source code of this file.
◆ CONSOLE_DIRECT_VGA
◆ VIDBUFFER
| #define VIDBUFFER 0xB8000 |
◆ memsetw()
| void memsetw |
( |
void * | s, |
|
|
int | c, |
|
|
unsigned int | n ) |
|
static |
Definition at line 30 of file video_subr.c.
31{
32 unsigned int i;
34
35 for (i = 0; i < n; i++) {
37 }
38}
References ss, and u16.
Referenced by video_init().
◆ video_init()
◆ video_scroll()
| void video_scroll |
( |
void | | ) |
|
|
static |
Definition at line 56 of file video_subr.c.
57{
58 int i;
59
63}
void * memmove(void *dest, const void *src, size_t len) __nonnull
#define LINES(...)
Define inline lines.
References COLS, LINES, memmove(), and vidmem.
Referenced by vga_putc().
◆ vga_putc()
| void vga_putc |
( |
int | byte | ) |
|
|
static |
Definition at line 65 of file video_subr.c.
66{
67 if (byte == '\n') {
70
71 } else if (byte == '\r') {
73
74 } else if (byte == '\b') {
76
77 } else if (byte == '\t') {
79
80 } else if (byte == '\a') {
81
82
83
84 } else {
88 }
91 }
95 }
99 }
100
103}
#define write_crtc(data, addr)
static void video_scroll(void)
References COLS, CRTC_CURSOR_HI, CRTC_CURSOR_LO, LINES, VGA_ATTR_CLR_WHT, video_col, video_line, video_scroll(), vidmem, and write_crtc.
◆ __init_fn()
◆ __console_driver
Initial value:= {
}
#define CONSOLE_DISABLED
Console is disabled for all uses.
#define CONSOLE_DIRECT_VGA
static void vga_putc(int byte)
Definition at line 23 of file video_subr.c.
◆ vidmem
◆ video_line
◆ video_col