VirtualBox

Changeset 45097 in vbox for trunk/src


Ignore:
Timestamp:
Mar 19, 2013 7:05:53 PM (12 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
84386
Message:

Alignment.

Location:
trunk/src/VBox/VMM
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/VMMRZ/VMMRZ.cpp

    r45091 r45097  
    187187 * @return VBox status code.
    188188 */
    189 VMMRZDECL(int) VMMRZCallRing3SetNotification(PVMCPU pVCpu, PFNVMMR0CALLRING3NOTIFICATION pfnCallback, void *pvUser)
     189VMMRZDECL(int) VMMRZCallRing3SetNotification(PVMCPU pVCpu, R0PTRTYPE(PFNVMMR0CALLRING3NOTIFICATION) pfnCallback, RTR0PTR pvUser)
    190190{
    191191    AssertReturn(pVCpu, VERR_INVALID_POINTER);
  • trunk/src/VBox/VMM/include/VMMInternal.h

    r45091 r45097  
    432432    /** @} */
    433433
    434     /** Alignment padding, making sure u64CallRing3Arg is nicly aligned. */
     434    /** Alignment padding, making sure u64CallRing3Arg is nicely aligned. */
    435435    uint32_t                    au32Padding1[3];
    436436
     
    446446    /** The argument to the operation. */
    447447    uint64_t                    u64CallRing3Arg;
     448    /** The Ring-0 notification callback. */
     449    R0PTRTYPE(PFNVMMR0CALLRING3NOTIFICATION)   pfnCallRing3CallbackR0;
     450    /** The Ring-0 notification callback user argument. */
     451    R0PTRTYPE(void *)           pvCallRing3CallbackUserR0;
    448452    /** The Ring-0 jmp buffer.
    449453     * @remarks The size of this type isn't stable in assembly, so don't put
    450454     *          anything that needs to be accessed from assembly after it. */
    451455    VMMR0JMPBUF                 CallRing3JmpBufR0;
    452     /** The Ring-0 notification callback. */
    453     PFNVMMR0CALLRING3NOTIFICATION   pfnCallRing3CallbackR0;
    454     /** The Ring-0 notification callback user argument. */
    455     void                       *pvCallRing3CallbackUserR0;
    456456    /** @} */
    457457} VMMCPU;
  • trunk/src/VBox/VMM/include/VMMInternal.mac

    r45091 r45097  
    124124        .rcCallRing3            resd 1
    125125        .u64CallRing3Arg        resq 1
     126        .pfnCallRing3CallbackR0         RTR0PTR_RES 1
     127        .pvCallRing3CallbackUserR0      RTR0PTR_RES 1
    126128        ; .CallRing3JmpBufR0    resb no-can-do
    127         ; .pfnCallRing3CallbackR0
    128         ; .pvCallRing3CallbackUserR0
    129129endstruc
    130130
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