![]() |
![]() |
RM service response information used by RM to provide service request results back to the application components. More...
#include <rm_services.h>
Data Fields | |
Rm_Handle | rmHandle |
int32_t | serviceState |
uint32_t | serviceId |
char | resourceName [RM_NAME_MAX_CHARS] |
int32_t | resourceBase |
uint32_t | resourceLength |
int32_t | resourceNumOwners |
int32_t | instAllocCount |
RM service response information used by RM to provide service request results back to the application components.
Number of times the requesting instance has allocated the returned resource. This value is only valid if the serviceState is RM_SERVICE_APPROVED or RM_SERVICE_APPROVED_STATIC
int32_t Rm_ServiceRespInfo::resourceBase |
The resource base value allocated, freed, or mapped to NameServer name.
uint32_t Rm_ServiceRespInfo::resourceLength |
The resource length starting at base allocated, freed, or mapped to NameServer name.
Affected resource name
Current number of owners for the returned resource. A value greater than one means the resource is being shared. This value is only valid if the serviceState is RM_SERVICE_APPROVED or RM_SERVICE_APPROVED_STATIC.
RM instance handle from which the service request that spawned this result originated. Used by application to sort responses, received via callback function, from RM instances located on the same core.
uint32_t Rm_ServiceRespInfo::serviceId |
The service ID is returned to the application in order to match service responses received at a later time via the provided callback function because RM required a blocking operation in order to satisfy the resource request.
The service ID will never have a value of zero.
int32_t Rm_ServiceRespInfo::serviceState |
Service request state. State values can be found in rm.h starting with RM_SERVICE_PROCESSING, RM_SERVICE_DENIED_BASE, and RM_ERROR_LIBFDT_START