serial_console.c File Reference

#include <stdio.h>
#include <async.h>
#include <ipc/fb.h>
#include <bool.h>
#include <errno.h>
#include <io/color.h>
#include <io/style.h>
#include <str.h>
#include <inttypes.h>
#include <io/screenbuffer.h>
#include "main.h"
#include "serial_console.h"

Go to the source code of this file.

Defines

#define MAX_CONTROL   20

Enumerations

enum  sgr_color_index
enum  sgr_command

Functions

static void draw_text_data (keyfield_t *data, sysarg_t x0, sysarg_t y0, sysarg_t width, sysarg_t height)
 Draw text data to viewport.
void serial_client_connection (ipc_callid_t iid, ipc_call_t *icall)
 Main function of the thread serving client connections.
void serial_clrscr (void)
void serial_console_init (putc_function_t putc_fn, sysarg_t w, sysarg_t h)
void serial_cursor_disable (void)
void serial_cursor_enable (void)
void serial_goto (const sysarg_t col, const sysarg_t row)
static void serial_putchar (wchar_t ch)
void serial_puts (const char *str)
void serial_scroll (ssize_t i)
static void serial_set_attrs (attrs_t *a)
static void serial_set_idx (uint8_t fgcolor, uint8_t bgcolor, uint8_t flags)
static void serial_set_rgb (uint32_t fgcolor, uint32_t bgcolor)
void serial_set_scroll_region (sysarg_t last_row)
 Set scrolling region.
static void serial_set_style (console_style_t style)
static void serial_sgr (const unsigned int mode)
 ECMA-48 Set Graphics Rendition.

Variables

static int client_connected = 0
static bool color = true
 True if producing color output.
static int color_map []
static attrs_t cur_attr
static sysarg_t lastcol = 0
static sysarg_t lastrow = 0
static putc_function_t putc_function
static sysarg_t scr_height
static sysarg_t scr_width
static bool utf8 = false
 True if producing UTF8 output.


Detailed Description

Definition in file serial_console.c.


Generated on Thu Jun 2 07:45:55 2011 for HelenOS/USB by  doxygen 1.4.7