]> git.proxmox.com Git - mirror_edk2.git/blob - MdePkg/Library/BaseLib/Arm/CpuBreakpoint.asm
MdePkg: Replace BSD License with BSD+Patent License
[mirror_edk2.git] / MdePkg / Library / BaseLib / Arm / CpuBreakpoint.asm
1 ;------------------------------------------------------------------------------
2 ;
3 ; CpuBreakpoint() for ARM
4 ;
5 ; Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.<BR>
6 ; Portions copyright (c) 2008 - 2009, Apple Inc. All rights reserved.<BR>
7 ; SPDX-License-Identifier: BSD-2-Clause-Patent
8 ;
9 ;------------------------------------------------------------------------------
10
11 EXPORT CpuBreakpoint
12
13 ; Force ARM mode for this section, as MSFT assembler defaults to THUMB
14 AREA Cpu_Breakpoint, CODE, READONLY, ARM
15
16 ARM
17
18 ;/**
19 ; Generates a breakpoint on the CPU.
20 ;
21 ; Generates a breakpoint on the CPU. The breakpoint must be implemented such
22 ; that code can resume normal execution after the breakpoint.
23 ;
24 ;**/
25 ;VOID
26 ;EFIAPI
27 ;CpuBreakpoint (
28 ; VOID
29 ; );
30 ;
31 CpuBreakpoint
32 swi 0xdbdbdb
33 bx lr
34
35 END