PCI hostbridge emulation. More...
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 |
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
PciHostBridge::PciHostBridge | ( | Motherboard & | mb, | |
unsigned | busnum, | |||
unsigned | buscount, | |||
unsigned short | iobase, | |||
unsigned long | membase | |||
) | [inline] |
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.