VirtualBox

Changeset 6915 in vbox for trunk/include/VBox


Ignore:
Timestamp:
Feb 11, 2008 11:35:37 PM (17 years ago)
Author:
vboxsync
Message:

Pass mapping sizes in uint32_t instead of size_t to avoid warnings. (PGMR3MapPT, PGMR3MappingsSize and PGMR3MappingsFix.)

File:
1 edited

Legend:

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

    r6913 r6915  
    488488PGMR3DECL(int)  PGMR3PhysSetFlags(PVM pVM, RTGCPHYS GCPhys, size_t cb, unsigned fFlags, unsigned fMask);
    489489PGMDECL(void)   PGMR3PhysSetA20(PVM pVM, bool fEnable);
    490 PGMR3DECL(int)  PGMR3MapPT(PVM pVM, RTGCPTR GCPtr, size_t cb, PFNPGMRELOCATE pfnRelocate, void *pvUser, const char *pszDesc);
     490PGMR3DECL(int)  PGMR3MapPT(PVM pVM, RTGCPTR GCPtr, uint32_t cb, PFNPGMRELOCATE pfnRelocate, void *pvUser, const char *pszDesc);
    491491PGMR3DECL(int)  PGMR3UnmapPT(PVM pVM, RTGCPTR GCPtr);
    492 PGMR3DECL(int)  PGMR3MappingsSize(PVM pVM, size_t *pcb);
    493 PGMR3DECL(int)  PGMR3MappingsFix(PVM pVM, RTGCPTR GCPtrBase, size_t cb);
     492PGMR3DECL(int)  PGMR3MappingsSize(PVM pVM, uint32_t *pcb);
     493PGMR3DECL(int)  PGMR3MappingsFix(PVM pVM, RTGCPTR GCPtrBase, uint32_t cb);
    494494PGMR3DECL(int)  PGMR3MappingsUnfix(PVM pVM);
    495495PGMR3DECL(int)  PGMR3MapIntermediate(PVM pVM, RTUINTPTR Addr, RTHCPHYS HCPhys, unsigned cbPages);
     
    516516PGMR3DECL(int)  PGMR3DumpHierarchyGC(PVM pVM, uint32_t cr3, uint32_t cr4, RTGCPHYS PhysSearch);
    517517PGMR3DECL(void) PGMR3DumpPD(PVM pVM, PVBOXPD pPD);
    518 PGMR3DECL(void) PGMR3DumpMappings(PVM pVM);
    519518
    520519/** @todo r=bird: s/Byte/U8/ s/Word/U16/ s/Dword/U32/ to match other functions names and returned types. */
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