PCI config space access. More...
Public Member Functions | |
PciConfigAccess (DBus< MessageIOIn > &hwioin, DBus< MessageIOOut > &hwioout, unsigned semcap) | |
bool | receive (MessagePciConfig &msg) |
Public Attributes | |
DBus< MessageIOIn > & | _hwioin |
DBus< MessageIOOut > & | _hwioout |
Semaphore | _lock |
Static Public Attributes | |
static const unsigned | BASE = 0xcf8 |
PCI config space access.
Copyright (C) 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. Provide HW PCI config space access by bridging PCI cfg read/write messages to the HW IO busses.
State: stable Documentation: pci3 spec
PciConfigAccess::PciConfigAccess | ( | DBus< MessageIOIn > & | hwioin, | |
DBus< MessageIOOut > & | hwioout, | |||
unsigned | semcap | |||
) | [inline] |
bool PciConfigAccess::receive | ( | MessagePciConfig & | msg | ) | [inline] |
const unsigned PciConfigAccess::BASE = 0xcf8 [static] |