This is the memory function to allocate a memory.
Prototype
XAie_MemInst * XAie_MemAllocate(XAie_DevInst *DevInst, u64 Size, XAie_MemCacheProp Cache);
Parameters
The following table lists the XAie_MemAllocate function arguments.
| Type | Member | Description |
|---|---|---|
| XAie_DevInst * | DevInst | Device Instance |
| u64 | Size | Size of the memory |
| XAie_MemCacheProp | Cache | Buffer to be cacheable or not |