VirtualBox

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


Ignore:
Timestamp:
May 6, 2022 6:33:54 AM (3 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
151284
Message:

VMM: First stab at Guest Compatibility Manager, fixing up things like division overflows caused by fast CPUs (see bugref:9735).

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

Legend:

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

    r94799 r94882  
    14621462    } R0Stats;
    14631463
     1464    union
     1465    {
     1466#ifdef VMM_INCLUDED_SRC_include_GCMInternal_h
     1467        struct GCM  s;
     1468#endif
     1469        uint8_t     padding[32];       /* multiple of 8 */
     1470    } gcm;
     1471
    14641472    /** Padding for aligning the structure size on a page boundrary. */
    1465     uint8_t         abAlignment2[8912 - sizeof(PVMCPUR3) * VMM_MAX_CPU_COUNT];
     1473    uint8_t         abAlignment2[8880 - sizeof(PVMCPUR3) * VMM_MAX_CPU_COUNT];
    14661474
    14671475    /* ---- end small stuff ---- */
  • trunk/include/VBox/vmm/vm.mac

    r93650 r94882  
    165165    .iem                    resb 8
    166166    .R0Stats                resb 64
     167    .gcm                    resb 32
    167168
    168169    times ((($ + VMM_MAX_CPU_COUNT * RTR0PTR_CB + 16383) & ~16383) - ($ + VMM_MAX_CPU_COUNT * RTR0PTR_CB)) resb 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