openocd: remove CamelCase symbols *xPSR*
[fw/openocd] / src / rtos / rtos_standard_stackings.c
index fe890413fa1f5eec48cb52f2cb6de8cae62e12d5..059bfc5b401434614b33b7060239b60ffbddb7e5 100644 (file)
@@ -1,19 +1,8 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
+
 /***************************************************************************
  *   Copyright (C) 2011 by Broadcom Corporation                            *
  *   Evan Hunter - ehunter@broadcom.com                                    *
- *                                                                         *
- *   This program is free software; you can redistribute it and/or modify  *
- *   it under the terms of the GNU General Public License as published by  *
- *   the Free Software Foundation; either version 2 of the License, or     *
- *   (at your option) any later version.                                   *
- *                                                                         *
- *   This program is distributed in the hope that it will be useful,       *
- *   but WITHOUT ANY WARRANTY; without even the implied warranty of        *
- *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the         *
- *   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, see <http://www.gnu.org/licenses/>. *
  ***************************************************************************/
 
 #ifdef HAVE_CONFIG_H
@@ -40,7 +29,7 @@ static const struct stack_register_offset rtos_standard_cortex_m3_stack_offsets[
        { ARMV7M_R13,  -2,   32 },              /* sp   */
        { ARMV7M_R14,  0x34, 32 },              /* lr   */
        { ARMV7M_PC,   0x38, 32 },              /* pc   */
-       { ARMV7M_xPSR, 0x3c, 32 },              /* xPSR */
+       { ARMV7M_XPSR, 0x3c, 32 },              /* xPSR */
 };
 
 static const struct stack_register_offset rtos_standard_cortex_m4f_stack_offsets[] = {
@@ -60,7 +49,7 @@ static const struct stack_register_offset rtos_standard_cortex_m4f_stack_offsets
        { ARMV7M_R13,  -2,   32 },              /* sp   */
        { ARMV7M_R14,  0x38, 32 },              /* lr   */
        { ARMV7M_PC,   0x3c, 32 },              /* pc   */
-       { ARMV7M_xPSR, 0x40, 32 },              /* xPSR */
+       { ARMV7M_XPSR, 0x40, 32 },              /* xPSR */
 };
 
 static const struct stack_register_offset rtos_standard_cortex_m4f_fpu_stack_offsets[] = {
@@ -80,7 +69,7 @@ static const struct stack_register_offset rtos_standard_cortex_m4f_fpu_stack_off
        { ARMV7M_R13,  -2,   32 },              /* sp   */
        { ARMV7M_R14,  0x78, 32 },              /* lr   */
        { ARMV7M_PC,   0x7c, 32 },              /* pc   */
-       { ARMV7M_xPSR, 0x80, 32 },              /* xPSR */
+       { ARMV7M_XPSR, 0x80, 32 },              /* xPSR */
 };