resource_table_defs.h File Reference

This file defines the identifiers used to populate the resource table used by the RM LLD to divy resources. More...

#include <stdint.h>

Data Structures

struct  Rm_Resource
 Resource Table resource definition structure. More...

Defines

#define RM_RESOURCE_MAGIC_NUMBER   (0x76543210)
#define RM_RESOURCE_FINAL_ENTRY   (0xFFFFFFFF)
#define RM_RESOURCE_QMSS_BASE   0
#define RM_RESOURCE_QMSS_FIRMWARE_PDSP   (RM_RESOURCE_QMSS_BASE+1)
#define RM_RESOURCE_QMSS_QUEUE   (RM_RESOURCE_QMSS_BASE+2)
#define RM_RESOURCE_QMSS_MEMORY_REGION   (RM_RESOURCE_QMSS_BASE+3)
#define RM_RESOURCE_QMSS_LINKING_RAM_CONTROL   (RM_RESOURCE_QMSS_BASE+4)
#define RM_RESOURCE_QMSS_LINKING_RAM   (RM_RESOURCE_QMSS_BASE+5)
#define RM_RESOURCE_QMSS_ACCUMULATOR_CH   (RM_RESOURCE_QMSS_BASE+6)
#define RM_RESOURCE_QMSS_QOS_PDSP_TIMER   (RM_RESOURCE_QMSS_BASE+7)
#define RM_RESOURCE_QMSS_QOS_CLUSTER   (RM_RESOURCE_QMSS_BASE+8)
#define RM_RESOURCE_QMSS_QOS_QUEUE   (RM_RESOURCE_QMSS_BASE+9)
#define RM_RESOURCE_CPPI_BASE   64
#define RM_RESOURCE_CPPI_SRIO_TX_CH   (RM_RESOURCE_CPPI_BASE+1)
#define RM_RESOURCE_CPPI_SRIO_RX_CH   (RM_RESOURCE_CPPI_BASE+2)
#define RM_RESOURCE_CPPI_SRIO_FLOW   (RM_RESOURCE_CPPI_BASE+3)
#define RM_RESOURCE_CPPI_AIF_TX_CH   (RM_RESOURCE_CPPI_BASE+4)
#define RM_RESOURCE_CPPI_AIF_RX_CH   (RM_RESOURCE_CPPI_BASE+5)
#define RM_RESOURCE_CPPI_AIF_FLOW   (RM_RESOURCE_CPPI_BASE+6)
#define RM_RESOURCE_CPPI_FFTC_A_TX_CH   (RM_RESOURCE_CPPI_BASE+7)
#define RM_RESOURCE_CPPI_FFTC_A_RX_CH   (RM_RESOURCE_CPPI_BASE+8)
#define RM_RESOURCE_CPPI_FFTC_A_FLOW   (RM_RESOURCE_CPPI_BASE+9)
#define RM_RESOURCE_CPPI_FFTC_B_TX_CH   (RM_RESOURCE_CPPI_BASE+10)
#define RM_RESOURCE_CPPI_FFTC_B_RX_CH   (RM_RESOURCE_CPPI_BASE+11)
#define RM_RESOURCE_CPPI_FFTC_B_FLOW   (RM_RESOURCE_CPPI_BASE+12)
#define RM_RESOURCE_CPPI_PASS_TX_CH   (RM_RESOURCE_CPPI_BASE+13)
#define RM_RESOURCE_CPPI_PASS_RX_CH   (RM_RESOURCE_CPPI_BASE+14)
#define RM_RESOURCE_CPPI_PASS_FLOW   (RM_RESOURCE_CPPI_BASE+15)
#define RM_RESOURCE_CPPI_QMSS_TX_CH   (RM_RESOURCE_CPPI_BASE+16)
#define RM_RESOURCE_CPPI_QMSS_RX_CH   (RM_RESOURCE_CPPI_BASE+17)
#define RM_RESOURCE_CPPI_QMSS_FLOW   (RM_RESOURCE_CPPI_BASE+18)
#define RM_RESOURCE_CPPI_FFTC_C_TX_CH   (RM_RESOURCE_CPPI_BASE+19)
#define RM_RESOURCE_CPPI_FFTC_C_RX_CH   (RM_RESOURCE_CPPI_BASE+20)
#define RM_RESOURCE_CPPI_FFTC_C_FLOW   (RM_RESOURCE_CPPI_BASE+21)
#define RM_RESOURCE_CPPI_BCP_TX_CH   (RM_RESOURCE_CPPI_BASE+22)
#define RM_RESOURCE_CPPI_BCP_RX_CH   (RM_RESOURCE_CPPI_BASE+23)
#define RM_RESOURCE_CPPI_BCP_FLOW   (RM_RESOURCE_CPPI_BASE+24)
#define RM_RESOURCE_PA_BASE   128
#define RM_RESOURCE_PA_FIRMWARE   (RM_RESOURCE_PA_BASE+1)
#define RM_RESOURCE_PA_LUT_ENTRY   (RM_RESOURCE_PA_BASE+2)
#define RM_RESOURCE_PERM_DENIED   0x0
#define RM_RESOURCE_PERM_ALLOWED   0x1
#define RM_RESOURCE_FLAG_DSP_SHIFT(dspNum, perms)   (((uint32_t) perms) << dspNum)
#define RM_RESOURCE_ALL_DSPS_FULL_PERMS

Detailed Description

This file defines the identifiers used to populate the resource table used by the RM LLD to divy resources.

NOTE: (C) Copyright 2012 Texas Instruments, Inc.

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.


Copyright 2012, Texas Instruments Incorporated