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

Developer

API Reference

IMEMCACHE1_CLEARCACHE()

Brew Release
Brew MP 1.0.2
See Also
Error Codes IMemCache1 Memory Space Cache Flush/Invalidate Flags Memory Space Cache Operations
Description
Flush/invalidate the cache if the region is cached.
Params
pif
[in]:
interface pointer.
ulVirtAddr
[in]:
virtual address of the region that needs to be flushed
ulSize
[in]:
size of the buffer that needs to be flushed
ulOperation
[in]:
cache operation - flush/invalidate. It can be a combination of the following
ulFlags
[in]:
Flags for flushing/cleaning the cache. Flags can have a combination of the following
Interface
Prototype
  •    AEEResult IMemCache1_ClearCache(IMemCache1* pif, 
                                       uint32 ulVirtAddr, 
                                       uint32 ulSize, 
                                       uint32 ulOperation, 
                                       uint32 ulFlags);
    
Return
  • AEE_SUCCESS: success. AEE_EFAILED: failure.
Side Effect
  • None.
Comments
None.