Generic PCI classes. More...
#include <pci.h>
Static Public Member Functions | |
static unsigned | find_free_bdf (DBus< MessagePciConfig > &bus_pcicfg, unsigned bdf) |
template<typename Y > | |
static bool | receive (MessagePciConfig &msg, Y *obj, unsigned bdf) |
Template that forwards PCI config messages to the corresponding register functions. |
Generic PCI classes.
Copyright (C) 2008-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.
static unsigned PciHelper::find_free_bdf | ( | DBus< MessagePciConfig > & | bus_pcicfg, | |
unsigned | bdf | |||
) | [inline, static] |
static bool PciHelper::receive | ( | MessagePciConfig & | msg, | |
Y * | obj, | |||
unsigned | bdf | |||
) | [inline, static] |
Template that forwards PCI config messages to the corresponding register functions.