aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'memplugin.h')
-rw-r--r--memplugin.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/memplugin.h b/memplugin.h
index b8fb866..0c98b4b 100644
--- a/memplugin.h
+++ b/memplugin.h
@@ -74,6 +74,7 @@ typedef struct MemHeader {
74 uint32_t offset; /* offset for the actual data with in the buffer */ 74 uint32_t offset; /* offset for the actual data with in the buffer */
75 int32_t map_fd; /* mmapped fd */ 75 int32_t map_fd; /* mmapped fd */
76 void * handle; /*custom handle for the HLOS memallocator*/ 76 void * handle; /*custom handle for the HLOS memallocator*/
77 int flags; /*memory attributes*/
77} MemHeader; 78} MemHeader;
78 79
79typedef enum MemoryRegion { 80typedef enum MemoryRegion {
@@ -85,6 +86,13 @@ typedef enum MemoryRegion {
85 MEM_MAX 86 MEM_MAX
86} MemRegion; 87} MemRegion;
87 88
89typedef enum core_type {
90 INVALID_CORE = -1,
91 IPU = 0,
92 DSP = 1,
93 MAX_REMOTEDEVICES
94}core_type;
95
88/* DCE Error Types */ 96/* DCE Error Types */
89typedef enum mem_error_status { 97typedef enum mem_error_status {
90 MEM_EOK = 0, 98 MEM_EOK = 0,