API Reference | developer.brewmp.com API Reference | developer.brewmp.com

Developer

API Reference

IMEMSPACE_TRANSLATEVIRTUALTOREGION()

Brew Release
Brew MP 1.0.2
See Also
Error Codes IMemSpace
Description
Translates from virtual to IMemRegion1
Params
pif
[in]:
interface pointer.
ulVirtAddr
[in]:
virtual address that needs to be translated.
ulPerms
[in]:
permissions associated with the region to be retrieved.
pulSize
[in]:
valid extent after the virtual address that is accessible with the permissions passed in.
ppiMemRegion1
[out]:
pointer to IMemRegion1 interface pointer.
Interface
Prototype
  •    AEEResult IMemSpace_TranslateVirtualToRegion(IMemSpace* pif, 
                                                    uint32 ulVirtAddr, 
                                                    uint32 ulPerms, 
                                                    uint32* pulSize, 
                                                    IMemRegion1** ppiMemRegion1)
    
Return
  • AEE_SUCCESS: success. AEE_EFAILED: failure
Side Effect
  • None.
Comments
None.