-;------------------------------------------------------------------------------ \r
+;------------------------------------------------------------------------------\r
;\r
; CpuBreakpoint() for ARM\r
;\r
-; Copyright (c) 2006 - 2009, Intel Corporation. All rights reserved.<BR>\r
+; Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.<BR>\r
; Portions copyright (c) 2008 - 2009, Apple Inc. All rights reserved.<BR>\r
; This program and the accompanying materials\r
; are licensed and made available under the terms and conditions of the BSD License\r
; which accompanies this distribution. The full text of the license may be found at\r
-; http://opensource.org/licenses/bsd-license.php\r
+; http://opensource.org/licenses/bsd-license.php.\r
;\r
; THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
; WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
\r
EXPORT CpuBreakpoint\r
\r
- AREA Cpu_Breakpoint, CODE, READONLY\r
+; Force ARM mode for this section, as MSFT assembler defaults to THUMB\r
+ AREA Cpu_Breakpoint, CODE, READONLY, ARM\r
+\r
+ ARM\r
\r
;/**\r
; Generates a breakpoint on the CPU.\r
CpuBreakpoint\r
swi 0xdbdbdb\r
bx lr\r
- \r
+\r
END\r