VirtualBox

Changeset 36436 in vbox for trunk/include/VBox


Ignore:
Timestamp:
Mar 25, 2011 3:28:17 PM (14 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
70800
Message:

PCI: more IOMMU bits

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/VBox/rawpci.h

    r36400 r36436  
    5050} PCIRAWMEMINFOACTION;
    5151
     52/* Forward declaration. */
     53struct RAWPCIVM;
     54
    5255/**
    5356 * Callback to notify raw PCI subsystem about mapping/unmapping of
     
    5558 * RAM pages with IOMMU, so that it could allow DMA for PCI devices
    5659 * directly from the guest RAM.
    57  * Region shall be one or more contigous (both host and guest) pages
    58  * of physical memory. 
    59  *
     60 * Region shall be one or more contigous (both host and guest) pages
     61 * of physical memory.
     62 *
     63 * @returns VBox status code.
     64 *
    6065 * @param   pVM           VM pointer.
    61  * @param   HostStart     Physical address of region start on the host. 
     66 * @param   HostStart     Physical address of region start on the host.
    6267 * @param   GuestStart    Physical address of region start on the guest.
    6368 * @param   cMemSize      Region size in bytes.
    64  * @param   Action        Action performed.
    65 
    66  */
    67 typedef DECLCALLBACK(void) FNRAWPCICONTIGPHYSMEMINFO(PVM pVM, RTHCPHYS HostStart, RTGCPHYS GuestStart, uint64_t cMemSize, PCIRAWMEMINFOACTION Action);
     69 * @param   Action        Action performed (i.e. if page was mapped or unmapped).
     70 */
     71typedef DECLCALLBACK(int) FNRAWPCICONTIGPHYSMEMINFO(struct RAWPCIVM* pVmData, RTHCPHYS HostStart, RTGCPHYS GuestStart, uint64_t cMemSize, PCIRAWMEMINFOACTION Action);
    6872typedef FNRAWPCICONTIGPHYSMEMINFO *PFNRAWPCICONTIGPHYSMEMINFO;
    6973
     
    307311    PCIRAW_POWER_SUSPEND,
    308312    /* Resume. */
    309     PCIRAW_POWER_RESUME, 
     313    PCIRAW_POWER_RESUME,
    310314    /** The usual 32-bit type blow up. */
    311315    PCIRAW_POWER_32BIT_HACK = 0x7fffffff
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette