VirtualBox

Changeset 18929 in vbox for trunk


Ignore:
Timestamp:
Apr 16, 2009 11:48:09 AM (16 years ago)
Author:
vboxsync
Message:

Missing header

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/CPUMInternal.h

    r16113 r18929  
    259259typedef struct CPUM
    260260{
    261     /**
    262      * Hypervisor context.
    263      * Aligned on a 64-byte boundrary.
    264      */
    265     CPUMCTX                 Hyper;
    266 
    267     /** Pointer to the current hypervisor core context - R3Ptr. */
    268     R3PTRTYPE(PCPUMCTXCORE) pHyperCoreR3;
    269     /** Pointer to the current hypervisor core context - R0Ptr. */
    270     R0PTRTYPE(PCPUMCTXCORE) pHyperCoreR0;
    271     /** Pointer to the current hypervisor core context - RCPtr. */
    272     RCPTRTYPE(PCPUMCTXCORE) pHyperCoreRC;
    273 
    274261    /* Offset from CPUM to CPUMCPU for the first CPU. */
    275262    uint32_t                ulOffCPUMCPU;
    276263
    277     /** Hidden selector registers state.
    278      *  Valid (hw accelerated raw mode) or not (normal raw mode)
    279      */
    280     uint32_t                fValidHiddenSelRegs;
     264    /** Use flags.
     265     * These flags indicates which CPU features the host uses.
     266     */
     267    uint32_t                fHostUseFlags;
    281268
    282269    /** Host CPU Features - ECX */
     
    321308
    322309    /** Align the next member, and thereby the structure, on a 64-byte boundrary. */
    323     uint8_t                 abPadding2[HC_ARCH_BITS == 32 ? 60 : 48];
     310    uint8_t                 abPadding2[HC_ARCH_BITS == 32 ? 8 : 4];
    324311
    325312    /**
     
    338325{
    339326    /**
     327     * Hypervisor context.
     328     * Aligned on a 64-byte boundrary.
     329     */
     330    CPUMCTX                 Hyper;
     331
     332    /**
    340333     * Saved host context. Only valid while inside GC.
    341334     * Aligned on a 64-byte boundrary.
     
    359352     */
    360353    CPUMCTXMSR              GuestMsr;
     354
     355    /** Pointer to the current hypervisor core context - R3Ptr. */
     356    R3PTRTYPE(PCPUMCTXCORE) pHyperCoreR3;
     357    /** Pointer to the current hypervisor core context - R0Ptr. */
     358    R0PTRTYPE(PCPUMCTXCORE) pHyperCoreR0;
     359    /** Pointer to the current hypervisor core context - RCPtr. */
     360    RCPTRTYPE(PCPUMCTXCORE) pHyperCoreRC;
    361361
    362362    /** Use flags.
     
    378378    uint32_t                u32RetCode;
    379379
    380     /* Round to 16 byte size.
    381     uint32_t                uPadding;
    382      */
     380    /** Align the next member, and thereby the structure, on a 64-byte boundrary. */
     381    uint8_t                 abPadding2[HC_ARCH_BITS == 32 ? 36 : 28];
    383382} CPUMCPU, *PCPUMCPU;
    384383/** Pointer to the CPUMCPU instance data residing in the shared VMCPU structure. */
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