2 * (c) 2011 Alexander Warg <warg@os.inf.tu-dresden.de>
3 * economic rights: Technische Universität Dresden (Germany)
5 * This file is part of TUD:OS and distributed under the terms of the
6 * GNU General Public License 2.
7 * Please see the COPYING-GPL-2 file for details.
10 #include "vbus_factory.h"
17 Msi_resource::Msi_resource(Hw::Msi_resource *hr)
18 : Resource(Resource::Irq_res | Resource::Irq_type_falling_edge
19 | Resource::F_disabled | F_can_move, 0, 0), _hw_msi(hr)
22 d_printf(DBG_ALL, "Create virtual MSI wrapper for MSI %lld\n", _hw_msi->start());
27 static Vi::Resource_factory_t<Vi::Msi_resource, Hw::Msi_resource> __vmsifactory;