VirtualBox

Changeset 19252 in vbox for trunk/include/VBox


Ignore:
Timestamp:
Apr 29, 2009 9:56:19 AM (16 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
46655
Message:

SUPCallVMMR0(Ex) arguments must include the VCPU id.
Note: support driver major version change!

File:
1 edited

Legend:

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

    r18191 r19252  
    447447 * @returns error code specific to uFunction.
    448448 * @param   pVMR0       Pointer to the Ring-0 (Host Context) mapping of the VM structure.
     449 * @param   idCpu       VMCPU id.
    449450 * @param   uOperation  Operation to execute.
    450451 * @param   pvArg       Argument.
    451452 */
    452 SUPR3DECL(int) SUPCallVMMR0(PVMR0 pVMR0, unsigned uOperation, void *pvArg);
     453SUPR3DECL(int) SUPCallVMMR0(PVMR0 pVMR0, unsigned idCpu, unsigned uOperation, void *pvArg);
    453454
    454455/**
     
    459460 * @param   pVMR0       The ring-0 VM handle.
    460461 * @param   uOperation  The operation; only the SUP_VMMR0_DO_* ones are valid.
    461  * @param   idCPU       VMCPU id.
    462  */
    463 SUPR3DECL(int) SUPCallVMMR0Fast(PVMR0 pVMR0, unsigned uOperation, unsigned idCPU);
     462 * @param   idCpu       VMCPU id.
     463 */
     464SUPR3DECL(int) SUPCallVMMR0Fast(PVMR0 pVMR0, unsigned uOperation, unsigned idCpu);
    464465
    465466/**
     
    472473 * @returns error code specific to uFunction.
    473474 * @param   pVMR0       Pointer to the Ring-0 (Host Context) mapping of the VM structure.
     475 * @param   idCpu       VMCPU id.
    474476 * @param   uOperation  Operation to execute.
    475477 * @param   u64Arg      Constant argument.
     
    478480 *                      limit on this, just below 4KB.
    479481 */
    480 SUPR3DECL(int) SUPCallVMMR0Ex(PVMR0 pVMR0, unsigned uOperation, uint64_t u64Arg, PSUPVMMR0REQHDR pReqHdr);
     482SUPR3DECL(int) SUPCallVMMR0Ex(PVMR0 pVMR0, unsigned idCpu, unsigned uOperation, uint64_t u64Arg, PSUPVMMR0REQHDR pReqHdr);
    481483
    482484/**
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