Public Member Functions | Public Attributes | Static Public Attributes

PciConfigAccess Struct Reference

PCI config space access. More...

Inheritance diagram for PciConfigAccess:
StaticReceiver< PciConfigAccess > Device

List of all members.

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

Detailed Description

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


Constructor & Destructor Documentation

PciConfigAccess::PciConfigAccess ( DBus< MessageIOIn > &  hwioin,
DBus< MessageIOOut > &  hwioout,
unsigned  semcap 
) [inline]

Member Function Documentation

bool PciConfigAccess::receive ( MessagePciConfig msg  )  [inline]

Member Data Documentation

const unsigned PciConfigAccess::BASE = 0xcf8 [static]

The documentation for this struct was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines