VirtualBox

Changeset 71136 in vbox for trunk/src/VBox/VMM/include


Ignore:
Timestamp:
Feb 27, 2018 1:17:36 PM (7 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
121023
Message:

SUPDrv,VMM/NEM/win: Abstracted kernel I/O control work in SUPDrv, currently only implemented & needed on windows. Made first I/O control call to VID from ring-0. bugref:9044

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/include/NEMInternal.h

    r71131 r71136  
    173173        }                       UnmapPages;
    174174    } Hypercall;
     175    /** I/O control buffer, we always use this for I/O controls. */
     176    union
     177    {
     178        uint8_t                 ab[64];
     179        HV_PARTITION_ID         idPartition;
     180    } uIoCtlBuf;
    175181#endif
    176182} NEMCPU;
     
    232238    /** The partition ID. */
    233239    uint64_t                    idHvPartition;
     240    /** I/O control context. */
     241    PSUPR0IOCTLCTX              pIoCtlCtx;
     242    /** Delta to add to convert a ring-0 pointer to a ring-3 one.   */
     243    uintptr_t                   offRing3ConversionDelta;
     244    /** Info about the VidGetHvPartitionId I/O control interface. */
     245    NEMWINIOCTL                 IoCtlGetHvPartitionId;
     246    /** Info about the VidStartVirtualProcessor I/O control interface. */
     247    NEMWINIOCTL                 IoCtlStartVirtualProcessor;
     248    /** Info about the VidStopVirtualProcessor I/O control interface. */
     249    NEMWINIOCTL                 IoCtlStopVirtualProcessor;
     250    /** Info about the VidStopVirtualProcessor I/O control interface. */
     251    NEMWINIOCTL                 IoCtlMessageSlotHandleAndGetNext;
     252
    234253# else
    235254    uint32_t                    uDummy;
Note: See TracChangeset for help on using the changeset viewer.

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