MsiCommon.h revision c9c1b52d5c13d75ba8fc3d86278f2b0c6b3e8c2a
ea0316554d23852601ee840c4a856339501411a4vboxsync * Header for MSI support routines.
ea0316554d23852601ee840c4a856339501411a4vboxsync * Copyright (C) 2010 Oracle Corporation
ea0316554d23852601ee840c4a856339501411a4vboxsync * This file is part of VirtualBox Open Source Edition (OSE), as
ea0316554d23852601ee840c4a856339501411a4vboxsync * available from http://www.virtualbox.org. This file is free software;
ea0316554d23852601ee840c4a856339501411a4vboxsync * you can redistribute it and/or modify it under the terms of the GNU
ea0316554d23852601ee840c4a856339501411a4vboxsync * General Public License (GPL) as published by the Free Software
ea0316554d23852601ee840c4a856339501411a4vboxsync * Foundation, in version 2 as it comes in the "COPYING" file of the
ea0316554d23852601ee840c4a856339501411a4vboxsync * VirtualBox OSE distribution. VirtualBox OSE is distributed in the
ea0316554d23852601ee840c4a856339501411a4vboxsync * hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
f1f55b6ac890efaabca0ff940f58aa8df1dc84c8vboxsync/* Maybe belongs to types.h */
ea0316554d23852601ee840c4a856339501411a4vboxsync/* Init MSI support in the device. */
ea0316554d23852601ee840c4a856339501411a4vboxsync/* If MSI is enabled, so that MSINotify() shall be used for notifications. */
ea0316554d23852601ee840c4a856339501411a4vboxsync/* Device notification (aka interrupt). */
c9c1b52d5c13d75ba8fc3d86278f2b0c6b3e8c2avboxsyncvoid MsiNotify(PPDMDEVINS pDevIns, PCPDMPCIHLP pPciHlp, PPCIDEVICE pDev, int iVector, int iLevel);
ea0316554d23852601ee840c4a856339501411a4vboxsync/* PCI config space accessors for MSI registers */
f1f55b6ac890efaabca0ff940f58aa8df1dc84c8vboxsyncvoid MsiPciConfigWrite(PPDMDEVINS pDevIns, PCPDMPCIHLP pPciHlp, PPCIDEVICE pDev, uint32_t u32Address, uint32_t val, unsigned len);