X-Git-Url: https://review.openocd.org/gitweb?a=blobdiff_plain;f=src%2Frtos%2Frtos_chibios_stackings.c;h=3651c49a98a3ed782b7463a4fbeef7e1d826b5be;hb=293fb9b25faf8c89a9d06d73b83526b86d4c14d8;hp=ed485616d3ba16401a82ba38e24446a95be9ddd8;hpb=f83e1dc13fb79957dcb7de668628bf9e0762a2c1;p=openocd.git diff --git a/src/rtos/rtos_chibios_stackings.c b/src/rtos/rtos_chibios_stackings.c index ed485616d3..3651c49a98 100644 --- a/src/rtos/rtos_chibios_stackings.c +++ b/src/rtos/rtos_chibios_stackings.c @@ -16,9 +16,7 @@ * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; if not, write to the * - * Free Software Foundation, Inc., * - * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. * + * along with this program. If not, see . * ***************************************************************************/ #ifdef HAVE_CONFIG_H @@ -52,7 +50,7 @@ const struct rtos_register_stacking rtos_chibios_arm_v7m_stacking = { 0x24, /* stack_registers_size */ -1, /* stack_growth_direction */ ARMV7M_NUM_CORE_REGS, /* num_output_registers */ - 0, /* stack_alignment */ + NULL, /* stack_alignment */ rtos_chibios_arm_v7m_stack_offsets /* register_offsets */ }; @@ -80,6 +78,6 @@ const struct rtos_register_stacking rtos_chibios_arm_v7m_stacking_w_fpu = { 0x64, /* stack_registers_size */ -1, /* stack_growth_direction */ ARMV7M_NUM_CORE_REGS, /* num_output_registers */ - 0, /* stack_alignment */ + NULL, /* stack_alignment */ rtos_chibios_arm_v7m_stack_offsets_w_fpu /* register_offsets */ };