VirtualBox

Changeset 28415 in vbox for trunk/include


Ignore:
Timestamp:
Apr 16, 2010 12:59:40 PM (15 years ago)
Author:
vboxsync
Message:

Shared paging updates

Location:
trunk/include/VBox
Files:
3 edited

Legend:

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

    r28408 r28415  
    552552/** @name Page sharing
    553553 * @{ */
    554 VBGLR3DECL(int)     VbglR3RegisterSharedModule(char *pszModuleName, char *pszVersion, RTGCPTR64  GCBaseAddr, uint32_t cbModule, unsigned cRegions, VMMDevSharedModuleRegion *pRegions);
     554VBGLR3DECL(int)     VbglR3RegisterSharedModule(char *pszModuleName, char *pszVersion, RTGCPTR64  GCBaseAddr, uint32_t cbModule, unsigned cRegions, VMMDEVSHAREDREGIONDESC *pRegions);
    555555VBGLR3DECL(int)     VbglR3UnregisterSharedModule(char *pszModuleName, char *pszVersion, RTGCPTR64  GCBaseAddr, uint32_t cbModule);
    556556VBGLR3DECL(int)     VbglR3CheckSharedModules();
  • trunk/include/VBox/VMMDev.h

    r28408 r28415  
    10761076    uint32_t            cbRegion;
    10771077    uint32_t            u32Alignment;
    1078 } VMMDevSharedModuleRegion;
    1079 AssertCompileSize(VMMDevSharedModuleRegion, 16);
     1078} VMMDEVSHAREDREGIONDESC;
     1079AssertCompileSize(VMMDEVSHAREDREGIONDESC, 16);
     1080
     1081#define VMMDEVSHAREDREGIONDESC_MAX          32
    10801082
    10811083/**
     
    10971099    char                        szVersion[16];
    10981100    /** Shared region descriptor(s). */
    1099     VMMDevSharedModuleRegion    aRegions[1];
     1101    VMMDEVSHAREDREGIONDESC      aRegions[1];
    11001102} VMMDevSharedModuleRegistrationRequest;
    11011103AssertCompileSize(VMMDevSharedModuleRegistrationRequest, 24+4+4+8+128+16+16);
  • trunk/include/VBox/pgm.h

    r28036 r28415  
    3737#include <VBox/x86.h>
    3838#include <VBox/hwacc_vmx.h>
     39#include <VBox/vmmdev.h> /* for VMMDEVSHAREDREGIONDESC */
    3940
    4041RT_C_DECLS_BEGIN
     
    564565VMMR3DECL(int)      PGMR3DbgScanPhysical(PVM pVM, RTGCPHYS GCPhys, RTGCPHYS cbRange, RTGCPHYS GCPhysAlign, const uint8_t *pabNeedle, size_t cbNeedle, PRTGCPHYS pGCPhysHit);
    565566VMMR3DECL(int)      PGMR3DbgScanVirtual(PVM pVM, PVMCPU pVCpu, RTGCPTR GCPtr, RTGCPTR cbRange, RTGCPTR GCPtrAlign, const uint8_t *pabNeedle, size_t cbNeedle, PRTGCUINTPTR pGCPhysHit);
     567
     568
     569/** @name Page sharing
     570 * @{ */
     571VMMR3DECL(int)     PGMR3SharedModuleRegister(PVM pVM, char *pszModuleName, char *pszVersion, RTGCPTR GCBaseAddr, uint32_t cbModule, unsigned cRegions, VMMDEVSHAREDREGIONDESC *pRegions);
     572VMMR3DECL(int)     PGMR3SharedModuleUnregister(PVM pVM, char *pszModuleName, char *pszVersion, RTGCPTR GCBaseAddr, uint32_t cbModule);
     573VMMR3DECL(int)     PGMR3SharedModuleCheck(PVM pVM);
     574/** @} */
     575
    566576/** @} */
    567577#endif /* IN_RING3 */
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