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

#include <Serial.h>

+ Inheritance diagram for X86Serial:
+ Collaboration diagram for X86Serial:

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

IoPort m_Port
 

Detailed Description

Serial device abstraction.

Definition at line 42 of file kernel/machine/mach_pc/Serial.h.

Member Function Documentation

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

Implements Serial.

Definition at line 31 of file mach_pc/Serial.cc.

References Hex, and NOTICE.

Referenced by Pc::initialise().

+ Here is the caller graph for this function:


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