SGCN

userland driver of the Serengeti console output More...

Files

file  niagara.h
file  sgcn.c
file  sgcn.h

Data Structures

struct  sgcn_buffer_header_t
 SGCN buffer header. More...

Defines

#define HEIGHT   24
#define SGCN_BUFFER(type, offset)   ((type *) (sram_virt_addr + sram_buffer_offset + (offset)))
#define SGCN_BUFFER_HEADER   (SGCN_BUFFER(sgcn_buffer_header_t, 0))
 Returns a pointer to the console buffer header.
#define WIDTH   80

Functions

int niagara_init (void)
 Initializes the Niagara serial driver.
int sgcn_init (void)
 Initializes the SGCN serial driver.
static void sgcn_putc (char c)
 Pushes the character to the SGCN serial.

Variables

static uintptr_t sram_buffer_offset
 SGCN buffer offset within SGCN.
static uintptr_t sram_virt_addr
 Virtual address mapped to SRAM.

Detailed Description

userland driver of the Serengeti console output


Function Documentation

static void sgcn_putc ( char  c  )  [static]

Pushes the character to the SGCN serial.

Parameters:
c character to be pushed

Definition at line 100 of file sgcn.c.


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