VirtualBox

Changeset 80641 in vbox for trunk/include/VBox/vmm/vm.h


Ignore:
Timestamp:
Sep 6, 2019 8:09:16 PM (5 years ago)
Author:
vboxsync
Message:

IOM: New I/O port registration code. bugref:9218

File:
1 edited

Legend:

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

    r80331 r80641  
    10071007 * it isn't.
    10081008 */
    1009 #define VM_ASSERT_EMT0_RETURN(pVM, rc)      VMCPU_ASSERT_EMT_RETURN(&(pVM)->aCpus[0], (rc))
     1009#ifdef IN_RING3
     1010# define VM_ASSERT_EMT0_RETURN(pVM, rc)     VMCPU_ASSERT_EMT_RETURN((pVM)->apCpusR3[0], (rc))
     1011#else
     1012# define VM_ASSERT_EMT0_RETURN(pVM, rc)     VMCPU_ASSERT_EMT_RETURN(&(pVM)->aCpus[0], (rc))
     1013#endif
    10101014
    10111015
     
    13231327        struct IOM s;
    13241328#endif
    1325         uint8_t     padding[896];       /* multiple of 64 */
     1329        uint8_t     padding[960];       /* multiple of 64 */
    13261330    } iom;
    13271331
     
    14471451    /** Padding for aligning the structure size on a page boundrary. */
    14481452#ifdef VBOX_WITH_REM
    1449     uint8_t         abAlignment2[3032       - sizeof(PVMCPUR3) * VMM_MAX_CPU_COUNT];
    1450 #else
    1451     uint8_t         abAlignment2[3032 + 256 - sizeof(PVMCPUR3) * VMM_MAX_CPU_COUNT];
     1453    uint8_t         abAlignment2[2968       - sizeof(PVMCPUR3) * VMM_MAX_CPU_COUNT];
     1454#else
     1455    uint8_t         abAlignment2[2968 + 256 - sizeof(PVMCPUR3) * VMM_MAX_CPU_COUNT];
    14521456#endif
    14531457
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