Adding memory info dumping utility, use --log_heap.

This commit is contained in:
Ben Vanik
2013-10-20 12:39:59 -07:00
parent fbea5a6394
commit 002400d071
3 changed files with 40 additions and 1 deletions

View File

@@ -50,6 +50,8 @@ enum {
XE_MEMORY_ACCESS_WRITE = (1 << 2)
};
void xe_memory_heap_dump(xe_memory_ref memory);
uint32_t xe_memory_heap_alloc(xe_memory_ref memory, uint32_t base_address,
uint32_t size, uint32_t flags,
uint32_t alignment = 0x20);