Public Member Functions | Public Attributes

PciHostBridge Class Reference

PCI hostbridge emulation. More...

Inheritance diagram for PciHostBridge:
DiscoveryHelper< PciHostBridge > StaticReceiver< PciHostBridge > Device

List of all members.

Public Member Functions

bool receive (MessageIOIn &msg)
bool receive (MessageIOOut &msg)
bool receive (MessageMem &msg)
 MMConfig access.
bool receive (MessagePciConfig &msg)
bool receive (MessageLegacy &msg)
bool receive (MessageBios &msg)
 PCI BIOS functions.
void discovery ()
 PciHostBridge (Motherboard &mb, unsigned busnum, unsigned buscount, unsigned short iobase, unsigned long membase)

Public Attributes

Motherboard_mb

Detailed Description

PCI hostbridge emulation.

Copyright (C) 2007-2010, 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. A PCI host bridge.

State: unstable Features: ConfigSpace, BusReset, MMConfig, PCI BIOS Missing: LogicalPCI bus


Constructor & Destructor Documentation

PciHostBridge::PciHostBridge ( Motherboard mb,
unsigned  busnum,
unsigned  buscount,
unsigned short  iobase,
unsigned long  membase 
) [inline]

Member Function Documentation

void PciHostBridge::discovery (  )  [inline]
bool PciHostBridge::receive ( MessageMem msg  )  [inline]

MMConfig access.

bool PciHostBridge::receive ( MessageBios msg  )  [inline]

PCI BIOS functions.

bool PciHostBridge::receive ( MessageLegacy msg  )  [inline]
bool PciHostBridge::receive ( MessagePciConfig msg  )  [inline]
bool PciHostBridge::receive ( MessageIOIn msg  )  [inline]
bool PciHostBridge::receive ( MessageIOOut msg  )  [inline]

According to http://www.cs.helsinki.fi/linux/linux-kernel/2003-01/1126.html this is a way to switch between PCI configuration method 2 and 1. We simply ignore the access.

Reset via 0xcf9 method.


Member Data Documentation


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