2018-06-27 21:11:33 +08:00
|
|
|
#------------------------------------------------------------------------------
|
2009-08-19 22:02:07 +08:00
|
|
|
#
|
|
|
|
# CpuBreakpoint() for ARM
|
|
|
|
#
|
2018-06-27 21:11:33 +08:00
|
|
|
# Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.<BR>
|
2010-04-24 00:00:47 +08:00
|
|
|
# Portions copyright (c) 2008 - 2009, Apple Inc. All rights reserved.<BR>
|
2019-04-04 07:06:00 +08:00
|
|
|
# SPDX-License-Identifier: BSD-2-Clause-Patent
|
2009-08-19 22:02:07 +08:00
|
|
|
#
|
|
|
|
#------------------------------------------------------------------------------
|
|
|
|
|
|
|
|
.text
|
2009-08-20 15:24:59 +08:00
|
|
|
.p2align 2
|
2011-02-01 13:01:35 +08:00
|
|
|
GCC_ASM_EXPORT(CpuBreakpoint)
|
2009-08-19 22:02:07 +08:00
|
|
|
|
|
|
|
#/**
|
|
|
|
# Generates a breakpoint on the CPU.
|
|
|
|
#
|
|
|
|
# Generates a breakpoint on the CPU. The breakpoint must be implemented such
|
|
|
|
# that code can resume normal execution after the breakpoint.
|
|
|
|
#
|
|
|
|
#**/
|
|
|
|
#VOID
|
|
|
|
#EFIAPI
|
|
|
|
#CpuBreakpoint (
|
|
|
|
# VOID
|
|
|
|
# );
|
|
|
|
#
|
|
|
|
ASM_PFX(CpuBreakpoint):
|
2018-06-27 21:11:33 +08:00
|
|
|
swi 0xdbdbdb
|
2009-08-19 22:02:07 +08:00
|
|
|
bx lr
|