UART 16550 emulation. More...
Public Member Functions | |
bool | receive (MessageSerial &msg) |
bool | receive (MessageIOIn &msg) |
bool | receive (MessageIOOut &msg) |
void | discovery () |
SerialDevice (Motherboard &mb, unsigned short base, unsigned char irq, unsigned hostserial) | |
Public Attributes | |
Motherboard & | _mb |
UART 16550 emulation.
Copyright (C) 2007-2009, Bernhard Kauer <bk@vmmon.org> Economic rights: Technische Universitaet Dresden (Germany)
This file is part of Vancouver.
Vancouver is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License version 2 as published by the Free Software Foundation.
Vancouver is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License version 2 for more details. Implements a 16550 UART.
State: stable Missing Features: * no write fifo * no transmission effect of stopbit+parity+divisor * no character timeout indication -> need a timer for that * no MSR setting via client Ignored bits: FCR2-3, LCR2-6, LSR2-4,7 Documentation: NSC 16550D - PC16550D.pdf
SerialDevice::SerialDevice | ( | Motherboard & | mb, | |
unsigned short | base, | |||
unsigned char | irq, | |||
unsigned | hostserial | |||
) | [inline] |
void SerialDevice::discovery | ( | ) | [inline] |
bool SerialDevice::receive | ( | MessageIOIn & | msg | ) | [inline] |
bool SerialDevice::receive | ( | MessageIOOut & | msg | ) | [inline] |
bool SerialDevice::receive | ( | MessageSerial & | msg | ) | [inline] |