VirtualBox

Changeset 50953 in vbox for trunk/include/VBox/vmm


Ignore:
Timestamp:
Apr 2, 2014 2:47:00 PM (11 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
93105
Message:

GIM: Skeleton, work in progress.

Location:
trunk/include/VBox/vmm
Files:
1 added
2 edited

Legend:

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

    r49664 r50953  
    225225    } dbgf;
    226226
     227    /** GIM part. */
     228    union
     229    {
     230#ifdef ___GIMInternal_h
     231        struct GIMCPU s;
     232#endif
     233        uint8_t             padding[64];      /* multiple of 64 */
     234    } gim;
     235
    227236    /** Align the following members on page boundary. */
    228     uint8_t                 abAlignment2[128];
     237    uint8_t                 abAlignment2[64];
    229238
    230239    /** PGM part. */
     
    656665                                                      (pVCpu) ? (pVCpu)->idCpu : 0))
    657666#else
    658 # define VMCPU_ASSERT_EMT(pVCpu) \
    659     AssertMsg(VMCPU_IS_EMT(pVCpu), \
    660               ("Not emulation thread! Thread=%RTnthrd ThreadEMT=%RTnthrd idCpu=%#x\n", \
    661               RTThreadNativeSelf(), (pVCpu)->hNativeThread, (pVCpu)->idCpu))
     667# define VMCPU_ASSERT_EMT(pVCpu)            AssertMsg(VMCPU_IS_EMT(pVCpu), \
     668                                                      ("Not emulation thread! Thread=%RTnthrd ThreadEMT=%RTnthrd idCpu=%#x\n", \
     669                                                      RTThreadNativeSelf(), (pVCpu)->hNativeThread, (pVCpu)->idCpu))
    662670#endif
    663671
     
    11091117    } rem;
    11101118
     1119    union
     1120    {
     1121#ifdef ___GIMInternal_h
     1122        struct GIM s;
     1123#endif
     1124        uint8_t     padding[64];        /* multiple of 64 */
     1125    } gim;
     1126
    11111127    /* ---- begin small stuff ---- */
    11121128
     
    11311147
    11321148    /** Padding for aligning the cpu array on a page boundary. */
    1133     uint8_t         abAlignment2[414];
     1149    uint8_t         abAlignment2[350];
    11341150
    11351151    /* ---- end small stuff ---- */
  • trunk/include/VBox/vmm/vm.mac

    r49664 r50953  
    144144    .iom                    resb 512
    145145    .dbgf                   resb 64
     146    .gim                    resb 64
    146147    alignb 4096
    147148    .pgm                    resb 4096
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