1 /***************************************************************************
2 * Copyright (C) 2011 by Broadcom Corporation *
3 * Evan Hunter - ehunter@broadcom.com *
5 * This program is free software; you can redistribute it and/or modify *
6 * it under the terms of the GNU General Public License as published by *
7 * the Free Software Foundation; either version 2 of the License, or *
8 * (at your option) any later version. *
10 * This program is distributed in the hope that it will be useful, *
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of *
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
13 * GNU General Public License for more details. *
15 * You should have received a copy of the GNU General Public License *
16 * along with this program. If not, see <http://www.gnu.org/licenses/>. *
17 ***************************************************************************/
19 #ifndef OPENOCD_RTOS_RTOS_STANDARD_STACKINGS_H
20 #define OPENOCD_RTOS_RTOS_STANDARD_STACKINGS_H
28 extern const struct rtos_register_stacking rtos_standard_Cortex_M3_stacking
;
29 extern const struct rtos_register_stacking rtos_standard_Cortex_M4F_stacking
;
30 extern const struct rtos_register_stacking rtos_standard_Cortex_M4F_FPU_stacking
;
31 extern const struct rtos_register_stacking rtos_standard_Cortex_R4_stacking
;
32 extern const struct rtos_register_stacking rtos_standard_NDS32_N1068_stacking
;
33 int64_t rtos_generic_stack_align8(struct target
*target
,
34 const uint8_t *stack_data
, const struct rtos_register_stacking
*stacking
,
36 int64_t rtos_Cortex_M_stack_align(struct target
*target
,
37 const uint8_t *stack_data
, const struct rtos_register_stacking
*stacking
,
38 int64_t stack_ptr
, size_t xpsr_offset
);
40 #endif /* OPENOCD_RTOS_RTOS_STANDARD_STACKINGS_H */