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

HostSerial driver for PCI MMIO cards. More...

#include "nul/motherboard.h"
#include "host/hostpci.h"
#include "wvtest.h"

Classes

class  HostSerialPci
 A PCI 16550-based serial port driver. More...

Functions

 PARAM_HANDLER (hostserialpci,"hostserialpci:hostdevnr,mask,speed=115200,lcr=3 - provide an in+output backend from the host serial port.","Example: 'hostserialpci:0,1,115200,3'.","Bits set to 1 in mask specifies which devices will be handled by this driver""The lcr is used to define word-length, length of stop-bit and parity.","See the LCR encoding of the 16550. The default is lcr=3, which means 8N1.","Received characters are sent to bus_serial with hostdevnr device id and characters send to bus_serial with hostdevnr+1 device id are transmitted.")

Detailed Description

HostSerial driver for PCI MMIO cards.

Copyright (C) 2007-2009, Bernhard Kauer bk@vm.nosp@m.mon..nosp@m.org Copyright (C) 2011, Michal Sojka sojka.nosp@m.@os..nosp@m.inf.t.nosp@m.u-dr.nosp@m.esden.nosp@m..de 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.

Function Documentation

PARAM_HANDLER ( hostserialpci  ,
"hostserialpci:hostdevnr  ,
mask  ,
speed  = 115200,
lcr  = 3 - provide an in+output backend from the host serial port.", "Example:   'hostserialpci:0,
,
115200  ,
3'."  ,
"Bits set to 1 in mask specifies which devices will be handled by this driver""The lcr is used to define word-  length,
length of stop-bit and parity."  ,
"See the LCR encoding of the 16550. The default is  lcr = 3,
which means 8N1."  ,
"Received characters are sent to bus_serial with hostdevnr device id and characters send to bus_serial with hostdevnr+1 device id are transmitted."   
)