SysIO
[Framebuffer Service]

HelenOS framebuffer emulation via kernel. More...

Files

file  sysio.c
file  sysio.h

Defines

#define WIDTH   80
#define HEIGHT   25

Functions

static void sysput (char c)
static void sysputs (char *s)
static void clrscr (void)
static void curs_goto (unsigned int row, unsigned int col)
static void set_style (int mode)
static void scroll (int i)
static void sysio_client_connection (ipc_callid_t iid, ipc_call_t *icall)
void sysio_init (void)

Variables

static int client_connected = 0

Detailed Description


Define Documentation

#define WIDTH   80
 

Definition at line 48 of file sysio.c.

Referenced by sysio_client_connection().

#define HEIGHT   25
 

Definition at line 49 of file sysio.c.

Referenced by scroll(), and sysio_client_connection().


Function Documentation

static void sysput char  c  )  [static]
 

Definition at line 54 of file sysio.c.

References __SYSCALL3.

Referenced by sysio_client_connection(), and sysputs().

static void sysputs char *  s  )  [static]
 

Definition at line 59 of file sysio.c.

References sysput().

Referenced by clrscr(), curs_goto(), scroll(), set_style(), and sysio_init().

Here is the call graph for this function:

static void clrscr void   )  [static]
 

Send clearscreen sequence to console

Definition at line 68 of file sysio.c.

References sysputs().

Here is the call graph for this function:

static void curs_goto unsigned int  row,
unsigned int  col
[static]
 

Send ansi sequence to console to change cursor position

Definition at line 74 of file sysio.c.

References snprintf(), and sysputs().

Here is the call graph for this function:

static void set_style int  mode  )  [static]
 

Definition at line 85 of file sysio.c.

References snprintf(), and sysputs().

Here is the call graph for this function:

static void scroll int  i  )  [static]
 

Definition at line 93 of file sysio.c.

References curs_goto(), HEIGHT, and sysputs().

Referenced by sysio_client_connection().

Here is the call graph for this function:

static void sysio_client_connection ipc_callid_t  iid,
ipc_call_t icall
[static]
 

ANSI terminal emulation main thread

Definition at line 107 of file sysio.c.

References async_get_call(), client_connected, clrscr(), curs_goto(), HEIGHT, ipc_answer_fast(), scroll(), set_style(), sysput(), and WIDTH.

Referenced by sysio_init().

Here is the call graph for this function:

void sysio_init void   ) 
 

ANSI terminal emulation initialization

Definition at line 187 of file sysio.c.

References async_set_client_connection(), clrscr(), curs_goto(), sysio_client_connection(), and sysputs().

Referenced by main().

Here is the call graph for this function:


Variable Documentation

int client_connected = 0 [static]
 

Definition at line 52 of file sysio.c.

Referenced by sysio_client_connection().


Generated on Sun Jun 18 18:02:52 2006 for HelenOS Userspace (ia64) by  doxygen 1.4.6