Barrelfish
Macros | Functions
conio.c File Reference

Text-mode video console output driver. More...

Macros

#define COLS   80
 Number of columns on screen.
 
#define LINES   25
 Number of lines on screen.
 
#define CHAR_ATTR   7
 Attribute of plain text characters.
 
#define VIDEO_LEN   (COLS * LINES * 2)
 Size of video memory.
 
#define TAB_WIDTH   8
 Tab-stop width.
 

Functions

void conio_relocate_vidmem (lvaddr_t newaddr)
 Relocate video memory to new location. More...
 
void conio_putchar (char c)
 Put the character 'c' on the screen. More...
 

Detailed Description

Text-mode video console output driver.

Function Documentation

void conio_putchar ( char  c)

Put the character 'c' on the screen.

Parameters
cCharacter to print on the screen.
void conio_relocate_vidmem ( lvaddr_t  newaddr)

Relocate video memory to new location.

This function relocates the start of the video memory to the virtual address 'newaddr'.

Parameters
newaddrAddress of start of new video memory.