Classes | Public Types | Public Member Functions | Static Public Member Functions

HostVga Class Reference

A VGA console. More...

Inheritance diagram for HostVga:
StaticReceiver< HostVga > Device

List of all members.

Classes

struct  putcdata
struct  View

Public Types

enum  {
  MAXVIEWS = 16, MAXCLIENTS = 64, TIME_TAG = 3, TEXTMODE = 0,
  BACKEND_OFFSET = 0x3000, BACKEND_SIZE = 8*0x1000
}

Public Member Functions

bool receive (MessageConsole &msg)
bool receive (MessageInput &msg)
 HostVga (Motherboard &mb, char *backend, unsigned modifier_switch, unsigned modifier_system, unsigned refresh_freq)

Static Public Member Functions

static void do_work (void *t) REGPARM(0) NORETURN

Detailed Description

A VGA console.

State: unstable Features: console switching, cursor, refresh, different views per client Missing: direct map to the client


Member Enumeration Documentation

anonymous enum
Enumerator:
MAXVIEWS 
MAXCLIENTS 
TIME_TAG 
TEXTMODE 
BACKEND_OFFSET 
BACKEND_SIZE 

Constructor & Destructor Documentation

HostVga::HostVga ( Motherboard mb,
char *  backend,
unsigned  modifier_switch,
unsigned  modifier_system,
unsigned  refresh_freq 
) [inline]

Member Function Documentation

static void HostVga::do_work ( void *  t  )  [inline, static]
bool HostVga::receive ( MessageConsole msg  )  [inline]
bool HostVga::receive ( MessageInput msg  )  [inline]

Member Data Documentation

unsigned short HostVga::active_view
const char* HostVga::clientname
unsigned short HostVga::num_views
View HostVga::views[MAXVIEWS]

The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines