1 /* 2 * Copyright (c) 2022 Synopsys. 3 * 4 * SPDX-License-Identifier: Apache-2.0 5 */ 6 7 /** 8 * @file 9 * @brief ARCv2 DSP and AGU structure member offset definition file 10 * 11 */ 12 #ifdef CONFIG_ARC_DSP_SHARING 13 GEN_OFFSET_SYM(_callee_saved_stack_t, dsp_ctrl); 14 GEN_OFFSET_SYM(_callee_saved_stack_t, acc0_glo); 15 GEN_OFFSET_SYM(_callee_saved_stack_t, acc0_ghi); 16 #ifdef CONFIG_ARC_DSP_BFLY_SHARING 17 GEN_OFFSET_SYM(_callee_saved_stack_t, dsp_bfly0); 18 GEN_OFFSET_SYM(_callee_saved_stack_t, dsp_fft_ctrl); 19 #endif 20 #endif 21 #ifdef CONFIG_ARC_AGU_SHARING 22 GEN_OFFSET_SYM(_callee_saved_stack_t, agu_ap0); 23 GEN_OFFSET_SYM(_callee_saved_stack_t, agu_ap1); 24 GEN_OFFSET_SYM(_callee_saved_stack_t, agu_ap2); 25 GEN_OFFSET_SYM(_callee_saved_stack_t, agu_ap3); 26 GEN_OFFSET_SYM(_callee_saved_stack_t, agu_os0); 27 GEN_OFFSET_SYM(_callee_saved_stack_t, agu_os1); 28 GEN_OFFSET_SYM(_callee_saved_stack_t, agu_mod0); 29 GEN_OFFSET_SYM(_callee_saved_stack_t, agu_mod1); 30 GEN_OFFSET_SYM(_callee_saved_stack_t, agu_mod2); 31 GEN_OFFSET_SYM(_callee_saved_stack_t, agu_mod3); 32 #ifdef CONFIG_ARC_AGU_MEDIUM 33 GEN_OFFSET_SYM(_callee_saved_stack_t, agu_ap4); 34 GEN_OFFSET_SYM(_callee_saved_stack_t, agu_ap5); 35 GEN_OFFSET_SYM(_callee_saved_stack_t, agu_ap6); 36 GEN_OFFSET_SYM(_callee_saved_stack_t, agu_ap7); 37 GEN_OFFSET_SYM(_callee_saved_stack_t, agu_os2); 38 GEN_OFFSET_SYM(_callee_saved_stack_t, agu_os3); 39 GEN_OFFSET_SYM(_callee_saved_stack_t, agu_mod4); 40 GEN_OFFSET_SYM(_callee_saved_stack_t, agu_mod5); 41 GEN_OFFSET_SYM(_callee_saved_stack_t, agu_mod6); 42 GEN_OFFSET_SYM(_callee_saved_stack_t, agu_mod7); 43 GEN_OFFSET_SYM(_callee_saved_stack_t, agu_mod8); 44 GEN_OFFSET_SYM(_callee_saved_stack_t, agu_mod9); 45 GEN_OFFSET_SYM(_callee_saved_stack_t, agu_mod10); 46 GEN_OFFSET_SYM(_callee_saved_stack_t, agu_mod11); 47 #endif 48 #ifdef CONFIG_ARC_AGU_LARGE 49 GEN_OFFSET_SYM(_callee_saved_stack_t, agu_ap8); 50 GEN_OFFSET_SYM(_callee_saved_stack_t, agu_ap9); 51 GEN_OFFSET_SYM(_callee_saved_stack_t, agu_ap10); 52 GEN_OFFSET_SYM(_callee_saved_stack_t, agu_ap11); 53 GEN_OFFSET_SYM(_callee_saved_stack_t, agu_os4); 54 GEN_OFFSET_SYM(_callee_saved_stack_t, agu_os5); 55 GEN_OFFSET_SYM(_callee_saved_stack_t, agu_os6); 56 GEN_OFFSET_SYM(_callee_saved_stack_t, agu_os7); 57 GEN_OFFSET_SYM(_callee_saved_stack_t, agu_mod12); 58 GEN_OFFSET_SYM(_callee_saved_stack_t, agu_mod13); 59 GEN_OFFSET_SYM(_callee_saved_stack_t, agu_mod14); 60 GEN_OFFSET_SYM(_callee_saved_stack_t, agu_mod15); 61 GEN_OFFSET_SYM(_callee_saved_stack_t, agu_mod16); 62 GEN_OFFSET_SYM(_callee_saved_stack_t, agu_mod17); 63 GEN_OFFSET_SYM(_callee_saved_stack_t, agu_mod18); 64 GEN_OFFSET_SYM(_callee_saved_stack_t, agu_mod19); 65 GEN_OFFSET_SYM(_callee_saved_stack_t, agu_mod20); 66 GEN_OFFSET_SYM(_callee_saved_stack_t, agu_mod21); 67 GEN_OFFSET_SYM(_callee_saved_stack_t, agu_mod22); 68 GEN_OFFSET_SYM(_callee_saved_stack_t, agu_mod23); 69 #endif 70 #endif 71