VirtualBox

Changeset 4958 in vbox for trunk/include/VBox


Ignore:
Timestamp:
Sep 21, 2007 2:54:04 PM (17 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
24717
Message:

Added hSelf and removed pVMHC from the VM structure.

Location:
trunk/include/VBox
Files:
2 edited

Legend:

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

    r4787 r4958  
    235235     */
    236236    R3PTRTYPE(struct VM *)      pNext;
    237     /** Host Context VM Pointer.
    238      * @obsolete don't use in new code! */
    239     R3PTRTYPE(struct VM *)      pVMHC;
    240237    /** Ring-3 Host Context VM Pointer. */
    241238    R3PTRTYPE(struct VM *)      pVMR3;
     
    244241    /** Guest Context VM Pointer. */
    245242    GCPTRTYPE(struct VM *)      pVMGC;
     243
     244    /** The GVM VM handle. Only the GVM should modify this field. */
     245    uint32_t                    hSelf;
     246    /** Reserved / padding. */
     247    uint32_t                    u32Reserved;
    246248
    247249    /** @name Public VMM Switcher APIs
     
    317319
    318320    /* padding to make gnuc put the StatQemuToGC where msc does. */
    319 /*#if HC_ARCH_BITS == 32
     321#if HC_ARCH_BITS == 32
    320322    uint32_t            padding0;
    321 #endif */
     323#endif
    322324
    323325    /** Profiling the total time from Qemu to GC. */
     
    346348
    347349    /* padding - the unions must be aligned on 32 bytes boundraries. */
    348     uint32_t            padding[HC_ARCH_BITS == 32 ? 6 : 6];
     350    uint32_t            padding[HC_ARCH_BITS == 32 ? 4 : 6];
    349351
    350352    /** CPUM part. */
  • TabularUnified trunk/include/VBox/vm.mac

    r4071 r4958  
    3838    .pSession           RTR3PTR_RES 1
    3939    .pNext              RTHCPTR_RES 1
    40     .pVMHC              RTHCPTR_RES 1
    4140    .pVMR3              RTR3PTR_RES 1
    4241    .pVMR0              RTR0PTR_RES 1
    4342    .pVMGC              RTGCPTR_RES 1
     43    .hSelf              resd 1
     44    .u32Reserved        resd 1
    4445
    4546    .pfnVMMGCGuestToHostAsmGuestCtx RTGCPTR_RES 1
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