The Pedigree Project  0.1
Public Member Functions | Private Member Functions | Private Attributes | List of all members
HostedSerial Class Reference

#include <Serial.h>

+ Inheritance diagram for HostedSerial:
+ Collaboration diagram for HostedSerial:

Public Member Functions

virtual void setBase (uintptr_t nBaseAddr)
 
virtual char read ()
 
virtual char readNonBlock ()
 
virtual void write (char c)
 
- Public Member Functions inherited from Serial
void write (const char *c)
 

Private Member Functions

bool isConnected ()
 

Private Attributes

int m_File
 
uintptr_t m_nFileNumber
 

Detailed Description

Serial device abstraction.

Definition at line 30 of file kernel/machine/hosted/Serial.h.

Member Function Documentation

void HostedSerial::setBase ( uintptr_t  nBaseAddr)
virtual
Todo:
make this generic for Mmaped and port IO.

Implements Serial.

Definition at line 40 of file hosted/Serial.cc.


The documentation for this class was generated from the following files: