VirtualBox

Changeset 13898 in vbox for trunk/include/VBox


Ignore:
Timestamp:
Nov 6, 2008 9:44:29 AM (16 years ago)
Author:
vboxsync
Message:

Moved more data to VMCPU.

Location:
trunk/include/VBox
Files:
2 edited

Legend:

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

    r13879 r13898  
    133133        struct HWACCMCPU    s;
    134134#endif
    135         char                padding[512];        /* multiple of 32 */
     135        char                padding[1024];        /* multiple of 32 */
    136136    } hwaccm;
    137137
     
    395395#endif
    396396
    397 
    398 /** @def VM_GET_VMCPUID
    399  * Returns the VMCPU id of the current EMT.
    400  * @todo r=bird: See VMMGetCpuId().
    401  */
    402 #ifdef IN_RC
    403 # define VM_GET_VMCPUID(pVM)                0
    404 #elif defined(IN_RING0)
    405 # define VM_GET_VMCPUID(pVM)                HWACCMGetVMCPUId(pVM)
    406 #else
    407 # define VM_GET_VMCPUID(pVM)                VMR3GetVMCPUId(pVM)
    408 #endif
    409397
    410398/**
     
    620608        struct HWACCM s;
    621609#endif
    622         char        padding[1536];       /* multiple of 32 */
     610        char        padding[512];       /* multiple of 32 */
    623611    } hwaccm;
    624612
  • trunk/include/VBox/vmm.h

    r13871 r13898  
    112112RTRCPTR             VMMGetStackRC(PVM pVM);
    113113VMCPUID             VMMGetCpuId(PVM pVM);
     114PVMCPU              VMMGetCpu(PVM pVM);
    114115VMMDECL(uint32_t)   VMMGetSvnRev(void);
    115116
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