Path: blob/master/arch/xtensa/variants/fsf/include/variant/tie.h
26519 views
/*1* This header file describes this specific Xtensa processor's TIE extensions2* that extend basic Xtensa core functionality. It is customized to this3* Xtensa processor configuration.4*5* This file is subject to the terms and conditions of the GNU General Public6* License. See the file "COPYING" in the main directory of this archive7* for more details.8*9* Copyright (C) 1999-2007 Tensilica Inc.10*/1112#ifndef _XTENSA_CORE_TIE_H13#define _XTENSA_CORE_TIE_H1415#define XCHAL_CP_NUM 0 /* number of coprocessors */16#define XCHAL_CP_MAX 0 /* max CP ID + 1 (0 if none) */17#define XCHAL_CP_MASK 0x00 /* bitmask of all CPs by ID */18#define XCHAL_CP_PORT_MASK 0x00 /* bitmask of only port CPs */1920/* Filler info for unassigned coprocessors, to simplify arrays etc: */21#define XCHAL_NCP_SA_SIZE 022#define XCHAL_NCP_SA_ALIGN 123#define XCHAL_CP0_SA_SIZE 024#define XCHAL_CP0_SA_ALIGN 125#define XCHAL_CP1_SA_SIZE 026#define XCHAL_CP1_SA_ALIGN 127#define XCHAL_CP2_SA_SIZE 028#define XCHAL_CP2_SA_ALIGN 129#define XCHAL_CP3_SA_SIZE 030#define XCHAL_CP3_SA_ALIGN 131#define XCHAL_CP4_SA_SIZE 032#define XCHAL_CP4_SA_ALIGN 133#define XCHAL_CP5_SA_SIZE 034#define XCHAL_CP5_SA_ALIGN 135#define XCHAL_CP6_SA_SIZE 036#define XCHAL_CP6_SA_ALIGN 137#define XCHAL_CP7_SA_SIZE 038#define XCHAL_CP7_SA_ALIGN 13940/* Save area for non-coprocessor optional and custom (TIE) state: */41#define XCHAL_NCP_SA_SIZE 042#define XCHAL_NCP_SA_ALIGN 14344/* Total save area for optional and custom state (NCP + CPn): */45#define XCHAL_TOTAL_SA_SIZE 0 /* with 16-byte align padding */46#define XCHAL_TOTAL_SA_ALIGN 1 /* actual minimum alignment */4748#define XCHAL_NCP_SA_NUM 049#define XCHAL_NCP_SA_LIST(s)50#define XCHAL_CP0_SA_NUM 051#define XCHAL_CP0_SA_LIST(s)52#define XCHAL_CP1_SA_NUM 053#define XCHAL_CP1_SA_LIST(s)54#define XCHAL_CP2_SA_NUM 055#define XCHAL_CP2_SA_LIST(s)56#define XCHAL_CP3_SA_NUM 057#define XCHAL_CP3_SA_LIST(s)58#define XCHAL_CP4_SA_NUM 059#define XCHAL_CP4_SA_LIST(s)60#define XCHAL_CP5_SA_NUM 061#define XCHAL_CP5_SA_LIST(s)62#define XCHAL_CP6_SA_NUM 063#define XCHAL_CP6_SA_LIST(s)64#define XCHAL_CP7_SA_NUM 065#define XCHAL_CP7_SA_LIST(s)6667/* Byte length of instruction from its first nibble (op0 field), per FLIX. */68#define XCHAL_OP0_FORMAT_LENGTHS 3,3,3,3,3,3,3,3,2,2,2,2,2,2,3,36970#endif /*_XTENSA_CORE_TIE_H*/71727374