NOVA User-Level Environment  Version testbox/changed-memory-timing-317-g320d8b5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
MessageConsole Struct Reference

VGA Console. More...

#include <message.h>

Public Types

enum  Type {
  TYPE_ALLOC_CLIENT, TYPE_ALLOC_VIEW, TYPE_GET_MODEINFO, TYPE_GET_FONT,
  TYPE_SWITCH_VIEW, TYPE_KEY, TYPE_RESET, TYPE_START,
  TYPE_KILL, TYPE_DEBUG
}

Public Member Functions

 MessageConsole (Type _type=TYPE_ALLOC_CLIENT, unsigned short _id=0)
 MessageConsole (unsigned _index, ConsoleModeInfo *_info)
 MessageConsole (const char *_name, char *_ptr, unsigned _size, VgaRegs *_regs)
 MessageConsole (unsigned short _id, unsigned short _view, unsigned _input_device, unsigned _input_data)

Public Attributes

enum MessageConsole::Type type
unsigned short id
unsigned short view
union {
   struct {
      const char *   clientname
   } 
   struct {
      const char *   name
      char *   ptr
      unsigned   size
      VgaRegs *   regs
   } 
   struct {
      unsigned   index
      ConsoleModeInfo *   info
   } 
   struct {
      unsigned   input_device
      unsigned   input_data
   } 
   struct {
      cap_sel   cap_sc_usage
      unsigned long   mem
      unsigned   res
      char const *   cmdline
   } 
   struct {
      unsigned long long   net_rx
      unsigned long long   net_rx_packets
      unsigned long long   net_rx_drop
      unsigned long long   net_tx
      unsigned long long   net_tx_packets
   } 
}; 

Detailed Description

VGA Console.

Member Enumeration Documentation

Enumerator:
TYPE_ALLOC_CLIENT 
TYPE_ALLOC_VIEW 
TYPE_GET_MODEINFO 
TYPE_GET_FONT 
TYPE_SWITCH_VIEW 
TYPE_KEY 
TYPE_RESET 
TYPE_START 
TYPE_KILL 
TYPE_DEBUG 

Constructor & Destructor Documentation

MessageConsole::MessageConsole ( Type  _type = TYPE_ALLOC_CLIENT,
unsigned short  _id = 0 
)
inline
MessageConsole::MessageConsole ( unsigned  _index,
ConsoleModeInfo _info 
)
inline
MessageConsole::MessageConsole ( const char *  _name,
char *  _ptr,
unsigned  _size,
VgaRegs _regs 
)
inline
MessageConsole::MessageConsole ( unsigned short  _id,
unsigned short  _view,
unsigned  _input_device,
unsigned  _input_data 
)
inline

Member Data Documentation

union { ... }
cap_sel MessageConsole::cap_sc_usage
const char* MessageConsole::clientname
char const* MessageConsole::cmdline
unsigned short MessageConsole::id
unsigned MessageConsole::index
ConsoleModeInfo* MessageConsole::info
unsigned MessageConsole::input_data
unsigned MessageConsole::input_device
unsigned long MessageConsole::mem
const char* MessageConsole::name
unsigned long long MessageConsole::net_rx
unsigned long long MessageConsole::net_rx_drop
unsigned long long MessageConsole::net_rx_packets
unsigned long long MessageConsole::net_tx
unsigned long long MessageConsole::net_tx_packets
char* MessageConsole::ptr
VgaRegs* MessageConsole::regs
unsigned MessageConsole::res
unsigned MessageConsole::size
enum MessageConsole::Type MessageConsole::type
unsigned short MessageConsole::view

The documentation for this struct was generated from the following file: