![]() |
![]() |
This is the RM include file for services provided to components that register a RM instance. More...
#include <ti/drv/rm/rm.h>
This is the RM include file for services provided to components that register a RM instance.
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
Neither the name of Texas Instruments Incorporated nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#define RM_INST_ALLOC_COUNT_INVALID (-1) |
instAllocCount is not valid unless >= 0
#define RM_RESOURCE_ALIGNMENT_UNSPECIFIED (-1) |
Informs RM to find the next available resource block with length resourceLength and the alignment specified in a) The resource node in the policy if it has the "allocation-alignment" property defined. b) The default alignment of 1 if no alignment is specified in the policy for the resource. This value is only valid if resourceBase is set to RM_RESOURCE_BASE_UNSPECIFIED
#define RM_RESOURCE_BASE_UNSPECIFIED (-1) |
Informs RM to find the next available resource block of length resourceLength and alignment resourceAlignment for allocation. This parameter is only valid for resource allocate service types.
#define RM_RESOURCE_NUM_OWNERS_INVALID (-1) |
resourceNumOwners is not valid unless >= 0