1 #------------------------------------------------------------------------------
3 # CpuBreakpoint() for AArch64
5 # Copyright (c) 2006 - 2009, Intel Corporation. All rights reserved.<BR>
6 # Portions copyright (c) 2008 - 2009, Apple Inc. All rights reserved.<BR>
7 # Portions copyright (c) 2011 - 2013, ARM Ltd. All rights reserved.<BR>
8 # SPDX-License-Identifier: BSD-2-Clause-Patent
10 #------------------------------------------------------------------------------
14 GCC_ASM_EXPORT(CpuBreakpoint)
17 # Generates a breakpoint on the CPU.
19 # Generates a breakpoint on the CPU. The breakpoint must be implemented such
20 # that code can resume normal execution after the breakpoint.
29 ASM_PFX(CpuBreakpoint):
30 svc 0xdbdb // Superviser exception. Takes 16bit arg -> Armv7 had 'swi' here.