VirtualBox

Changeset 76393 in vbox for trunk/include


Ignore:
Timestamp:
Dec 23, 2018 2:04:19 AM (6 years ago)
Author:
vboxsync
Message:

VBox/vmm/gmm.h,pgm.h: Avoid dragging in VMMDev.h just for VMMDEVSHAREDREGIONDESC, so moved VMMDEVSHAREDREGIONDESC to types.h. bugref:9344

Location:
trunk/include/VBox
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/VBox/VMMDev.h

    r76196 r76393  
    14021402
    14031403
    1404 /**
    1405  * Shared region description
    1406  */
    1407 typedef struct VMMDEVSHAREDREGIONDESC
    1408 {
    1409     RTGCPTR64           GCRegionAddr;
    1410     uint32_t            cbRegion;
    1411     uint32_t            u32Alignment;
    1412 } VMMDEVSHAREDREGIONDESC;
    1413 AssertCompileSize(VMMDEVSHAREDREGIONDESC, 16);
     1404AssertCompileSize(VMMDEVSHAREDREGIONDESC, 16); /* structure was promoted to VBox/types.h. */
    14141405
    14151406#define VMMDEVSHAREDREGIONDESC_MAX          32
  • trunk/include/VBox/VMMDevCoreTypes.h

    r76196 r76393  
    3737#include <iprt/types.h>
    3838#ifdef __cplusplus
    39 # include <iprt/err.h>
     39# include <iprt/err.h> /* VERR_INVALID_PARAMETER */
    4040#endif
    4141
  • trunk/include/VBox/types.h

    r71222 r76393  
    10801080
    10811081
     1082/**
     1083 * Shared region description (needed by GMM and others, thus global).
     1084 */
     1085typedef struct VMMDEVSHAREDREGIONDESC
     1086{
     1087    RTGCPTR64           GCRegionAddr;
     1088    uint32_t            cbRegion;
     1089    uint32_t            u32Alignment;
     1090} VMMDEVSHAREDREGIONDESC;
     1091
     1092
    10821093/** @} */
    10831094
  • trunk/include/VBox/vmm/gmm.h

    r69475 r76393  
    3131#include <VBox/param.h>
    3232#include <VBox/ostypes.h>
    33 #include <VBox/VMMDev.h>
    3433#include <iprt/avl.h>
    3534
  • trunk/include/VBox/vmm/pgm.h

    r73376 r76393  
    3232#include <VBox/vmm/gmm.h>               /* for PGMMREGISTERSHAREDMODULEREQ */
    3333#include <iprt/x86.h>
    34 #include <VBox/VMMDev.h>                /* for VMMDEVSHAREDREGIONDESC */
    3534#include <VBox/param.h>
    3635
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