Defines data types and structures used by PROC component.
============================================================================
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. ============================================================================
#include <gpptypes.h>
#include <linkcfgdefs.h>
Go to the source code of this file.
Data Structures | |||||||||||||||||
struct | PROC_Attrs_tag | ||||||||||||||||
struct | ProcMemMapInfo_tag | ||||||||||||||||
Defines | |||||||||||||||||
#define | IS_VALID_PROCID(id) (id < MAX_DSPS) | ||||||||||||||||
Is the proc ID valid. ============================================================================. | |||||||||||||||||
Enumerations | |||||||||||||||||
PROC_State | |||||||||||||||||
Enumerations to indicate processor states. ============================================================================
| |||||||||||||||||
enum | PROC_State { ProcState_Unknown = 0u, ProcState_Setup = 1u, ProcState_Loaded = 2u, ProcState_Started = 3u, ProcState_Stopped = 4u, ProcState_Idle = 5u, ProcState_Reset = 6u, ProcState_Unavailable = 7u } | ||||||||||||||||
PROC_Attrs | |||||||||||||||||
A placeholder for processor information. ============================================================================
| |||||||||||||||||
#define | PROC_CTRL_CMD_GEN_BASE 0x00000100u | ||||||||||||||||
#define | PROC_CTRL_CMD_GEN_LAST 0x00000200u | ||||||||||||||||
#define | PROC_CTRL_CMD_MAP_DSPMEM (PROC_CTRL_CMD_GEN_BASE + 0x00000001u) | ||||||||||||||||
#define | PROC_CTRL_CMD_UNMAP_DSPMEM (PROC_CTRL_CMD_GEN_BASE + 0x00000002u) | ||||||||||||||||
#define | PROC_CTRL_CMD_MMU_ADD_ENTRY (PROC_CTRL_CMD_GEN_BASE + 0x00000003u) | ||||||||||||||||
#define | PROC_CTRL_CMD_MMU_DEL_ENTRY (PROC_CTRL_CMD_GEN_BASE + 0x00000004u) | ||||||||||||||||
typedef struct PROC_Attrs_tag | PROC_Attrs | ||||||||||||||||
ProcMemMapInfo | |||||||||||||||||
Control information for mapping DSP memory region in GPP's address space. ============================================================================
| |||||||||||||||||
#define | ProcState PROC_State | ||||||||||||||||
#define | ProcAttr PROC_Attrs | ||||||||||||||||
typedef struct ProcMemMapInfo_tag | ProcMemMapInfo |
#define IS_VALID_PROCID | ( | id ) | (id < MAX_DSPS) |
Is the proc ID valid. ============================================================================.
============================================================================
#define PROC_CTRL_CMD_GEN_BASE 0x00000100u |
#define PROC_CTRL_CMD_GEN_LAST 0x00000200u |
#define PROC_CTRL_CMD_MAP_DSPMEM (PROC_CTRL_CMD_GEN_BASE + 0x00000001u) |
#define PROC_CTRL_CMD_UNMAP_DSPMEM (PROC_CTRL_CMD_GEN_BASE + 0x00000002u) |
#define PROC_CTRL_CMD_MMU_ADD_ENTRY (PROC_CTRL_CMD_GEN_BASE + 0x00000003u) |
#define PROC_CTRL_CMD_MMU_DEL_ENTRY (PROC_CTRL_CMD_GEN_BASE + 0x00000004u) |
#define ProcState PROC_State |
============================================================================
============================================================================
#define ProcAttr PROC_Attrs |
============================================================================
============================================================================
typedef struct PROC_Attrs_tag PROC_Attrs |
typedef struct ProcMemMapInfo_tag ProcMemMapInfo |
enum PROC_State |