]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdePkg/Library/BaseLib/Arm/CpuBreakpoint.asm
MdePkg: Clean up source files
[mirror_edk2.git] / MdePkg / Library / BaseLib / Arm / CpuBreakpoint.asm
index 5bf47145158440ae98ff75f5c370d8c2e8f8e922..5969d0622642c138299aeb4e83399df37bde51ec 100644 (file)
@@ -1,13 +1,13 @@
-;------------------------------------------------------------------------------ \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
@@ -34,5 +37,5 @@
 CpuBreakpoint\r
     swi   0xdbdbdb\r
     bx    lr\r
-    \r
+\r
   END\r