2018-06-27 15:11:33 +02:00
|
|
|
#------------------------------------------------------------------------------
|
2009-08-19 16:02:07 +02:00
|
|
|
#
|
|
|
|
# CpuBreakpoint() for ARM
|
|
|
|
#
|
2018-06-27 15:11:33 +02:00
|
|
|
# Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.<BR>
|
2010-04-23 18:00:47 +02:00
|
|
|
# Portions copyright (c) 2008 - 2009, Apple Inc. All rights reserved.<BR>
|
2019-04-04 01:06:00 +02:00
|
|
|
# SPDX-License-Identifier: BSD-2-Clause-Patent
|
2009-08-19 16:02:07 +02:00
|
|
|
#
|
|
|
|
#------------------------------------------------------------------------------
|
|
|
|
|
|
|
|
.text
|
2009-08-20 09:24:59 +02:00
|
|
|
.p2align 2
|
2011-02-01 06:01:35 +01:00
|
|
|
GCC_ASM_EXPORT(CpuBreakpoint)
|
2009-08-19 16:02:07 +02: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 15:11:33 +02:00
|
|
|
swi 0xdbdbdb
|
2009-08-19 16:02:07 +02:00
|
|
|
bx lr
|