VBoxPciInternal.h revision 55fe99386d1cc8178f1a8a0c74e3f501a09c3f23
3d4a4c5c25bae948e19e068c510677c34d6d45f3vboxsync * VBoxPci - PCI driver (Host), Internal Header.
3d4a4c5c25bae948e19e068c510677c34d6d45f3vboxsync * Copyright (C) 2011 Oracle Corporation
3d4a4c5c25bae948e19e068c510677c34d6d45f3vboxsync * This file is part of VirtualBox Open Source Edition (OSE), as
3d4a4c5c25bae948e19e068c510677c34d6d45f3vboxsync * available from http://www.virtualbox.org. This file is free software;
3d4a4c5c25bae948e19e068c510677c34d6d45f3vboxsync * you can redistribute it and/or modify it under the terms of the GNU
3d4a4c5c25bae948e19e068c510677c34d6d45f3vboxsync * General Public License (GPL) as published by the Free Software
3d4a4c5c25bae948e19e068c510677c34d6d45f3vboxsync * Foundation, in version 2 as it comes in the "COPYING" file of the
3d4a4c5c25bae948e19e068c510677c34d6d45f3vboxsync * VirtualBox OSE distribution. VirtualBox OSE is distributed in the
3d4a4c5c25bae948e19e068c510677c34d6d45f3vboxsync * hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
3d4a4c5c25bae948e19e068c510677c34d6d45f3vboxsync//# ifdef DEBUG_nike
3d4a4c5c25bae948e19e068c510677c34d6d45f3vboxsync/* Forward declaration. */
3d4a4c5c25bae948e19e068c510677c34d6d45f3vboxsynctypedef struct VBOXRAWPCIGLOBALS *PVBOXRAWPCIGLOBALS;
typedef struct VBOXRAWPCIINS
#ifdef RT_OS_LINUX
bool fMsiUsed;
bool fMsixUsed;
bool fIommuUsed;
bool fPad0;
void *pIrqContext;
* Per-VM data of the VBox PCI driver. Pointed to by pGVM->rawpci.s.pDriverData.
typedef struct VBOXRAWPCIDRVVM
#ifdef RT_OS_LINUX
# ifdef VBOX_WITH_IOMMU
/* Back pointer to pGVM->rawpci.s. */
typedef struct VBOXRAWPCIGLOBALS
bool fIDCOpen;
#ifdef RT_OS_LINUX
bool *pfPresent,
DECLHIDDEN(int) vboxPciOsDevPciCfgWrite(PVBOXRAWPCIINS pIns, uint32_t Register, PCIRAWMEMLOC *pValue);
DECLHIDDEN(int) vboxPciOsDevPciCfgRead (PVBOXRAWPCIINS pIns, uint32_t Register, PCIRAWMEMLOC *pValue);