index ad7373c9160c20d066172846f6f79c738f94949e..fad2f91c8cc8b9e7ef9e91a327ba7642e6336852 100644 (file)
/* Resource allocator operations */
typedef enum {
- /* Allocate operation */
- Rm_allocatorOp_ALLOCATE = 0,
+ /* Allocate init operation */
+ Rm_allocatorOp_ALLOCATE_INIT = 0,
+ /* Allocate use operation */
+ Rm_allocatorOp_ALLOCATE_USE,
/* Free operation */
Rm_allocatorOp_FREE,
- /* Preallocate based on Policy DTB information operation */
- Rm_allocatorOp_PRE_ALLOCATE
+ /* Preallocate to use based on Policy DTB information operation */
+ Rm_allocatorOp_PRE_ALLOCATE_INIT,
+ /* Preallocate to init based on Policy DTB information operation */
+ Rm_allocatorOp_PRE_ALLOCATE_USE
} Rm_AllocatorOp;
/* Allocator operation configuration structure */
Rm_PolicyValidInstNode *serviceSrcInstNode;
/* Allocator operation type */
Rm_AllocatorOp operation;
- /* Specifies the type of allocation
- * a) Allocate to initialize
- * b) Allocate to use */
- uint32_t allocType;
/* Resources for which the allocator operation will affect */
Rm_ResourceInfo *resourceInfo;
} Rm_AllocatorOpInfo;