Non-Confidential | ![]() | ARM 100963_0200_00_en | ||
| ||||
Home > Class Reference > CADI class > CADI::CADIMemGetBlocks() |
ARM recommends that the debugger for the target call this method once for each memory space, provided by calling the CADIMemGetSpaces()
function, before accessing memory in that space.
This method must return the layout of the memory in a specific block. No two blocks with the same parent can overlap. This call returns existing memory blocks only. The caller can assume that any memory that is not in a block is a gap or invalid memory.
virtual CADIReturn_t CADI::CADIMemGetBlocks(uint32_t memorySpace, uint32_t memBlockIndex, uint32_t desiredNumOfMemBlocks, uint32_t *actualNumOfMemBlocks, CADIMemBlockInfo_t *memBlocks) = 0;
CADIMemBlockInfo_t
structs. Space is allocated, and
deallocated if applicable, by the caller.